Skip to main content
Glama

Track a swap

track_swap
Read-only

Status of a swap started from an executable quote.

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": {
      "provider": "<provider>",
      "id": "<id>"
    },
    "name": "track_swap"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe request id or deposit address from the quote
providerYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/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 safety and external-network reach are covered. The description contributes one genuinely useful behavioral fact: the swap must originate from an executable quote, which is a precondition. It does not disclose what status values are returned, whether results are eventually consistent, or what happens for an unknown 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?

A single front-loaded clause with zero filler, so nothing is wasted. But the brevity comes at the cost of under-specification rather than efficiency, which is penalized elsewhere.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a status-tracking tool with no output schema, the description should at minimum sketch the returned states and terminal conditions, but it says nothing about return values. The precondition sentence is helpful, yet an agent still cannot tell what a successful response looks like or when tracking is done.

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

Parameters2/5

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

With only 50% schema description coverage, the id field is documented in the schema ('request id or deposit address from the quote') while provider's enum values (relay, near) carry no explanation anywhere. The description adds no meaning about either parameter beyond loosely tying the swap to a quote, so it fails to compensate for the coverage gap.

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?

'Status of a swap started from an executable quote' names a specific resource (a swap) and the returned concept (status), and the phrase 'started from an executable quote' implicitly separates it from the sibling quote_swap, which creates the quote rather than tracking it. It is a noun phrase rather than a verb+resource statement, which slightly blunts the clarity.

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

Usage Guidelines2/5

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

The phrasing implies the tool is used after a quote has been executed, but it never states when to call it versus quote_swap or lock_rate, how often to poll, or what to do once the status is final. No exclusions or alternative-routing guidance is given.

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