Skip to main content
Glama

convert_currency

Convert between currencies using real-time exchange rates for financial calculations and price comparisons across 160+ currencies.

Instructions

Convert between currencies using real-time exchange rates.

Use this for currency conversion, financial calculations, or comparing
prices across different currencies. Supports 160+ currencies including
USD, GBP, EUR, JPY, CAD, AUD, and more.

Parameters:
    from_  — Source currency code (default: "USD"). Three-letter ISO code.
    to     — Target currency code (default: "GBP"). Three-letter ISO code.
    amount — Amount to convert (default: 1). Positive number.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
from_NoUSD
toNoGBP
amountNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations provided, so the description must disclose behavior. It mentions 'real-time exchange rates' but does not clarify if the operation is read-only, has side effects, or any limitations. Basic disclosure, but not thorough.

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 concise, with a clear purpose statement followed by usage context and parameter details. No unnecessary words, and the important information is front-loaded.

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?

The description covers the purpose, parameter semantics, and supported currencies (160+). It does not detail the output format, but an output schema exists. Minor gap: could mention that the result is a converted amount.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0% description coverage, but the tool description lists each parameter with meaning, default values, and ISO code format. This fully compensates for the schema gap and adds valuable detail.

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 clearly states it converts currencies using real-time rates. It uses a specific verb and resource. However, it does not explicitly differentiate from sibling tool 'currency_cross', which might serve a similar purpose.

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?

The description gives usage contexts like financial calculations and price comparison, but lacks explicit guidance on when not to use this tool or alternatives. It does not mention the sibling tool 'currency_cross' as an alternative.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/scotia1973-bot/api-hub'

If you have feedback or need assistance with the MCP directory API, please join our Discord server