Skip to main content
Glama

Paid JSON contract validation

paid_json_contract_check

Validate structured JSON against the supported deterministic JSON Schema subset and return exact error pointers. Native x402 payment. Example: {input:{value:{price:25},schema:{type:'object',required:['price'],properties:{price:{type:'number'}}}}}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputNoJSON value/text plus schema. Example: {value:{price:25},schema:{type:'object',required:['price'],properties:{price:{type:'number'}}}}

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnlyHint false, idempotentHint false), and the description adds meaningful context beyond them: it discloses the native x402 payment requirement (explaining why it is not a plain read), the limitation to a 'deterministic JSON Schema subset', and that errors come back as exact pointers. It does not state the payment amount or failure modes, but the added context is substantive.

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?

Front-loaded with purpose and payment mode, followed by a compact example. The example is somewhat redundant with the schema description but serves as an inline usage cue, so the length is defensible.

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?

With a nested input object and no output schema, the description does cover the key return behavior (error pointers) and the payment model. However it omits payment amount/flow details and the boundaries of the 'supported subset', leaving gaps for a paid validation tool.

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% and the schema's own 'input' description already contains the same value/schema example the description repeats. With the structured field doing the work and the prose adding no new parameter semantics, the baseline of 3 is appropriate.

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 states a specific verb+resource: validate structured JSON against a JSON Schema subset and return error pointers. It is clearly distinct from the sibling payment/discovery tools, though it does not explicitly name a sibling to contrast against.

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 statement of when to use this tool versus alternatives, nor any prerequisites or exclusions. The only hint is 'Native x402 payment', which implies a paid call but does not guide selection.

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