Skip to main content
Glama

Swap page link (hand-off)

swap_page_link
Read-only

The page where the person completes the swap, with the amount prefilled. A swap for a person is completed by that person on the page: open the link, check the amount, both addresses and the memo on screen, then send the deposit from your own wallet. An agent that controls the sending wallet itself uses create_swap and pays the instruction it gets back.

Input Schema

NameRequiredDescriptionDefault
toYes
fromYes
amountNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is partly covered. The description adds genuine context beyond that: no transaction is executed here, a human opens the link and sends the deposit from their own wallet, and the agent never signs. Link lifetime, revocation, and single-use behavior are not disclosed.

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 fact (a prefillable link for human completion) is front-loaded, which is good, but the second sentence restates the same idea at greater length before the useful create_swap contrast at the end. A tighter version would put the alternative first.

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 three-parameter read-only link generator with no output schema, the definition covers who executes the swap and how the deposit is funded. Missing details are secondary: the exact return shape and link validity window.

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 coverage is 0%, so the description carries the burden. It does clarify the roles – 'amount prefilled' implies amount is optional, and 'both addresses' implies from/to are the two swap sides – but it gives no format, chain, or address-type detail for those fields.

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 states the concrete resource: a page link where a person completes a swap with the amount prefilled. It explicitly contrasts itself with create_swap, so an agent can distinguish the hand-off path from the programmatic path. It is slightly indirect in that it never says 'returns a URL', leaving the output type to inference.

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

Usage Guidelines5/5

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

Explicit routing is given in both directions: a swap for a person is completed by that person via this link, while an agent controlling the sending wallet should use create_swap and pay the returned instruction. This is exactly the when/when-not/alternative structure an agent needs.

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