Skip to main content
Glama

swap_status

Check a swap's status: view the payout transaction after a claim, or see the stablecoin deposit received so far and the next step to take.

Instructions

Status of a swap_create or swap_to_btc_create swap (read-only): the payout tx once claimed; for a swap from a stablecoin, the deposit seen so far and what to do next

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": "swap_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations present, the description does real work: it declares the operation read-only and explains that the returned payload varies by swap type (payout tx once claimed vs. deposit observed so far for stablecoin swaps). It stops short of covering error behavior for an unknown id or whether status is immediately consistent after a claim.

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?

One dense sentence, front-loaded with the core purpose and with the read-only qualifier early. The parenthetical/semicolon clause is slightly run-on but every clause carries information, including the stablecoin-specific behavior.

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 one-parameter status tool with no output schema and no annotations, the description partially describes return values, which is valuable. It still leaves gaps on what a still-pending or failed swap looks like and how the id maps to a prior call's output, so it is adequate rather than complete.

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% for the single required 'id' parameter, so the description must compensate. It implies the id is a swap identifier produced by swap_create/swap_to_btc_create, which is meaningful, but it gives no format, source-field, or validation detail.

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 concrete verb and resource ('Status of a ... swap') and scopes it to swaps produced by two named siblings, swap_create and swap_to_btc_create. An agent can tell this apart from escrow_status and from the creation tools without opening any schema.

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?

Usage is only implied: you call it to check progress on a swap you already created. There is no explicit when-to-use/when-not-to-use statement and no naming of alternatives (e.g., escrow_status) for non-swap flows. The conditional hint about stablecoin swaps ('the deposit seen so far and what to do next') is the only guidance offered.

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