Skip to main content
Glama

Check swap status

get_swap_status
Read-only

Check the progress of a swap by swapId: awaiting_deposit, confirming, exchanging, sending, completed, refunded, failed or expired.

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": {
      "swapId": "<swapId>"
    },
    "name": "get_swap_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
swapIdYesswapId returned by create_swap.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds value by enumerating possible statuses, which is useful for interpreting results, but it does not explain refresh behavior, eventual consistency, authentication needs, or what the returned object contains.

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?

The definition is a single front-loaded sentence that states the action, the key input, and the possible status outcomes. Every part earns its place, and the status enumeration is compact enough to be useful without bloating the description.

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 simple one-parameter read-only status tool, the description is mostly complete: it names the input and lists possible status values, compensating partly for the missing output schema. It stops short of describing the response shape or polling semantics, so it is not fully comprehensive.

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 100%, and the schema already explains that swapId is returned by create_swap. The description restates that the lookup is by swapId but adds no format, validation, or usage detail beyond the structured field.

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 uses a clear verb and resource: checking the progress of a swap by swapId. It is easy to distinguish from create_swap, get_quote, list_assets, and validate_address by name, though it does not explicitly mention alternatives or scope boundaries.

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 implied by 'check the progress' and the schema note that swapId comes from create_swap, so an agent can infer this is for polling an existing swap. However, the description gives no explicit when-to-use guidance, no exclusions, and no advice on polling frequency or alternatives.

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