Skip to main content
Glama

Zorqelio — Data Reliability for AI Agents

contract_validate

Validate incoming JSON against a stored, versioned data contract. Detects missing, changed, or invalid upstream data before an AI agent uses it. Returns machine-readable pass/fail and evidence.

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": {
      "contractId": "<contractId>",
      "accessToken": "<accessToken>",
      "json": "<json>"
    },
    "name": "contract_validate"
  }
}

Input Schema

NameRequiredDescriptionDefault
jsonYesJSON document encoded as text.
versionNoVersion number of the resource.
contractIdYesUnique identifier of the contract.
accessTokenYesSecret access token issued for this contract.
operationIdNoStable unique request identifier. Reuse it only for an exact retry.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / accessToken / description
      Added value: +"Secret access token issued for this contract."
    • addedInput schema / properties / contractId / description
      Added value: +"Unique identifier of the contract."
    • addedInput schema / properties / json / description
      Added value: +"JSON document encoded as text."
    • addedInput schema / properties / operationId / description
      Added value: +"Stable unique request identifier. Reuse it only for an exact retry."
    • addedInput schema / properties / version / description
      Added value: +"Version number of the resource."
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false and idempotentHint=false, which is counterintuitive for a validation call, and the description does nothing to explain why validation is non-read-only or non-idempotent (e.g., that evidence is persisted). It does add value by specifying the return shape ('machine-readable pass/fail and evidence'), which no output schema provides.

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?

Three tight sentences, front-loaded with the core action and followed by the risk it mitigates and its return contract. No filler and nothing redundant with the schema.

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?

With no output schema, the description correctly compensates by stating what comes back (pass/fail plus evidence). Parameters and auth are covered by the schema; only the reason for the non-idempotent, non-read-only annotations and any failure-mode behavior remain unaddressed.

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 coverage is 100%, so every parameter is already documented in the schema, making 3 the baseline. The description adds only contextual framing ('stored, versioned') that hints at contractId and version without explaining retry semantics for operationId or version-pinning behavior.

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 and resource ('Validate incoming JSON against a stored, versioned data contract') plus the failure mode it targets (missing, changed, or invalid upstream data). It is clear on its own but never names how it differs from the closely related sibling json_schema_validate or contract_compare, leaving differentiation to inference.

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?

The phrase 'before an AI agent uses it' implies the intended moment of use (a pre-consumption gate) but there is no explicit when-not guidance, no stated prerequisites (contract must already exist and be published), and no alternatives named. Usage is implied rather than prescribed.

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