json_schema_validate
Validate JSON data against JSON Schema (Draft 7).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | JSON document text | |
| schema | Yes | JSON Schema (Draft 7) | |
| max_errors | No |
Validate JSON data against JSON Schema (Draft 7).
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | JSON document text | |
| schema | Yes | JSON Schema (Draft 7) | |
| max_errors | No |
Changes observed during successful MCP inspections. Dates show when Glama detected each change.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description bears full responsibility for behavioral disclosure. It only mentions 'validate' but does not describe side effects, error behavior, or return format. This is insufficient for a tool with no safety annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single concise sentence that efficiently states the core purpose. It is front-loaded and contains no fluff, though it could be slightly more structured (e.g., adding a note on return values).
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool is simple but has no output schema, and the description fails to mention what the validation returns (e.g., a boolean, error list). Given the context of 3 parameters and no output schema, the description is incomplete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description adds no value beyond the input schema, which already describes the 'data' and 'schema' parameters. With 67% schema coverage (3 parameters, 2 described), the description should compensate but does not mention any parameters or their usage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool validates JSON data against JSON Schema (Draft 7), using a specific verb and resource. It distinguishes from siblings like json_validate (syntax only) and json_schema_infer (infers schema, not validates).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies the validation use case but provides no explicit guidance on when to use this tool versus alternatives like json_validate or json_schema_validate_batch. No when-not or alternative names are given.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.
Every tool has a clear, distinct purpose with thorough descriptions. Even closely related tools like base64_decode/encode and hash_md5/sha256 are easily differentiated by name and description.
All tools follow a consistent lowercase_underscore naming convention, typically in a <domain>_<action> or <action>_<domain> pattern. There are no jarring deviations or mixed styles.
193 tools is an extreme count, far beyond what any focused server needs. While each tool has utility, the sheer number creates a kitchen-sink effect that overwhelms agents and hinders discoverability.
Within each subdomain (JSON, cron, JWT, etc.), the coverage is exhaustive, covering validation, conversion, parsing, and more. Minor gaps exist (e.g., YAML-to-TOML conversion missing), but overall it is remarkably complete.