Skip to main content
Glama

Cheapest payment rail now

get_payment_rails

[Payment rails: fee + speed comparison] Which payment rail is cheapest and fastest right now for a USD amount: Base USDC (live gas x ETH/USD), XRPL (live fee x XRP/USD), Tempo and Circle Arc (live gas, USD-denominated) and card (static 2.9% + $0.30 estimate), with documented agent protocols (x402, MPP, card networks) per rail. Fee USD and %, settlement time, data timestamp, sources and a recommended pick. Arg amount (USD, default 100). Paid: $0.002 USDC on Base, paid in-band via x402 MCP (@x402/mcp; _meta "x402/payment"). Also at GET https://micro-saas-agent.onrender.com/api/rails.

Input Schema

NameRequiredDescriptionDefault
passNoOptional GW8 day pass token (from buy_day_pass / POST /api/pass/day); skips per-call payment
amountNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses the cost ($0.002 USDC on Base), the in-band payment mechanism (x402 MCP, _meta 'x402/payment'), the day-pass bypass, which data is live vs static (card is a static 2.9% + $0.30 estimate), and that timestamps/sources are returned. It does not cover rate limits, caching TTL, or failure behavior when live rates are unavailable.

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 core question is front-loaded in the first clause, and nearly every phrase adds distinct information (rails, data live-ness, return fields, price, endpoint). The single long parenthetical is dense and slightly run-on, but there is little outright filler.

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?

There is no output schema, so the description correctly lists what comes back (fee USD and %, settlement time, data timestamp, sources, recommended pick). Combined with the payment/auth details, an agent has enough to call it correctly; only rate limits and live-data fallback behavior are absent.

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 50%: the 'pass' token is documented in the schema, while 'amount' has no schema description. The description compensates for 'amount' by stating it is USD with a default of 100 (though the 10,000,000 maximum is left to the schema), but never mentions the 'pass' parameter or how it interacts with the payment flow.

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?

The description opens with a bracketed tagline and a specific question it answers: 'Which payment rail is cheapest and fastest right now for a USD amount', then enumerates the rails covered (Base USDC, XRPL, Tempo, Circle Arc, card). The verb+resource is unmistakable, but it never names a sibling (e.g. list_paid_endpoints, should_i_pay) to sharpen the boundary, so it falls short of a 5.

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 only implied: you invoke it when you need to compare fees/speed across rails. The description mentions the paid path and that a 'pass' skips per-call payment, but it gives no explicit when-not guidance or routing against adjacent tools like should_i_pay or list_paid_endpoints.

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.