Skip to main content
Glama

Deposit swap status

get_deposit_status
Read-only

Where a swap paid by deposit stands, by the swapId create_deposit_swap gave: PENDING_DEPOSIT, KNOWN_DEPOSIT_TX, PROCESSING, SUCCESS (payoutTxs paid toAddress), INCOMPLETE_DEPOSIT, REFUNDED or FAILED, with the transactions on both sides and what was paid out. final is true once nothing changes any more. Ask again every 30 seconds or so while it is not final. No API key needed.

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_deposit_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
swapIdYesThe swapId create_deposit_swap gave

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior2/5

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

Annotations provide readOnlyHint=true and openWorldHint=true, so the safety profile is already covered, and the description adds useful detail (final flag semantics, polling cadence, 'No API key needed'). However, it never discloses the consequence of an unknown or foreign swapId (error vs empty result), which is the main behavioral unknown for a lookup keyed on an opaque ID.

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 what is returned, then status values, then the final flag, then polling cadence, then auth. Dense but every clause carries information; the only cost is a long single sentence that could use breaking up.

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?

No output schema exists, so the description carries the return-value burden and covers status values, both-side transactions, payout targets and the final flag well. The gap is failure behavior for an invalid or unknown swapId.

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?

One parameter at 100% schema coverage, so the baseline is 3; the description adds provenance meaning by stating the swapId must be the one create_deposit_swap returned, which is genuinely beyond the schema's 'The swapId create_deposit_swap gave' phrasing in terms of guiding acquisition.

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?

Specific verb and resource (deposit swap status) plus an explicit tie to the originating call: 'by the swapId create_deposit_swap gave'. This distinguishes it from get_trade_status and the other status-style siblings by naming the identifier's source.

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?

Gives clear operational guidance: call it with the swapId from create_deposit_swap and re-poll 'every 30 seconds or so while it is not final'. It does not explicitly rule out alternatives (e.g. get_trade_status), but the usage context is unambiguous.

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.