Skip to main content
Glama

Agent Data Hub

Exchange rate table for a base currency

fx_rates
Read-onlyIdempotent

Daily exchange rates from one base currency to 300+ fiat and crypto currencies, latest or for a date since 2024-03-02. Optionally limit to a comma-separated list of symbols. Indicative mid-market rates, not for trading. Price: $0.001 per call (USDC on Base via x402); the first 10 calls per day are free.

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

Input Schema

NameRequiredDescriptionDefault
baseNoBase currency code (default USD)
dateNoOptional date YYYY-MM-DD (since 2024-03-02)
symbolsNoOptional comma-separated codes, e.g. EUR,GBP,AED

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered. The description still earns credit for context the annotations cannot carry: mid-market indicative rates, no trading use, historical depth from 2024-03-02, and an explicit per-call price with a 10-free-calls-per-day allowance.

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?

Three sentences, each front-loaded with a distinct fact: capability and coverage first, filtering and data depth second, then caveat and pricing. Nothing repeats the schema wholesale and no sentence is 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?

For a zero-required-parameter read tool with a fully documented schema and no output schema, the description covers coverage, date limits, precision caveat and cost. The one gap is the return shape — whether rates come back as a symbol-to-rate map keyed on the base — which an agent could only guess at.

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 all three parameters (base, date, symbols) are already documented with defaults, format and an example. The description restates the same facts (base currency, date since 2024-03-02, comma-separated symbols) without adding format or error-handling detail beyond the schema, so the baseline of 3 applies.

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 states a concrete verb and resource: 'daily exchange rates from one base currency to 300+ fiat and crypto currencies', and pins scope to latest or a dated snapshot since 2024-03-02. It never names the sibling fx_convert, so the agent must infer on its own that a rate table is not a conversion endpoint.

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: the mention of '300+ currencies' and the symbol-limiting option suggests bulk rate lookups, and 'not for trading' rules out one use case. There is no explicit 'use this instead of X when...' guidance against fx_convert, which is the most likely near-neighbor.

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