
Santiago Pineda Botero · Zenodo (CERN European Organization for Nuclear Research) 2026 · 2026
DOI: 10.5281/zenodo.24794698
Counts differ because each database indexes a different set of publications. We treat OpenAlex as the canonical count; Google Scholar is not shown (no API, and crawling it violates its ToS).
Preprint v1.0.0, not peer reviewed. Spanish body with English abstract. Code and data: https://github.com/spinedab/mcp-metadata-validation Model Context Protocol (MCP) servers describe their tools to the client with free text (name, description and a JSON Schema of inputs) that ends up in the language model's context. Published work shows that instructions hidden in that text ("tool poisoning") can steer an agent, and that most of the MCP clients evaluated in one 2026 study did not statically validate tool descriptions. This paper describes and measures a deterministic gateway that runs outside the model, before tool definitions reach its context: (i) SHA-256 pinning of the approved name, description, input schema and annotations, which blocks any later change to those fields, and (ii) heuristic static inspection of the description and of selected string fields of the input schema. The validator's hash was registered before any test data was seen. On 98 real tool definitions transcribed from nine public MCP servers, pinning blocked 98 of 98 one-character changes to the description and 86 of 86 changes to a parameter description; the static rules blocked 2 of 98 benign tools (2.0 %) and flagged 71 more for review, so 73 of 98 (74.5 %) were not allowed outright; every review came from style rules (schema strictness and text length), the first of which turned out to measure how the schema was generated rather than risk. Median cost was 0.38 ms per tool. On the external MCPTox benchmark (485 poisoned tool descriptions, 45 real servers), the unchanged validator blocked 172 (35.5 %), against 3 of 362 authentic tools from the same servers (0.8 %); detection fell to 13.3 % for the template whose descriptions tell the model to alter the parameters of another, legitimate tool. Both layers had already been proposed in the literature; the contribution is an open implementation, a false-positive baseline on real tools, its cost, an external detection measurement, and a design rule: pin first, inspect second, keep style rules as warnings; against tools malicious from the start only inspection and human approval act.
arXiv (Cornell University) 2014 · 2014 · 8145 citations90% match
2016 · 5389 citations90% match
arXiv (Cornell University) 2017 · 2017 · 4803 citations90% match
OASIcs : OpenAccess Series in Informatics 2025 · 2025 · 4742 citations90% match
2016 · 3971 citations90% match
2017 · 3530 citations90% match
2018 · 3031 citations90% match
No comments yet — start the discussion below.
arXiv (Cornell University) 2016 · 2016 · 3010 citations90% match
IEEE Transactions on Pattern Analysis and Machine Intelligence 2018 · 2018 · 2870 citations90% match
2017 · 2741 citations90% match