post_json_validate
Validate JSON text and return parsing details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |
Validate JSON text and return parsing details.
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are present, so the description must carry the full behavioral disclosure burden. It says 'return parsing details' but does not specify what happens for valid versus invalid JSON, whether errors are thrown or returned, or what the parsing details include. This is a meaningful gap for a validation tool.
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 sentence with no filler, gets straight to the point, and is easy to parse. It is appropriately concise for a tool with a single parameter and no nested schemas.
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 has no annotations and no output schema, so the description needed to explain the return contract. 'Parsing details' is too vague: an agent cannot predict the exact response shape, how invalid JSON is signaled, or whether validation results include error positions. The description is adequate for basic selection but not complete for reliable invocation.
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 schema defines a single required 'text' string with no description, and the tool description only adds that it is JSON text. This confirms the parameter's role but does not provide additional detail such as size limits, whether empty strings are allowed, or whether the text must be a complete JSON document.
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 a specific action ('Validate JSON text') and the expected outcome ('return parsing details'). It is also naturally distinguished from sibling JSON tools like post_json_minify, post_json_pretty, and post_json_repair, since validation is semantically different from formatting or repairing.
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?
No guidance is provided about when to use this tool versus alternatives such as post_json_repair or post_json_pretty. The description does not state whether this tool should be used as a precursor to other JSON operations or what conditions would make a different sibling a better choice.
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.