Skip to main content
Glama

AlgoVesta MCP Trading

compare_venues

Read-onlyIdempotent

Compares the user's CONNECTED crypto exchanges for one symbol on measured execution cost. It reports the bid/ask spread, the taker fee and, when size_usd is given, the slippage that size would actually pay against the live order book.

THIS TOOL DOES NOT CHOOSE AN EXCHANGE AND NEITHER SHOULD YOU. It is advisory only.
The user still names the venue in place_order. AlgoVesta could not route around it
even in principle: in crypto there is no central clearing, so the user's balance
lives on the exchange they funded and cannot be moved to another one to catch a
better price.

HOW TO READ IT:
- `estimated_cost_bps` sums ONLY the components listed in that venue's
  `cost_components`. A venue with fewer components is not cheaper — it is less
  measured. Say which components were included.
- `cheapest_measured` means lowest measured cost, not lowest true cost.
- Fees are the exchange's PUBLIC tier. The user's own VIP tier may be lower; repeat
  `fee_tier_note` rather than presenting the fee as personal.
- `skipped` lists venues removed WITH A REASON (symbol not listed, minimum order
  value above the request, or recorded equity below it). A venue is never removed
  just because data was missing — missing data shows as null, not as exclusion.
- Still not measured: per-venue latency, transfer fees, funding differences.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "compare_venues"
  }
}

Input Schema

NameRequiredDescriptionDefault
sideNo'buy' (long) or 'sell' (short). The side the user stated.
marketNo'futures' (default) or 'spot'.futures
symbolNoTrading symbol, e.g. BTCUSDT, ETHUSDT, EURUSD.
size_usdNoOrder value in USD. Optional, but WITHOUT it slippage cannot be measured — pass the amount the user actually intends to trade to get a realistic comparison.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description goes well beyond that by explaining that estimated_cost_bps sums only components in cost_components, that cheapest_measured is lowest measured rather than lowest true cost, that fees are public-tier rather than the user's VIP rate, and that skipped venues are removed only with a stated reason. That is substantive disclosure of result semantics and failure/exclusion behavior, though it does not address rate limits or the live-order-book dependency's freshness or failure mode.

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

Conciseness4/5

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

Front-loaded with the one-line purpose, then the hard constraint, then a labeled 'HOW TO READ IT' block that makes the output caveats scannable. The all-caps prohibition plus the paragraph justifying no-central-clearing is slightly redundant for an agent reader, but each bullet carries distinct information rather than restating the name.

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

Completeness5/5

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

There is no output schema, and the description compensates by naming the key result fields (estimated_cost_bps, cost_components, cheapest_measured, fee_tier_note, skipped) and their interpretation rules. It also closes the loop on what remains unmeasured — latency, transfer fees, funding differences — so an agent knows the limits of the comparison before presenting it to the user.

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% and every parameter carries a usable description, so the baseline is 3. The body text reinforces the size_usd tradeoff (without it slippage cannot be measured) and frames symbol as 'one symbol' per call, but adds no syntax, format, or defaulting detail beyond what the schema already documents.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource — comparing the user's CONNECTED crypto exchanges for one symbol on measured execution cost — and immediately names the boundary against place_order, which is the sibling an agent might confuse it with. The scope of the comparison (spread, taker fee, and optionally size-dependent slippage) is spelled out in the first two sentences.

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?

Explicitly states when this tool applies and, more importantly, what it must NOT be used for: it does not select an exchange, it is advisory only, and the user names the venue in place_order. It even explains why routing is impossible (no central clearing, balance locked to the funded venue), which pre-empts an agent trying to substitute this tool for an order decision.

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.