Skip to main content
Glama

escrow_accept

Signs the escrow terms with this agent's key after verifying the terms hash, address and arbiter key locally. Both parties must accept before the buyer funds.

Instructions

Accept the deal terms: verifies termsHash, the escrow address and the arbiter key locally, then signs termsHash with this agent's key (terms v2: the signature also covers the release rule, arbiter mode and deadline). Required from both parties before funding. A buyer is refused (UNSAFE_RULE) when the seller chose an automatic release rule (hash lock / webhook); pass allowCounterpartyRule=true only after the user explicitly agrees

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": {
      "id": "<id>"
    },
    "name": "escrow_accept"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
allowCounterpartyRuleNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/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 that verification happens locally, that the signature is produced with this agent's key and covers the release rule, arbiter mode and deadline, and that a buyer is refused with UNSAFE_RULE when the seller set an automatic release rule. It omits idempotency, whether the acceptance is stored/visible to the counterparty, and any failure modes other than UNSAFE_RULE.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Dense but front-loaded: the action, the verification/signing chain, the workflow placement, then the safety caveat, all in three sentences. The parenthetical on terms v2 is justified detail; nothing is padding, though the phrasing is tightly packed for a single paragraph.

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 two-parameter mutation with no annotations and no output schema, the description covers mechanics, the pre-funding prerequisite, and the critical refusal/override behaviour. Missing only the meaning of id and the return/response behaviour, which keeps it short of complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and the schema is bare (id: string, allowCounterpartyRule: boolean), so the description must compensate. It fully explains allowCounterpartyRule as an override of the UNSAFE_RULE refusal, gated on explicit user consent — meaning no schema field conveys. The id parameter is not described, which is the one remaining gap.

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 (accept) plus the exact mechanics: local verification of termsHash, escrow address and arbiter key, then signing termsHash with the agent's key, including what the v2 signature covers. An agent knows precisely what the call does, though it does not explicitly contrast with near-neighbours like escrow_approve.

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?

Places the call in the workflow ('required from both parties before funding') and gives an explicit conditional rule for the optional flag: pass allowCounterpartyRule=true only after the user explicitly agrees. It gives no guidance on ordering versus escrow_approve or what to do if the counterparty has not yet accepted, so usage is clear but not exhaustive.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.