Skip to main content
Glama

匯率

fx_rates
Read-onlyIdempotent

主要貨幣即期匯率(多源交叉:ECB/台銀)含當日與近 1 週/1 月/3 月變化;可指定 pair(如 USD/TWD)。Spot FX rates with multi-period changes.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "fx_rates"
  }
}

Input Schema

NameRequiredDescriptionDefault
pairNo貨幣對,如 USD/TWD;省略=全部

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world behavior, so the safety bar is low. The description still adds real value beyond them by disclosing multi-source cross-checking (ECB/台銀) and the exact set of change windows returned, which tells the agent what data will come back without an output 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?

Two compact sentences with the resource and its coverage front-loaded, followed by the optional-pair note. The bilingual restatement of the same content is mildly redundant but short enough not to cost the reader much.

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?

For a one-optional-parameter, read-only lookup with no output schema, the description supplies what matters: what is returned (spot plus 1週/1月/3月 changes), where it comes from, and how to narrow it. Only minor gaps remain, such as quoting conventions or how missing pairs are handled.

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% and the single parameter is already documented in the schema as '貨幣對,如 USD/TWD;省略=全部'. The description simply restates that example and the omit-means-all default, adding no new syntax, casing rules, or error behavior beyond the schema.

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 names a specific resource (spot FX rates for major currencies) and adds distinguishing detail about sources (ECB and 台銀 cross-checked) and returned periods (當日 plus 1週/1月/3月 changes). It is clear enough to separate this from domain-specific siblings like etf_price_history or fund_nav_history, though it never states an explicit verb or contrasts itself with a sibling.

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?

Usage is only implied: the reader infers this is the tool for FX quotes, and the note that omitting pair returns everything is a scoping hint rather than when-to-use guidance. There is no mention of when to prefer this over data_series/data_query for historical FX or over taiwan_market_overview for TWD context.

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