Skip to main content
Glama
Tanod MCP Server

Tanod MCP Server

Official

validate_json

Read-onlyIdempotent

Validates a JSON instance against a JSON Schema and returns whether it conforms, with detailed error paths and messages for fixing invalid data.

Instructions

utilpeek: Validate JSON against a JSON Schema. To pull JSON out of prose use extract_json_with_schema; to convert formats use convert_data. Returns whether a JSON value is valid against a JSON Schema (draft from $schema, default 2020-12; 2019-09, 7, 6, 4 and 3 recognised), with up to 100 errors (instance path, schema path, message, validator) and the formats checked. Remote $ref documents are refused (422 remote_ref_forbidden), never fetched. Input: Instance and schema together: at most 1 MB. An invalid schema is a 422 invalid_schema. Parsed in an isolated, resource-limited child process without network; input over its limits is a 422 (not charged). Typically under 0.5 s. Price: USD 0.001. Free: 10 utilpeek calls per IP per UTC day. The submitted text is never logged or stored. Docs: https://tanod.dev/learn/json-schema-validation-api.html

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": {
      "instance": "<instance>",
      "schema": "<schema>"
    },
    "name": "validate_json"
  }
}

Input Schema

NameRequiredDescriptionDefault
schemaYesJSON Schema (draft from $schema; default 2020-12). Remote $ref documents are refused, never fetched.
instanceYesAny JSON value to validate.

Output Schema

NameRequiredDescriptionDefault
noteNo
draftNo
errorNoOnly on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object.
validNo
errorsNo
sourceNo
truncatedNo
error_countNo
formats_checkedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.4

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/non-destructive annotations, the description discloses remote $ref refusal (422 remote_ref_forbidden, never fetched), a 1 MB combined input cap, isolated network-less child-process execution, typical latency under 0.5 s, pricing, and a free-tier quota per IP per UTC day. It also notes the input is never logged or stored, which is meaningful for an agent sending potentially sensitive payloads.

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?

Purpose and sibling routing are front-loaded, followed by behavior, limits, then pricing. It is dense and slightly run-on in the error/limit passage, but nearly every clause carries operational information an agent needs rather than filler.

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

Completeness5/5

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

For a validation tool with an output schema already describing results, the description supplies everything else an agent would need: failure modes (422 invalid_schema, remote_ref_forbidden, uncharged over-limit), error volume cap of 100, validator details returned, and cost/quota. Nothing material is missing.

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

Parameters4/5

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

Schema coverage is 100%, so both parameters are already documented, but the description adds real meaning: draft is inferred from $schema with default 2020-12 and a list of recognised drafts, plus the 1 MB combined size constraint that the schema cannot express. The remote-$ref refusal for the schema parameter is also reinforced in the text.

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

Purpose5/5

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

States a specific verb and resource ('Validate JSON against a JSON Schema') and immediately differentiates itself from two siblings by naming them with their distinct purposes. An agent can distinguish this from extract_json_with_schema and convert_data without opening any schema.

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

Usage Guidelines5/5

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

Explicitly routes the agent: 'To pull JSON out of prose use extract_json_with_schema; to convert formats use convert_data,' then states the condition selecting this tool. Boundaries against the most confusable alternatives are given directly in the definition.

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

Deploy Server

Other Tools