# Tool schema: definition and example

URL: https://mcpservercybersecurity.com/glossary/tool-schema/
Updated: 2026-11-16

A tool schema is the JSON Schema in a tool definition, called inputSchema, that declares the arguments a tool accepts and their types. Clients show it to the model and servers validate calls against it. A strict schema limits unexpected fields, and a hostile schema is itself untrusted input.

## Example

The Inspector's 2.14.0 release notes say server-supplied schema patterns are now checked in bounded time with a linear-time matcher and per-pattern limits, and that a pattern beyond the limits is reported as unverified.

## Sources

- [MCP Inspector 2.14.0 release notes](https://github.com/modelcontextprotocol/inspector/releases/tag/2.14.0) (github.com), read 2026-11-16

## Related pages

- [Tool description](/glossary/tool-description/)
- [Tool annotations](/glossary/tool-annotations/)
- [Command injection](/glossary/command-injection/)
- [How to Review an MCP Server for Security: Code and Tools](/guides/how-to-review-an-mcp-server-security/)
- [Securing a TypeScript MCP Server: Input, Binding and Tokens](/guides/securing-a-typescript-mcp-server/)
- [All glossary terms](/glossary/)
- [Tool shadowing](/glossary/tool-shadowing/)
- [Guides](/guides/)
