Skip to main content
Glama

HTTP 301 moved-permanently

validate-json

Check whether a body is valid JSON. The body is discarded.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoHTTPS URL to normalize or cite
hostNoPublic hostname
jsonNoJSON text to validate; discarded after the check
zoneNoIANA timezone name

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

C2.4/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries full burden. It does disclose that the input is discarded, which is helpful, but it does not explain what happens on valid vs invalid JSON (return type), nor does it resolve the mismatch between 'body' and the 'json' parameter. The unrelated parameters suggest possible side effects or alternative modes that are not described.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, front-loaded sentence with no wasted words. It is concise, though brevity comes at the cost of necessary detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema, no annotations, and a schema with four unrelated parameters, the description is severely incomplete. It fails to explain the purpose of url, host, and zone, the return format, or how to invoke it correctly. An agent would be uncertain whether to provide a 'json' parameter or a 'body' as hinted.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema descriptions cover 100% of parameters and already explain 'json' as 'JSON text to validate', so the description adds no new parameter meaning. Worse, the description's 'body' does not map to any parameter, and the presence of url, host, and zone is unexplained, leaving the agent unsure which parameter to pass.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a clear action (check if valid JSON) and that the body is discarded, but the term 'body' is ambiguous against the schema's 'json' parameter. The presence of unrelated parameters (url, host, zone) further muddies what the tool actually does, making it less distinct.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is given on when to use this tool versus any sibling, nor any exclusions. The agent must infer that it is for JSON validation, but there is no explicit context or alternative routing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.