Skip to main content
Glama

json.validate

json.validate

Validates a JSON object payload and returns deterministic shape metadata.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
payloadYesJSON payload to inspect.
schema_nameNoOptional schema label for the validation request.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It implies a read-only, deterministic operation (no mutation), but says nothing about what happens on an invalid payload (error vs. findings), whether it requires a known schema_name, or what the 'shape metadata' contains. That is a significant disclosure 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.

Conciseness4/5

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

A single front-loaded sentence with no filler or waste. It is efficient, though brevity here borders on under-specification rather than tightness.

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?

With no annotations, no output schema, and no explanation of failure behavior or the structure of the returned shape metadata, the definition leaves key questions unanswered for a tool whose entire job is producing validation results.

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

Parameters3/5

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

Schema description coverage is 100%, so both parameters are already documented in the schema, and the baseline is 3. The description adds nothing about how schema_name affects validation or whether it is required for meaningful output.

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

Purpose4/5

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

States a specific verb (validates) and resource (JSON object payload) and hints at the return value ('deterministic shape metadata'). Sibling tools (catalog, reply.draft, summarize, zones.lookup) are unrelated domains, so no differentiation is needed, but the description never clarifies what the payload is validated against or what 'shape metadata' means.

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?

Gives no when-to-use guidance, no prerequisites, and no alternatives or exclusions. An agent cannot infer from the text whether this is a pre-flight check before other tools or a standalone inspection utility.

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.

Resources