Skip to main content
Glama

UK Data for Agents

json_validate

Parse JSON and validate against a simple JSON Schema (type, required, properties, items, enum, min/max, pattern). (cost: 1 credit)

Input Schema

NameRequiredDescriptionDefault
jsonNostring or object, required
schemaNoobject

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses the supported schema keyword subset (type, required, properties, items, enum, min/max, pattern) and a cost of 1 credit, which is real behavioral context. However it never says what happens on invalid JSON, whether failures raise errors or return a validity result, or what the response contains.

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 compact sentence with the core action front-loaded and the cost note appended. Nothing is redundant, though the keyword list is dense and could have been separated for scanability.

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

Completeness3/5

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

For a validation tool with no output schema and no annotations, the description should explain the shape of a validation result (valid flag vs. error list). It covers input-side scope well but leaves the output contract and failure behavior unspecified.

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 the baseline is 3. The description adds some meaning by clarifying that the schema argument is a 'simple JSON Schema' restricted to specific keywords, but it does not resolve the schema's own inconsistency (both params typed as string with vague descriptions like 'object').

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 pair (parse and validate) and the resource being validated (JSON against a JSON Schema), which is unambiguous. No sibling tool in the list does anything similar, so no differentiation is required.

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

Usage Guidelines3/5

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

There is no explicit when-to-use or when-not-to-use guidance, but the parenthetical keyword list implicitly scopes the tool to 'simple' schemas and signals that unsupported constructs are out of scope. An agent can infer usage but must guess at edge cases.

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