Skip to main content
Glama

contracts_jsonschema_validate

Idempotent

Validate data using a bounded JSON Schema 2020-12 subset. PAID: 300 micro-dollar service credits per successful call. First use agent_utilities_prepare for this tool. Requires existing credits and a private Authorization header. Reuse prepared arguments for recovery; a new requestId is a new billable operation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputYes
requestIdYesPersist the ID returned by agent_utilities_prepare. Reuse after uncertainty.
maxPriceMicroUsdYesExplicit maximum new debit; 0 means recovery only.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopeYes
validYes
issuesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Adds behavioral context far beyond the annotations: paid credits per call, need for existing credits and a private Authorization header, and the billing implication of a new requestId. Also warns that the JSON Schema support is a bounded subset. Nothing contradicts the idempotentHint or destructiveHint annotations.

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

Conciseness5/5

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

Five short, high-signal sentences. Purpose is first, followed by cost, prerequisite, and recovery. No filler or repetition of schema content.

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?

Covers the essential operational context: cost, auth, preparation, and idempotent recovery. An output schema exists, so return-value details are not required. Missing nuance about what the bounded subset includes or how 'input' should be assembled is the main gap.

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?

The description reinforces requestId and maxPriceMicroUsd semantics via 'new requestId is a new billable operation' and the PAID credit cost, adding value over the schema. However, the 'input' object with nested 'schema' and 'data' is not described, and the exact boundaries of the 'bounded JSON Schema 2020-12 subset' are left undefined. Schema coverage is only 67%, so the description only partially compensates.

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 ('Validate'), resource ('data using a bounded JSON Schema 2020-12 subset'), and puts a clear limit on scope with 'bounded subset.' It doesn't explicitly name sibling alternatives, so it doesn't fully earn a 5, but the core purpose is unmistakable.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit prerequisite guidance ('First use agent_utilities_prepare') and recovery strategy ('Reuse prepared arguments for recovery; a new requestId is a new billable operation'). It clearly establishes when to call this tool in sequence, though it does not mention alternative validation tools or when not to use it.

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