Skip to main content
Glama

convert_currency

Get currency exchange rates and convert an amount from one currency to others. Specify base and target codes to get converted amounts.

Instructions

Get currency exchange rates and convert an amount.

Args: base: Base currency code, e.g. "USD". to: Comma-separated target codes (e.g. "EUR,GBP"). Omit for all rates. amount: Amount of base currency to convert (default 1).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNo
baseNoUSD
amountNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
countNo
errorsNo
scraperNo
source_urlsNo
Behavior3/5

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

No annotations are provided, so the description carries the burden. It does not disclose any behavioral traits beyond the obvious read operation, such as rate limits, data freshness, or that it returns current rates only.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with an Args block and examples. However, it could be slightly more concise without losing clarity.

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 that an output schema exists, the description doesn't need to explain return values. It is complete for a simple tool, though it could mention that it returns conversion rates for the specified 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?

Each parameter is explained with examples and defaults (e.g., 'base: Base currency code, e.g. "USD"'). This adds significant meaning beyond the input schema, which has minimal descriptions.

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 'Get currency exchange rates and convert an amount', using a specific verb and resource. It distinguishes from sibling tools like define_word or scrape_stock, which are unrelated.

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 explains usage with examples and notes that omitting 'to' returns all rates. It doesn't specify when not to use or mention alternatives, but the context is clear for a simple conversion tool.

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/mldsveda/PyScrappy'

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