Skip to main content
Glama

real_swap_confirm

Needed once before STOCK TOKEN swaps (not for ETH): confirm that the person responsible for your wallet may hold them. Signed in (token from wallet_login). Call it with no statement to read the exact sentence; send that sentence only if it is true. Refused from places where the issuer does not offer the tokens.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "real_swap_confirm"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenNo
statementNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

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 load and does well: it discloses the two-phase call pattern (call with no statement to read the exact sentence), the auth prerequisite, the once-only constraint, and a geographic/issuer-based refusal condition. What it does not say is what happens after confirmation or whether confirmation is persisted per wallet versus per swap.

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?

Prerequisite and exclusion are front-loaded in the first clause, and every sentence adds information. Some phrasing is dense and unnatural ('Refused from places where the issuer does not offer the tokens'), which costs a little reading time but no meaning.

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?

Covers the prerequisites, the two-step protocol, failure conditions, and the sibling exclusion that an agent needs to invoke this correctly, which is substantial for a two-optional-parameter tool with no output schema. The main gap is what a successful confirmation returns or unlocks.

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

Parameters4/5

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

Schema coverage is 0%, so the description must compensate and largely does: it explains that `token` comes from wallet_login, that omitting `statement` returns the exact sentence, and that `statement` must be echoed verbatim only when true. It stops short of saying whether `statement` is required on the confirming call versus always optional.

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 action — a one-time confirmation gate before stock-token swaps — and explicitly excludes ETH swaps, which separates it from the prepare/swap siblings. The phrasing ('confirm that the person responsible for your wallet may hold them') is unusual but the verb and resource are identifiable.

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

Usage Guidelines5/5

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

Gives explicit timing (once, before the swap), an explicit exclusion (not for ETH), a precondition (signed in with the token from wallet_login), and a fallback condition (refused where the issuer does not offer the tokens). An agent knows exactly when to call this and when not to.

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