Skip to main content
Glama

Confirm the buyer's code and get the crypto quote

confirm_crypto_payment
Idempotent

The six-digit code mailed to the human buyer's inbox: ask the person for it; it is never sent to you. Answers with the quote (coin, network, exact amount, address, 20 minutes to send) or the hold and who must act. If the quote expires before a payment arrives, call request_new_quote.

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": {
      "order_token": "<order_token>",
      "code": "<code>"
    },
    "name": "confirm_crypto_payment"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYes
order_tokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations only declare a non-read-only, idempotent, non-destructive, closed-world call. The description adds substantive context beyond that: the code is human-sourced and must never be self-supplied, the quote carries a 20-minute send window, and an unsuccessful attempt yields a hold naming who must act. It does not say what happens on a wrong or expired code (error vs. hold), which would complete the picture.

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?

Front-loaded with the critical constraint (the code comes from the human, not the agent), then the success payload, then the fallback path. The telegraphic style is efficient, though "or the hold and who must act" is compressed enough to be slightly ambiguous.

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?

With no output schema, the description does cover return values (quote fields or hold) and the expiry path, which is the biggest risk for a confirmation tool. However, the unexplained `order_token`, the absence of any wrong-code/lockout behavior, and no linkage to sibling steps (start_crypto_payment, check_coverage) leave gaps for a security-sensitive confirmation call.

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 0%, so the description must carry both parameters. It thoroughly characterizes `code` (six digits, delivered to the buyer's inbox, agent must ask for it) but never mentions `order_token` at all — where it comes from, whether it is reusable across retries. Partial compensation for a documented-gap schema.

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

Purpose3/5

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

The description centers on the code parameter ("The six-digit code mailed to the human buyer's inbox") rather than stating the action plainly; the agent must infer from the name/title that this submits the buyer's code to confirm the order and obtain the quote. The response shape (coin, network, amount, address, 20 minutes) does help identify the resource, but no explicit verb-phrase such as "confirms the order and returns the quote" appears.

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?

It gives concrete operational guidance: ask the human for the code, it is never sent to the agent. It also routes the agent to a sibling explicitly ("If the quote expires before a payment arrives, call request_new_quote"). No guidance distinguishes it from start_crypto_payment or check_coverage, so it stops short of a full when/when-not map.

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