Skip to main content
Glama

get_forex

Get real-time currency exchange rates for any pair like USD/INR or EUR/USD. Specify source and target currency codes to retrieve live forex data.

Instructions

Get currency exchange rates for any currency pair. Common pairs: USD/INR, EUR/USD, GBP/INR, JPY/USD, USD/SGD, AUD/USD. Data from Alpha Vantage (counts toward 25 req/day free quota).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
to_currencyYesTarget currency code (e.g. INR, USD, EUR)
from_currencyYesSource currency code (e.g. USD, EUR, GBP, JPY)
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses the data source (Alpha Vantage) and quota, but lacks details on return format, real-time vs delayed, or error handling. Adds some value beyond schema.

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 concise (2 sentences plus a list and note), with the main purpose front-loaded. The list of common pairs is helpful but could be omitted; overall no wasted words.

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?

Without an output schema, the description should explain the return structure. It states 'currency exchange rates' but doesn't specify format (e.g., rate, date, bid/ask). For a simple tool, it's acceptable but could be more complete.

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 descriptions for both currency code parameters (3-letter codes). The description adds context like common pairs and data source but doesn't enhance parameter semantics beyond the schema.

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 for any currency pair' using a strong verb and resource. It distinguishes from stock-focused siblings by specifying forex, and lists common pairs for quick understanding.

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 provides context for usage, mentioning common pairs and the data source's rate limit (25 req/day). It doesn't explicitly state when not to use it, but since no other forex tool exists among siblings, guidance is adequate.

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/Techie03/trade-mcp'

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