Skip to main content
Glama

Zorqelio — Data Reliability for AI Agents

contract_history

Retrieve recent validation decisions and failure evidence for a private contract. Stores only validation metadata, not customer payloads; the latest 100 events per contract are retained.

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>"
    },
    "name": "contract_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of results to return.
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. Changed4 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 / limit / description
      Added value: +"Maximum number of results to return."
    • addedInput schema / properties / operationId / description
      Added value: +"Stable unique request identifier. Reuse it only for an exact retry."
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=false and openWorldHint=false, so the description's real value is the disclosure that only validation metadata is stored (no customer payloads) and that only the latest 100 events per contract are retained — a hard retention cap that directly affects what a caller can expect. It does not explain the access-token authorization flow or what happens to older events, and it sits in mild tension with readOnlyHint=false since 'Retrieve' reads as a pure read.

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, with the core retrieval purpose front-loaded and the privacy/retention caveat following immediately. Every clause carries information an agent can act on.

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 gives enough of a return picture ('validation decisions and failure evidence') plus the retention bound to set expectations, which is appropriate for a simple 4-parameter history read. The main residual gap is ordering and whether results are paginated or simply truncated at the retention cap.

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%, so contractId, accessToken, operationId, and limit are already documented in the schema. The description adds useful meaning for limit by explaining the 100-event retention window that motivates the maximum of 100, but says nothing extra about the retry semantics of operationId or the token's scope.

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 and resource: 'Retrieve recent validation decisions and failure evidence for a private contract', which clearly distinguishes it from mutation siblings like contract_validate or contract_publish. It does not explicitly contrast with contract_get or the other *_history tools, so an agent must infer the boundary from the noun 'validation decisions'.

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?

The description explains what the tool returns but never says when to choose it over contract_get, contract_validate, or handoff_history/quality_policy_history. There are no stated prerequisites, exclusions, or alternative-routing hints beyond the implicit 'look at past validations' reading.

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