Skip to main content
Glama

Agent Rest Stop

SchemaGate

Validate JSON keys and types. Send a schema of key to type name and the payload to check.

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": {
      "schema": "<schema>",
      "payload": "<payload>"
    },
    "name": "SchemaGate"
  }
}

Input Schema

NameRequiredDescriptionDefault
schemaYes
payloadYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior2/5

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

Annotations are empty, so the description carries the full behavioral burden and mostly drops it. It never says what a failed validation looks like (error thrown vs. returned result), whether all failures are reported or only the first, whether validation is strict about extra keys, or whether nested structures are traversed — all critical for a validator with no output schema.

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 short sentences with the purpose front-loaded and no filler. The second sentence is grammatically awkward ('a schema of key to type name'), trading a little clarity for brevity.

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 two-parameter, no-annotation, no-output-schema utility, the definition covers the core idea but leaves both the accepted input formats and the shape of the validation result unexplained. An agent can probably invoke it, but it cannot predict or interpret the outcome with confidence.

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 description coverage is 0% and both parameters are declared only as bare strings, so the description must compensate. 'Send a schema of key to type name' usefully signals that the schema param is a key-to-type mapping rather than a full JSON Schema document, but it leaves the encoding ambiguous (JSON-encoded string? serialized how?), says nothing about nested keys or allowed type names, and labels the second param only as 'the payload to check'.

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 and resource: 'Validate JSON keys and types'. An agent can tell this is a schema/type checker rather than a generator or linter, and no sibling name in the supplied list overlaps this purpose. It stops short of naming any adjacent tool it might be confused with, so it stays at 4.

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?

The description gives no when-to-use context, no prerequisites, and no when-not conditions. It implies validation is the job but never says whether this is for validating request payloads before a write, for debugging, or for test fixtures, nor what to use instead for related tasks.

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