Skip to main content
Glama

Search payment routes

search_routes
Read-only

Ask in plain words how to land a payment, e.g. 'land 500 EUR in Douala on MTN today' or 'USD 25,000 to a supplier in Lagos'. Returns clean JSON: the payment as understood (amount, currencies, country, payout method, operator), the official rate (legal peg or central bank) and the street rate as separate dated fields, and the routes on record ordered by evidence of what landed. A route without enough landed evidence says "not enough evidence yet" and has no rank. Each route carries cost against the mid-market rate where a public price exists, landing time, delay risk, licence, limit and sources with dates; the answer is signed (verify at POST https://swapeazi.io/api/v1/attestations/verify). Free view without a key; every route's full evidence: USD 0.25 per call by x402 in USDC on Base, or a paid key. The same search is GET https://swapeazi.io/api/v1/search?q=... Information, not advice: SwapEazi never sends or holds money; the payer's own bank or provider does.

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": {
      "q": "<q>"
    },
    "name": "search_routes"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesThe payment in plain words: amount, currency, where it lands, and how (bank, mobile money, cash, stablecoin) if it matters.
access_keyNoA paid key (rk_...), if not sent as a Bearer header.

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?

Annotations only declare readOnlyHint and openWorldHint, but the description goes much further: it explains ranking by landed evidence, the 'not enough evidence yet' unranked case, per-route fields (cost vs mid-market, landing time, delay risk, licence, limit, dated sources), and a signed response verifiable at a stated endpoint. It also discloses the payment model (free view, x402 USDC charge per call, paid key) and a clear non-custodial disclaimer.

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?

The purpose and examples are front-loaded, which is the right ordering. The paragraph is dense and mixes return shape, pricing, attestation, and a disclaimer into single long sentences, but nearly every clause carries information an agent needs before calling.

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?

With no output schema, the description carries the full burden of explaining the response and does so thoroughly: understood payment, official vs street rate as dated fields, ranked routes, unranked evidence-poor routes, and per-route attributes. Pricing, authentication options, and the information-not-advice boundary are all covered.

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 baseline is 3; the description earns above baseline by illustrating the exact shape of the `q` value with worked examples ('land 500 EUR in Douala on MTN today') that show how amount, currency, destination, and method combine. It does not explain `access_key` handling beyond what the schema already says.

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 states a specific action (ask in plain words / search) over a specific resource (payment routes) and reinforces it with two concrete example queries. An agent immediately understands this is a natural-language route lookup rather than a cost calculator or provider comparison.

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 through the example queries (amount + currency + destination + method), which tells the agent what kind of input belongs here. However, no explicit when-to-use/when-not guidance or alternatives (e.g., price_routes, recommend_payment_route) are named, leaving routing between siblings to inference.

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