Skip to main content
Glama

Cost of every corridor

market_overview
Read-only

The live all-in cost to buy and sell USDT in every covered currency at a standard size, for benchmarking corridors. With code, returns that corridor's history instead.

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": "market_overview"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeNoA currency for its cost history
hoursNoHistory window in hours (default 24)
sizeUsdNoOrder size in USD (default 1000)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, openWorldHint=true), so the description's job is to add cost/mode semantics and it does: 'live', 'all-in', and the fact that supplying `code` pivots the call from the all-corridor snapshot to a historical series. It omits data freshness cadence, whether 'live' is cached, and rate-limit behavior for an open-world endpoint, so it is not exhaustive.

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 primary mode and the benchmarking use case before the conditional history mode. No filler, no repetition of schema or annotation content.

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?

With no output schema, the description must carry the return-shape burden, and it only gestures at it ('all-in cost', 'corridor's history') without saying what a cost figure is expressed in or what an all-corridor response looks like. It also does not note that `hours` is inert unless `code` is supplied. For a three-parameter, dual-mode, open-world pricing tool this is adequate but leaves real gaps.

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 the schema already documents `code`, `hours`, and `sizeUsd` (including the discrete 100/1000/10000 constraint). The description adds only one real inference — that `code` switches the response to history — and leaves `hours` and the 'standard size' wording to be reconciled against the schema's default of 1000 by the agent.

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?

The description names a concrete verb+resource pair ('live all-in cost to buy and sell USDT in every covered currency') and pins the scope ('at a standard size, for benchmarking corridors'). It also carves out a distinct second mode ('With `code`, returns that corridor's history instead'), so an agent can tell the two behaviors of this one tool apart before touching the schema. Nothing about it is a restatement of the name 'market_overview'.

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

Usage Guidelines4/5

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

It states the intended purpose clearly — benchmarking corridors — and explains the branch condition for the `code` argument, which is real when-to-use guidance. It stops short of naming any sibling (e.g. list_currencies, quote_swap) as an alternative or saying when not to reach for this tool, which keeps it out of the 5 band.

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