Skip to main content
Glama

Get exchange rates

get_rates
Read-only

Latest or a single day's exchange rates. The raw-rate companion to convert.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
baseNoISO 4217 base currency. Default EUR.
dateNoSingle day YYYY-MM-DD. Omit for the latest rates.
quotesNoISO 4217 quote codes to return; omit for all.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed5 schema fields changed
    • changedInput schema / properties / date / description
      Previous value: -"Single day YYYY-MM-DD. Mutually exclusive with start/end."New value: +"Single day YYYY-MM-DD. Omit for the latest rates."
    • removedInput schema / properties / end
      Removed value: -{
      -  "$ref": "#/properties/date",
      -  "description": "Range end YYYY-MM-DD (inclusive). Requires start and quotes."
      -}
    • removedInput schema / properties / providers
      Removed value: -{
      -  "description": "Provider keys. Omit for blended (default).",
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • changedInput schema / properties / quotes / description
      Previous value: -"ISO 4217 quote codes. Required when start/end is set."New value: +"ISO 4217 quote codes to return; omit for all."
    • removedInput schema / properties / start
      Removed value: -{
      -  "$ref": "#/properties/date",
      -  "description": "Range start YYYY-MM-DD (inclusive). Requires end and quotes."
      -}
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint. The description adds behavioral context as a raw-rate companion and the ability to fetch latest or specific date rates, which is consistent and adds value.

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?

The description is extremely concise with two short sentences, no unnecessary words, and front-loads the core purpose.

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?

Given the low complexity and good annotations/schema, the description covers purpose and sibling relation. It could optionally mention the output format (e.g., exchange rates map) but is not severely lacking.

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 100% with detailed parameter descriptions (ISO 4217, date format, etc.), so the tool description adds no additional parameter meaning, meeting the baseline.

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 clearly states it gets exchange rates (latest or single day) and explicitly distinguishes itself as the 'raw-rate companion to convert', differentiating from the sibling tool.

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 description implies usage via the 'raw-rate companion' hint, but does not provide explicit when-to-use or when-not-to-use guidance beyond the sibling 'convert'. It does not address the 'list_currencies' sibling.

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.