Check a swap + fee collection
check_swapUse this to check a Relay swap's status by requestId and confirm app-fee collection (appFees vs paidAppFees).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requestId | Yes |
check_swapUse this to check a Relay swap's status by requestId and confirm app-fee collection (appFees vs paidAppFees).
| Name | Required | Description | Default |
|---|---|---|---|
| requestId | Yes |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description adds value beyond the readOnlyHint annotation by explaining that the tool checks both swap status and fee collection, confirming its read-only nature and the specific aspects checked.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence that directly conveys the tool's action and parameters, with no unnecessary words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite having no output schema, the description does not explain the return values or status fields, leaving the agent without clear expectations of what the response contains.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 0% schema description coverage, the description only mentions 'by requestId' without adding any details about the parameter's format, constraints, or role, providing minimal added meaning over the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'check' and the resources 'swap status' and 'fee collection', and specifies the identifier 'requestId', which uniquely distinguishes it from sibling tools like create_swap or get_route_quote.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for checking status and fees after a swap, but does not specify when not to use it (e.g., for creating swaps or quotes) or provide explicit alternatives, leaving some ambiguity.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.
Tools are mostly distinct, but create_swap and create_onramp_session both result in acquiring USDC on Base, and get_route_quote covers both fiat and crypto routes; minor potential for confusion.
All tools follow a consistent snake_case verb_noun pattern (check_swap, create_onramp_session, etc.), making the set predictable.
With 5 tools covering quoting, swapping, status checks, fiat onramp, and wallet creation, the count is well-scoped for the server's purpose.
The set covers quoting, swapping, fiat onramp, and wallet provisioning, but lacks offramp execution (crypto to fiat), cancellation, or token/chain discovery, leaving notable gaps.