Skip to main content
Glama

Scrooge

Quote a swap

get_swap_quote
Read-only

The best price for a swap on Robinhood Chain right now, after Scrooge's fee: what arrives, the least it may pay (minAmountOut), the fee in basis points and the venue. Pass the wallet to have its $SCROOGE discount counted.

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": {
      "token_in": "<token_in>",
      "token_out": "<token_out>",
      "amount": "<amount>"
    },
    "name": "get_swap_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountYesHow much of token_in to sell, as a decimal number such as 0.5
walletNoOptional: the wallet that will swap
token_inYesWhat is sold: a symbol (ETH, USDG, SCROOGE, NVDA…) or a contract address on Robinhood Chain
token_outYesWhat is bought: a symbol (ETH, USDG, SCROOGE, NVDA…) or a contract address on Robinhood Chain
slippage_bpsNoOptional: the most the price may move before the swap reverts, in basis points (default 50 = 0.5%, at most 300 = 3% unless allow_high_slippage)
allow_high_slippageNoOptional: allow slippage up to 1000 basis points (10%); leave it off unless a thin market needs it

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description adds useful behavioral context beyond annotations: the quote is after Scrooge's fee, it reports the minimum output and venue, and passing a wallet applies a $SCROOGE discount. It does not discuss quote expiry or freshness beyond 'right now', but it carries meaningful return-value information in the absence of an output schema.

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

Conciseness5/5

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

The description is two tight sentences with no filler. It front-loads the core purpose and follows with the returned quote components and the wallet-discount behavior, so every sentence earns its place.

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 read-only quote tool with six parameters, no output schema, and annotations covering read-only/open-world behavior, the description is largely complete. It explains the returned quote fields and the wallet discount, though it could mention quote validity or slippage context. The schema covers the remaining parameter details.

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?

Schema description coverage is 100%, so the schema already documents all six parameters. The description still adds value by explaining that the optional wallet parameter affects the $SCROOGE discount, which is not stated in the schema's brief 'Optional: the wallet that will swap'. That extra meaning justifies a score above the baseline of 3.

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 uses a specific verb and resource: it quotes the best price for a swap on Robinhood Chain right now. It also names the returned pieces (what arrives, minAmountOut, fee in basis points, venue), which makes the quote nature clear. It does not explicitly name build_swap as the execution counterpart, so sibling differentiation is implicit rather than stated.

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

Usage Guidelines3/5

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

The description implies this is a read-only price check before swapping, especially with 'right now' and the wallet-discount note. However, it gives no explicit when-to-use or when-not-to-use guidance and does not tell the agent to use build_swap for actual execution. Usage is inferable but not stated.

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