Skip to main content
Glama

Validate, normalise and mechanically repair a payload against a declared JSON-Schema subset (PAID $0.02)

v1_data_validate

Validates, normalises and mechanically repairs a JSON payload against a declared schema subset, with optional coercion, strict mode and as-of dating for consistent, spec-conformant data.

Instructions

Validate, normalise and mechanically repair a payload against a declared JSON-Schema subset (PAID $0.02)

Remote route: POST /v1/data/validate (0.02 USD x402/base/usdc on eip155:8453).

Input Schema

NameRequiredDescriptionDefault
as_ofNo
coerceNo
repairNo
schemaNo
strictNo
payloadNo

Output Schema

NameRequiredDescriptionDefault
statusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false and destructiveHint=false, so the safety profile is carried structurally. The description adds genuinely useful context the annotations lack: the call is paid (0.02 USD via x402/base/usdc on eip155:8453) and the specific route. However, it says nothing about what 'repair' actually mutates, whether repairs are lossy or reported back, or what errors to expect, which matters for a non-idempotent mutating call.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The relevant content is short and front-loaded, but the first sentence is a verbatim restatement of the title, so the definition spends its opening line duplicating structured metadata. The pricing sentence is dense but earns its place.

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

Completeness2/5

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

An output schema exists, so return values need not be explained, and annotations cover the safety profile. Yet for a six-parameter, non-idempotent, paid tool, the description leaves the mode-flag semantics and error/repair behaviour entirely undocumented, which is not enough for the agent to invoke it correctly.

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?

Six parameters with 0% schema description coverage – only bare titles like 'strict', 'coerce', 'repair' and 'as_of'. The description gestures at the concepts ('normalise' ~ coerce, 'repair' ~ repair, 'declared JSON-Schema subset' ~ schema) but explains none of the flag semantics or how they interact, so the agent must guess at the most decision-relevant parameters.

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 set (validate, normalise, repair) against a specific resource (a payload, against a declared JSON-Schema subset), which is far more informative than a bare name. It does not, however, distinguish this tool from plausible siblings such as v1_utils_schema_cleanup or v1_payment_envelope_validate, leaving overlap for the agent to resolve.

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 choose this tool over alternatives, no description of the conditions under which repair/coerce modes are appropriate, and no prerequisites or exclusions. The 'Remote route: POST /v1/data/validate' line is transport metadata, not usage guidance.

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