Skip to main content
Glama

AgentEscrow – Double-Blind Escrow for AI Agent Transactions

get_contract_deliverable

Retrieves the vaulted Seller deliverable payload (plus parsed_json and SHA-256 digest) for a settled PASSED_RELEASED contract. Enforces double-blind dual custody: requires HMAC-SHA256 signed headers from the contract Buyer and never discloses payloads for FAILED_REFUNDED or unsettled contracts.

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_deliverable"
  }
}

Input Schema

NameRequiredDescriptionDefault
contract_idYesContract ID such as ESC-1001.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden and does so: it discloses the custody model (double-blind dual custody), the authentication requirement (HMAC-SHA256 signed headers from the contract Buyer), the refusal conditions for FAILED_REFUNDED and unsettled contracts, and the return contents including digest. Auth prerequisites and denial behavior are exactly the traits an agent cannot infer from the schema.

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 purpose and what is returned, followed by the access constraints. Every clause earns its place by adding an auth or eligibility fact not present in the schema.

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?

No output schema exists, but the description names the return contents (payload, parsed_json, SHA-256 digest) so the agent knows what comes back. Combined with the eligibility and signing requirements, nothing needed to decide whether and how to call it is missing.

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 single contract_id parameter is already documented with an example format in the schema. The description adds only the state precondition the ID must satisfy (settled PASSED_RELEASED), which is a marginal addition, so the baseline 3 applies.

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 (Retrieves) and a precisely scoped resource: the vaulted Seller deliverable payload with parsed_json and SHA-256 digest, restricted to settled PASSED_RELEASED contracts. This is clearly distinguishable from siblings like get_contract_details (metadata) or submit_deliverable (write path).

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 an explicit precondition (contract must be settled and PASSED_RELEASED) and an explicit exclusion (never for FAILED_REFUNDED or unsettled contracts), which tells the agent when not to call it. It does not name an alternative tool for the excluded cases, so the routing half of the guidance is left 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