Skip to main content
Glama

AgentEscrow – Double-Blind Escrow for AI Agent Transactions

get_contract_details

Fetches status, timeout deadline, Stage 1 checks, Stage 2 rubric scorecard, and audit log for a single contract ID. Deliverable payloads are withheld here; authenticated Buyers retrieve paid payloads via get_contract_deliverable.

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": {
      "contract_id": "<contract_id>"
    },
    "name": "get_contract_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
contract_idYesContract ID such as ESC-1001.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the exact returned data categories, states that deliverable payloads are withheld, and notes that authenticated Buyers must use a different tool for paid payloads. It does not discuss rate limits or failure modes, but the core behavior is transparent.

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, front-loaded with the returned data and immediately followed by the key exclusion and alternative. Every sentence earns its place.

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

Completeness5/5

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

Although there is no output schema, the description compensates by enumerating the returned fields and explicitly stating what is withheld. It also notes the authentication requirement for the alternative payload tool, making the definition complete for an agent 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% and the schema already documents contract_id with an example format (ESC-1001). The description adds only 'for a single contract ID', which is marginal beyond the schema. Baseline 3 is appropriate when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Fetches') and resource (contract details for a single contract ID), and enumerates exactly what is returned: status, timeout deadline, Stage 1 checks, Stage 2 rubric scorecard, and audit log. It explicitly distinguishes itself from the sibling get_contract_deliverable by noting payloads are withheld here.

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?

Clearly indicates this is for a single contract ID and routes the agent to get_contract_deliverable when paid deliverable payloads are needed. It does not explicitly address when to use list_contracts versus this tool for discovery, but the main alternative for payload retrieval is named.

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