Skip to main content
Glama

用臺灣銀行牌告匯率試算換匯

convert_currency
Read-onlyIdempotent

用臺灣銀行牌告匯率試算換匯:新臺幣換外幣(buy)或外幣換回新臺幣(sell),現鈔或即期。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "amount": "<amount>",
      "cur": "<cur>"
    },
    "name": "convert_currency"
  }
}

Input Schema

NameRequiredDescriptionDefault
curYes
typeNo
amountYes
directionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint/idempotentHint/destructiveHint=false, so safety is covered. The description adds real context that the numbers come from Bank of Taiwan's posted rates (consistent with openWorldHint) and disambiguates buy vs sell, but it never says whether the rate is today's, which session, or that the result is an estimate rather than a bookable quote.

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?

A single compact sentence front-loads the rate source and then enumerates the two axes of variation (direction, cash vs spot) with no filler. Dense but efficient; slightly more segmentation would aid scanning.

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?

For a four-parameter calculator with no output schema, the definition covers the conceptual model but omits what is returned (converted amount, applied rate) and any constraint on supported currencies. Adequate to start a call, not complete enough to predict the result.

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 description coverage is 0% and two parameters are enums, so the description carries the burden — it successfully maps buy to NTD→foreign and sell to foreign→NTD, and cash/spot to 現鈔/即期, meaning an agent can set those two correctly. It still leaves amount (units/rounding) and cur (currency code format, supported set) undefined, so it does not fully compensate.

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?

States a specific verb (試算, calculate) and resource (換匯, currency conversion) plus the rate source (臺灣銀行牌告匯率), which is concrete and distinguishes it from a plain rate-listing sibling like exchange_rates. It stops short of naming that sibling explicitly, so an agent must infer the split.

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 two direction cases (新臺幣換外幣 vs 外幣換回新臺幣) tell the agent which case applies, but there is no statement of when to pick this over exchange_rates or what preconditions exist (e.g., which currencies are supported, which rate date is used).

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