Skip to main content
Glama

Agent Data API

fx_ecb_convert

Convert an amount between two currencies at the European Central Bank daily reference rate, latest or for a past date, returning the rate used, the result, and the rate date. Costs $0.005 USDC on Base via x402.

Input Schema

NameRequiredDescriptionDefault
toYesISO 4217 target currency
dateNoPast date YYYY-MM-DD; latest if omitted
fromYesISO 4217 source currency
amountYesAmount in the source currency

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?

With no annotations, the description carries the burden and does reasonably well: it discloses the paid nature ($0.005 USDC on Base via x402), the data source, and what is returned (rate used, result, rate date). It stops short of stating rounding behavior or what happens on non-publishing days.

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: the operation and its scope come first, the payment cost last. No filler and nothing redundant with the schema.

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, but the description enumerates the return payload, which covers the main gap. Minor omissions remain around rate availability on non-business days and whether the conversion is EUR-crossed, but nothing essential for correct invocation is missing.

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%, so every parameter is already documented in the schema. The description only echoes the optional-date behavior and says nothing extra about cross-rate mechanics or amount precision, so the baseline 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?

States a specific verb and resource ('Convert an amount between two currencies') plus the exact rate source (ECB daily reference rate), so the agent knows precisely what it gets. It does not mention the sibling fx_ecb_rates, so the distinction between converting and merely listing rates must be inferred.

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?

'latest or for a past date' implies when the optional date parameter should be supplied, which is useful context. However, there is no explicit guidance on when to pick this over fx_ecb_rates, nor any note about weekends/holidays when ECB publishes no rate.

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