Skip to main content
Glama
crypto-exchange-fees

crypto-exchange-fees

estimate_trading_cost

Estimate base-tier crypto trading fees in USD using exchange, notional, maker/taker side, market, and monthly trade count to compare costs before trading.

Instructions

Estimate fee cost in USD at the base tier: notional x fee x trades. Excludes spread, slippage, funding, withdrawal fees, VIP tiers and token discounts.

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": {
      "exchange": "<exchange>",
      "notional_usd": "<notional_usd>"
    },
    "name": "estimate_trading_cost"
  }
}

Input Schema

NameRequiredDescriptionDefault
sideNotaker
marketNospot
exchangeYes
notional_usdYes
trades_per_monthNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden, and it does meaningful work: it discloses the exact arithmetic, that results are base-tier only, and enumerates six categories deliberately excluded (spread, slippage, funding, withdrawal fees, VIP tiers, token discounts). What it leaves out is failure behavior for unknown exchanges and whether the result is deterministic/pure computation.

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 tight sentences with zero filler: the formula comes first, the scope limits second, both front-loaded. Every clause carries information an agent would otherwise have to guess.

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

Completeness3/5

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

For a pure calculation tool with no output schema and 0% schema description coverage, the description covers the what and the what-not but not the return shape or the handling of invalid inputs. An agent can invoke it confidently, but ambiguities around maker/taker and spot/perp pricing go unresolved across both the description and the schema.

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 0%, so the schema offers only titles, enums, and defaults — yet the description compensates well by naming three of the five inputs functionally (notional, fee via exchange, trades) and explaining the role each plays in the calculation. It says nothing about how side (maker/taker) or market (spot/perp) alter the fee, which is exactly where the enum choice matters, so a gap remains.

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 and resource ('Estimate fee cost in USD') and goes further by giving the exact computation basis (notional x fee x trades) plus the base-tier assumption. It does not explicitly distinguish itself from siblings like compare_fees or get_exchange_fees, so an agent must infer that this is the single-exchange, single-scenario estimator rather than a comparison tool.

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?

Usage is implied rather than stated: the formula and the exclusion list tell an agent this is a quick back-of-envelope fee estimate, not a full cost model. There is no explicit when-to-use versus compare_fees or get_exchange_fees, and no guidance on prerequisites such as the exchange name needing to be valid.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.