Skip to main content
Glama

Convert currency at ECB reference rates

currency_convert
Read-onlyIdempotent

Convert an amount between ~30 currencies using European Central Bank reference rates (latest or historical date since 1999). Reference rates, not executable quotes.

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": {
      "from": "<from>",
      "to": "<to>"
    },
    "name": "currency_convert"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesTarget code(s), comma-separated
dateNoHistorical date YYYY-MM-DD (optional)
fromYesISO 4217 code, e.g. USD
amountNoAmount (default 1)

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 cover read-only and idempotent behavior, and the description adds substantive context beyond them: the ECB as data source, the 1999 historical floor, and the reference-rate caveat that limits how results may be interpreted. It still omits what happens for unsupported codes and whether multiple target codes return multiple results.

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 tight sentences with zero filler: the capability and scope come first, the limiting caveat last. Every clause carries information an agent needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only four-parameter tool with full schema coverage, the definition is adequate but leaves the return shape unaddressed — with no output schema, it never indicates whether a single rate or a set of results is returned, nor error behavior for unknown currency codes.

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 the baseline is 3; the description earns more by adding the earliest supported date (1999) and the fact that omitting the date yields the latest rate, which the schema only hints at with 'optional'. The amount default and comma-separated target codes are already documented in the schema.

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 verb and resource (convert an amount between currencies) plus meaningful scope details: ~30 currencies, ECB reference rates, latest or historical since 1999. It does not explicitly distinguish itself from the sibling unit_convert or say when currency conversion applies instead, so it stops 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?

Provides one important usage constraint — these are reference rates, not executable quotes — which implicitly tells the agent not to use it for transaction pricing. However, it gives no positive when-to-use framing or pointer to an alternative for live/executable rates, so guidance is only implied.

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