Skip to main content
Glama

data.schema-validate

Read-onlyIdempotent

Validate JSON data against a bounded JSON Schema Draft 2020-12 contract for nested objects, arrays, required properties, types, enums, formats, lengths, patterns, and numeric bounds; return deterministic instance and schema JSON Pointers, explicit error truncation, input hashes, and no remote reference resolution.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
schemaYesJSON Schema Draft 2020-12 document; only local fragment references are allowed
instanceYesJSON-compatible value to validate
max_errorsNo
check_formatsNoAssert supported JSON Schema formats as well as structural keywords

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesStructured JSON Schema validation result
metaYes
serviceYes
versionYes
request_idYesUnique request identifier

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already provide read-only, idempotent, non-destructive hints. The description adds valuable context beyond annotations: deterministic JSON Pointers, explicit error truncation, input hashes, and no remote reference resolution. These details align with and enrich the annotation profile, making the tool's behavior transparent.

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 dense sentence that front-loads the core purpose and then lists specific behaviors. It is informative without excessive verbosity, though it could be slightly more structured (e.g., splitting into two sentences) to improve readability. Every clause contributes value, so it earns a high score.

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?

Given the tool's moderate complexity (4 params, output schema present, nested objects), the description covers essential aspects: purpose, constraints (bounded, no remote refs), and return characteristics (pointers, truncation, hashes). The presence of an output schema relieves the description from detailing return types, and it provides enough context for an AI agent to use the tool correctly.

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?

With high schema description coverage (75%), the baseline is 3. The description does not add parameter-specific meaning; it focuses on overall behavior. The schema already describes `schema` and `check_formats` well, but `instance` and `max_errors` rely on types and defaults, which the description does not elaborate on. It neither compensates for gaps nor adds extra insight.

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?

The description clearly states a specific action ('Validate') with a well-defined resource ('JSON data') and scope ('bounded JSON Schema Draft 2020-12 contract'), and it enumerates supported keywords. It differentiates from sibling tools like data.schema by focusing on validation rather than schema definition or other data operations.

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?

The description implies when to use it (validating JSON against a schema) and hints at limitations ('bounded', 'no remote reference resolution'), but it does not explicitly mention alternative tools or when not to use it. The guidance is primarily inferable from the capabilities listed rather than direct comparison with siblings.

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.

TDQS

A3.8/5.0
Disambiguation4/5

Tools are grouped into clear domain prefixes (crypto, data, developer, document, research, web) and each tool name describes a specific function; however, a few umbrella tools like web.full-audit and data.contract overlap with their more targeted counterparts, creating minor ambiguity.

Naming Consistency5/5

All tool names follow a consistent pattern: a domain prefix, a dot, and a hyphenated lowercase compound name (e.g., crypto.base-block-inspect, web.seo-audit). This makes naming predictable and easy to scan.

Tool Count1/5

At 63 tools, the surface area is very large and exceeds the 50+ threshold for extreme mismatch. While the tools are organized into six domains, the sheer number makes it difficult for an agent to select efficiently, and some tools are bundled combinations of others.

Completeness5/5

Each domain offers a thorough set of operations: crypto covers address, account, block, contract, events, gas, and transaction inspection; data covers cleaning, conversion, schema, and validation; developer covers code review, dependency/license audits, and test generation; research covers SEC, OFAC, GLEIF, and USAspending; web covers extraction, SEO, security, and performance. No obvious dead ends exist for the read-only/inspection purpose.

Resources