Skip to main content
Glama

Corridor cost from published evidence

corridor_cost
Read-only

Read-only corridor evidence: public published rates, public posts, on-chain pool prints and user receipts, summarised by corridor and provider type (bank, fintech, card, stablecoin). The free answer is the summary: how many rows, the median markup percent, the date range and the evidence label (published, user receipt, public post, on-chain, user-submitted). Row-level sources are not in the free answer. They are at GET https://swapeazi.io/api/v1/corridor-evidence/rows with a paid key or x402. Does not hold or move money. A record, not a ranking.

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

Input Schema

NameRequiredDescriptionDefault
toNoISO code of the currency received, with from. For example ZAR.
fromNoISO code of the currency sent, with to. For example EUR.
pairNoSame as corridor: two currency codes, for example 'EUR/XAF' or 'EUR-ZAR'.
detailNosummary (the default) or full. Full rows need a paid key.
corridorNoCurrency pair as published, for example 'EUR/ZAR' or 'EUR-ZAR'.
provider_typeNobank, fintech, card or stablecoin. Omit for every type.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover read-only and closed-world, but the description adds real behavioral context: exactly which fields the free response contains, that row-level sources are excluded and where they live, and that the paywall needs a key or x402. It also clarifies the tool never holds or moves money, which is beyond what readOnlyHint alone conveys.

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 core purpose, then the free-answer contents, then the paid path, then the safety qualifier. Mostly every sentence earns its place, though the evidence-label list partially repeats the opening enumeration of source types.

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 carries the return-shape burden well by naming the summary fields, and it discloses the paywall and the no-money-movement guarantee. The remaining gap is the zero-required-parameter case — what a bare call returns — which matters for a six-parameter optional-only tool.

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 coverage is 100%, so all six parameters are already documented, including the provider_type enumeration and the summary/full detail enum. The description reinforces the corridor-plus-provider-type grouping and ties 'full' to the paywall, but adds little syntax or defaulting detail beyond the schema — notably it never says what happens when all optional parameters are omitted.

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: read-only corridor evidence aggregated by corridor and provider type, returning row count, median markup, date range and evidence label. The closing line 'A record, not a ranking' usefully separates it from ranking/scoring tools, though no sibling (e.g. get_corridor_rates, corridor_events) is named to sharpen the boundary.

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 caller learns the free answer is the summary and that row-level sources require a paid key or x402, which steers detail selection. There is no explicit 'use this when' or 'prefer X instead' guidance against the many sibling corridor tools, so an agent must infer the choice.

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