Skip to main content
Glama

Quote a buy or sell

polypad_quote_trade
Read-onlyIdempotent

Quote a buy (ETH in) or sell (token amount in) for a launch token, on the bonding curve or in the Uniswap V4 pool after graduation. Returns expected output, minimum after slippage, and fees. A reading, not a promise.

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": "<token>",
      "side": "<side>"
    },
    "name": "polypad_quote_trade"
  }
}

Input Schema

NameRequiredDescriptionDefault
sideYesbuy or sell.
tokenYesSymbol, name, token address, or launch address.
amountNoBase units as a decimal string: wei of ETH for a buy, token base units (18 decimals) for a sell.
amountEthNoBuy only: ETH as a decimal such as 0.01. Use instead of amount.
slippageBpsNoSlippage limit in basis points. Default 100, maximum 1000.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover readOnly/idempotent/non-destructive, and the description adds real context beyond that: the quote source (bonding curve vs Uniswap V4 after graduation) and what is returned (expected output, minimum after slippage, fees), plus the non-binding nature of the quote. It does not cover failure modes such as quoting a token with no pool or insufficient liquidity, keeping it from 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.

Conciseness5/5

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

Two sentences, front-loaded with the action and scope, followed by return values and the non-binding caveat. Every sentence carries distinct information with no filler.

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?

With no output schema, the description correctly takes on the job of describing return values and the slippage-derived minimum, and it explains the venue logic. It is complete enough to call correctly, though it omits edge-case behavior (no pool, unknown token, pre-graduation vs post-graduation quoting rules beyond venue names).

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 100%, so all five parameters, including the amount/amountEth choice and the slippage default and cap, are already documented in the schema. The description's buy/sell amount semantics ('ETH in' vs 'token amount in') merely restate the schema, so baseline 3 applies.

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?

States a specific verb (Quote) and resource (buy or sell of a launch token) with scope: bonding curve or Uniswap V4 pool after graduation. It clearly reads as a non-executing preview, but it never names the sibling prepare tools (e.g. polypad_prepare_buy/prepare_sell) that would consume the quote, so sibling differentiation is implicit rather than explicit.

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?

Use is implied: 'A reading, not a promise' signals this is for previewing before acting, and the buy/sell phrasing implies a follow-up execution step. However, there is no explicit when-to-use instruction, no mention of which sibling to use to actually trade, and no stated preconditions (e.g. token must exist/have liquidity). Adequate but with clear gaps.

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.