Skip to main content
Glama

Zorqelio — Data Reliability for AI Agents

json_schema_validate

Validate a JSON document against a supplied JSON Schema and return actionable validation errors.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "json": "<json>",
      "schema": "<schema>"
    },
    "name": "json_schema_validate"
  }
}

Input Schema

NameRequiredDescriptionDefault
jsonYes
schemaYes
operationIdNo
workspaceTokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden, and it does disclose one important trait: the output is 'actionable validation errors'. It does not state that validation is side-effect free, whether workspaceToken authorization is required, or any limits on document size, leaving meaningful gaps for a mutation-free but authenticated operation.

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; every clause ('validate', 'against a supplied schema', 'actionable errors') carries information. It is efficient but undifferentiated in structure, with no explicit delineation between inputs and outcomes.

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 four parameters at 0% schema description coverage, no annotations, and no output schema, the definition is too thin. An agent knows what the tool does in the abstract but not what operationId or workspaceToken are for, nor what a validation result looks like beyond 'errors'.

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 coverage is 0%, so the description must compensate for four undocumented parameters, and it only clarifies two indirectly: that 'schema' is an inline supplied JSON Schema and 'json' is the document under test. The operationId and workspaceToken parameters are given no meaning anywhere in the definition.

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?

The description names a specific verb and resource pair ('Validate a JSON document') plus the second operand ('against a supplied JSON Schema'), so the operation is unambiguous. It does not name or distinguish itself from siblings like contract_validate, which plausibly validates against a stored contract rather than an inline schema, so it stops short of a 5.

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?

There is no when-to-use, when-not-to-use, or alternative-tool guidance. An agent gets an implied context from 'against a supplied JSON Schema' but must infer for itself when this is preferable to contract_validate or the data_quality_check family.

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