Skip to main content
Glama

Json schema design check — Atom

JSON schema design check

json_schema_design_check
Read-onlyIdempotent

Submits a JSON schema design record (schema-first boundary, canonical form and number care, versioning, parsing safety and encoding, streaming operations and red lines) and returns a deterministic JSON_SCHEMA_DESIGN_SOUND / JSON_SCHEMA_DESIGN_NOT_SOUND / INSUFFICIENT_EVIDENCE verdict across five sections, including computed per-payload schema, version and canonical-coverage checks, with per-check evidence. Audits the declared record; it parses no live payloads.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "json_schema_design_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
schemaNoSchema-first and boundary evidence.
parsingNoParsing safety and encoding evidence.
artifactNoArtifact or interface the schema design covers.
payloadsNoDeclared payloads: {name, has_schema, has_sample, has_version_field, money_and_bigint_fields_as_strings, is_hashed_or_signed, canonical_rules_documented}.
canonicalNoCanonical form and number care evidence.
red_linesNoRed-line evidence.
versioningNoVersioning evidence.
streaming_opsNoStreaming operations evidence.
writer_readerNoWriter/reader contract evidence.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds real value beyond that: a deterministic three-way verdict enum (SOUND / NOT_SOUND / INSUFFICIENT_EVIDENCE), per-section results, computed checks, and per-check evidence. The determinism and evidence-per-check claims are behavioral traits not derivable from the annotations.

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?

Two sentences, front-loaded with the action and followed by the output contract. The long parenthetical of domains is dense but each item corresponds to a distinct input section, so it earns its space. Slightly heavy noun-stacking costs it the top mark.

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

Completeness4/5

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

No output schema exists, so the description carries the burden of describing returns, and it does so well: the verdict taxonomy, the five-section breakdown, and the presence of per-check evidence. For a nine-parameter, nested, all-optional tool, the remaining gap is that it never says how partial records are treated beyond the INSUFFICIENT_EVIDENCE verdict label.

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 all nine nested fields are already documented in the schema, and the baseline is 3. The description's parenthetical list of sections loosely maps to the nested objects (schema, canonical, versioning, parsing, streaming_ops, red_lines) and explicitly names per-payload checks against has_schema/has_version_field/canonical_rules_documented. That is a modest hint but does not supply field-level semantics the schema lacks.

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 (submits/audits) and a specific resource (a JSON schema design record), and enumerates the five domains the record covers. The closing clause 'Audits the declared record; it parses no live payloads' draws a clear boundary that an agent can act on. It falls short of 5 only because no sibling alternative is named for contrast.

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?

Usage is implied: you call this when you have a declared schema-design record to audit, and it explicitly does not touch live payloads. There is no explicit when-to-use versus alternative statement, and no guidance on prerequisites such as the record being complete before submission. The context is recoverable but not spelled out.

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.