Skip to main content
Glama

show_fx

Inspect local FX rate cache to retrieve foreign exchange rates per USD. Use for coverage summary, historical series, or point-in-time lookup with fallback.

Instructions

Inspect the local FX rate cache (foreign per 1 USD). Without currency, returns per-currency coverage (count + first/last date). With currency + date, returns the point-in-time rate, falling back to the most recent within lookback_days. With currency + from/to, returns the cached series for that range. With currency alone, returns the limit most-recent rows. USD has no rows (it's the base, always 1.0).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
currencyNoCurrency code (KRW/JPY/EUR/CNY/GBP/HKD/INR/TWD). Omit for coverage summary.
dateNoYYYY-MM-DD — point-in-time lookup for `currency`
fromNoStart date YYYY-MM-DD
toNoEnd date YYYY-MM-DD
limitNoMax rows when no date range (default 60)
lookback_daysNoDays to look back for a point lookup if exact date not cached
Behavior5/5

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

With no annotations, the description fully discloses behavior: caching, fallback using lookback_days, and the special case for USD. It outlines return types for each invocation mode, making the tool's behavior transparent.

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?

Description is concise (5 sentences) and front-loads the core purpose. Each sentence adds distinct information about a different invocation pattern, with no redundancy.

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

Completeness5/5

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

Despite no output schema, the description fully explains return values for all parameter combinations, covers edge cases (USD, fallback), and addresses all six parameters. It is complete for the tool's complexity.

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 baseline is 3. The description adds significant value by explaining combinatorial logic (e.g., 'with currency + from/to returns series'), which is beyond the individual parameter descriptions in 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?

Description states specific verb ('Inspect') and resource ('local FX rate cache'), and clearly explains the base unit (USD). It distinguishes from sibling tools by focusing on FX rates, which is unique among the many 'show_*' tools.

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?

Description provides clear context for different parameter combinations and their outputs. It does not explicitly compare to sibling tools or state when not to use this tool, but the specificity of the tool makes its usage context obvious.

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/evan-moon/firma'

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