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
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. Added

TDQS

A4.4/5.0
Behavior5/5

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

The annotations only state readOnlyHint=true and openWorldHint=false; the description adds substantive context beyond that: it is purely a record, holds and moves no money, discloses what the free summary contains and omits, and names the paid endpoint for rows. That is exactly the kind of what-you-get / what-you-don't-get disclosure this dimension rewards.

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?

It is dense and front-loaded: the core read-only evidence scope comes first, then output shape, then the paid path. There is mild redundancy between 'The free answer is the summary' and 'Row-level sources are not in the free answer,' but no sentence is filler.

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, so the description carries the return-value burden, and it does: row count, median markup percent, date range, and evidence label are all named. For a zero-required-parameter read tool, nothing an agent needs to invoke it correctly is missing.

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 coverage is 100%, so the schema already carries the parameter definitions, and the description mostly restates the summary-vs-full gate. It still adds useful meaning by clarifying that 'full' means row-level sources that are not in the free answer and that require a paid key, which reinforces the detail semantics beyond the enum text.

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?

It names the exact resource (corridor evidence: published rates, public posts, on-chain pool prints, user receipts) and the exact output (summary by corridor and provider type). Rather than leaving ambiguity, it explicitly positions the tool with "A record, not a ranking" and "Does not hold or move money," which separates it from the calculate_/analyse_ siblings.

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?

It clearly frames the free-vs-paid split (summary is free, row-level needs a paid key or x402), which is real usage guidance. However, it never tells the agent when to choose this over sibling tools such as corridor_events, get_corridor_rates, or calculate_payment_cost; the agent must infer the boundary between a raw evidence record and a computed cost or event feed.

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