Skip to main content
Glama

get_exchange_rates

Read-onlyIdempotent

ECB reference rates for 30 currencies, last 90 days, any base, optional amount. No crypto.

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

Input Schema

NameRequiredDescriptionDefault
baseNoDefault EUR.
dateNoYYYY-MM-DD (default latest).
amountNoDefault 1.
symbolsNoe.g. ["USD"].

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / amount / maximum
      Removed value: -1000000000000
    • removedInput schema / properties / amount / minimum
      Removed value: -0
    • addedInput schema / properties / symbols / description
      Added value: +"e.g. [\"USD\"]."
    • removedInput schema / properties / symbols / maxItems
      Removed value: -40
    • removedInput schema / required
      Removed value: -[]
  2. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so safety is covered. The description adds genuinely useful behavior context beyond them: the data provider (ECB) and hard coverage limits of 30 currencies and 90 days of history, which tell the agent what requests will fail or return empty. It does not mention return shape or rate limits, keeping it below a 5.

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?

Two fragments totaling under twenty words, with the source and scope front-loaded and the exclusion ('No crypto') last. Nothing is wasted and nothing is missing that belongs at this level.

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 simple, all-optional read tool with fully documented parameters and annotations covering safety, the description supplies the essential domain facts: provider, currency coverage, history window, and crypto exclusion. The one gap is that no output schema exists and the description says nothing about the response structure (rate map, date handling, base echoing), leaving the agent to discover the return format empirically.

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 the schema already documents base (default EUR), date format, amount (default 1) and symbols. The description only reinforces that any base works and amount is optional, which is largely redundant with the schema. Baseline 3 is appropriate.

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 resource and source: 'ECB reference rates for 30 currencies' over 'last 90 days', with 'any base, optional amount'. An agent immediately knows this is an FX rate lookup and, via 'No crypto', what it does not cover. No sibling does FX, so no further differentiation is needed.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The scope constraints ('30 currencies', 'last 90 days', 'No crypto') implicitly define when this tool applies and when it will return nothing useful. It does not name an alternative tool, but the sibling list contains no competing FX source, so the practical guidance gap is small.

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.