Skip to main content
Glama

Zorqelio — Data Reliability for AI Agents

contract_compare

Compare two immutable versions of a private data contract and report added, removed, and changed schema paths. Useful for reviewing upstream API contract changes before publishing or upgrading an agent.

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>",
      "fromVersion": "<fromVersion>",
      "toVersion": "<toVersion>"
    },
    "name": "contract_compare"
  }
}

Input Schema

NameRequiredDescriptionDefault
toVersionYesLater contract schema version to compare.
contractIdYesUnique identifier of the contract.
accessTokenYesSecret access token issued for this contract.
fromVersionYesEarlier contract schema version to compare.
operationIdNoStable unique request identifier. Reuse it only for an exact retry.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / fromVersion / description
      Added value: +"Earlier contract schema version to compare."
    • addedInput schema / properties / toVersion / description
      Added value: +"Later contract schema version to compare."
  2. Changed2 schema fields changed
    • removedInput schema / properties / fromVersion / description
      Removed value: -"Value for the fromVersion parameter of the contract_compare tool; follow its schema constraints."
    • removedInput schema / properties / toVersion / description
      Removed value: -"Value for the toVersion parameter of the contract_compare tool; follow its schema constraints."
  3. 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 / fromVersion / description
      Added value: +"Value for the fromVersion parameter of the contract_compare tool; follow its schema constraints."
    • addedInput schema / properties / operationId / description
      Added value: +"Stable unique request identifier. Reuse it only for an exact retry."
    • addedInput schema / properties / toVersion / description
      Added value: +"Value for the toVersion parameter of the contract_compare tool; follow its schema constraints."
  4. First observed

TDQS

A3.8/5.0
Behavior3/5

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

The word "immutable" usefully signals that the compared versions cannot be altered by the call, and the description implies a non-mutating report. However, the annotations declare readOnlyHint=false and idempotentHint=false, and the description does nothing to explain what the non-read-only aspect is, nor does it mention auth/scope requirements or retry behavior even though an accessToken and operationId exist. It adds some context beyond annotations but leaves a real behavioral gap unaddressed.

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?

Two sentences, zero filler: the operation and its output are stated first, then the use case. Nothing needs to be trimmed.

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?

For a 5-parameter tool with no output schema, the description communicates the result shape (added/removed/changed paths) and the review workflow, and the schema fully documents each parameter. It is slightly thin on failure modes and on why the operation is flagged non-read-only, but an agent has enough to call it correctly.

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%, with per-parameter descriptions covering fromVersion/toVersion ordering, the token, and operationId retry semantics, so the baseline is 3. The description adds nothing parameter-level (no ordering constraint, no note that the token is contract-scoped) and only elaborates on the returned diff categories.

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 gives a specific verb and resource ("Compare two immutable versions of a private data contract") plus the output shape ("added, removed, and changed schema paths"), which is far more precise than a generic diff. It never names or contrasts a sibling such as json_diff or contract_validate, so an agent must infer why this tool is preferable to a generic diff for contract data.

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?

"Useful for reviewing upstream API contract changes before publishing or upgrading an agent" supplies a concrete usage context and timing. It stops short of exclusions or explicit alternatives (e.g., use contract_validate for conformance, json_diff for non-contract JSON), leaving the routing decision partly implicit.

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