Skip to main content
Glama

Prepare an OTC deposit

otc_accept
Read-onlyIdempotent

Read an actual deal and prepare the named buyer/seller deposit. Requires the termsHash from a recent deal_status. Exact token approvals; no key/sign/send. Never infers a dealId.

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": {
      "dealId": "<dealId>",
      "actor": "<actor>",
      "expectedTermsHash": "<expectedTermsHash>"
    },
    "name": "otc_accept"
  }
}

Input Schema

NameRequiredDescriptionDefault
actorYes
chainNo
dealIdYes
dryRunNo
payoutNo
expectedTermsHashYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description is consistent with them rather than contradicting: 'no key/sign/send' clarifies it stops at preparation and never broadcasts. It adds genuinely useful detail beyond annotations — exact (not infinite) token approvals, and that a dealId must always be supplied explicitly. What it omits is what the caller receives back.

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?

Four short clauses, front-loaded with the action, then the prerequisite, then the safety guarantees. No filler sentences and nothing repeated from structured fields.

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

Completeness3/5

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

For a prepare-style tool with no output schema, the agent still doesn't know what is produced (approval payloads? a transaction object?) or how to proceed to sign/send. Combined with 0% parameter documentation, the definition is adequate on intent but incomplete on contract.

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

Parameters2/5

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

Schema description coverage is 0% across six parameters, so the description must carry the burden and largely does not. It adds meaning only for expectedTermsHash (its source is deal_status) and dealId (must be explicit, never inferred); actor, payout, dryRun, and chain are left entirely undefined in both schema and prose.

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 names a specific verb+resource: 'Read an actual deal and prepare the named buyer/seller deposit.' It also implicitly separates itself from deal_status by stating that it consumes a termsHash produced there. It does not explicitly contrast with the other OTC siblings (otc_quote, otc_create), so it falls just short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

A prerequisite is stated clearly ('Requires the termsHash from a recent deal_status'), which tells the agent this must follow a status read. However, there is no explicit statement of when to use this vs otc_quote/otc_create, nor any exclusion or failure-mode guidance beyond 'Never infers a dealId.'

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.