Skip to main content
Glama

swap_claim

Claim a paid swap's stablecoins to the preset address and return payoutTx; optionally wait for Satora funding. Repeat calls are safe and never fund a swap.

Instructions

Claim a paid swap's stablecoins to the address set at create and return payoutTx, or a swap from a stablecoin's Ark payout (safe to repeat; never pays anything). wait=true: first wait (up to 15 min) until Satora funds its side. Never funds a swap from a stablecoin: use swap_fund for that

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

Input Schema

NameRequiredDescriptionDefault
idYes
waitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/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 burden and does substantial work: it discloses idempotency ('safe to repeat; never pays anything'), the latency profile of wait=true (up to 15 min waiting for Satora to fund its side), and the return value payoutTx. It omits authorization requirements and failure/error behavior, which prevents a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core claim-and-idempotency statement is front-loaded, but the second clause is compressed into near-unreadability and the alternation between 'or' branches is ambiguous. It is short, but a couple of the sentences do not cleanly earn their place as written.

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 two-parameter mutation tool with no annotations and no output schema, the description covers the important behavioral traits (idempotency, waiting, return value, address fixed at create). It still leaves gaps around what 'id' refers to, what happens on a failed claim, and whether any preconditions must be verified first.

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 compensate. It fully explains the optional wait flag and its timeout semantics, but the required 'id' parameter is only implied ('a paid swap's') rather than stated as the swap identifier, leaving some inference to the agent.

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 gives a specific verb and resource ('Claim a paid swap's stablecoins') and names the payout artifact (payoutTx), which distinguishes it from sibling tools. The middle clause about 'a swap from a stablecoin's Ark payout' is grammatically muddled and makes the second capability harder to parse, keeping it below a 5.

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 explicitly states the primary precondition (the swap must be paid, with the destination address fixed at create time) and names the alternative for the opposite operation: 'Never funds a swap from a stablecoin: use swap_fund for that.' That is a clear routing rule, though it does not say what to do if the swap has not yet been funded or how to check readiness (e.g., via swap_status).

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