Skip to main content
Glama

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

trip__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": "trip__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=true, idempotentHint=true, openWorldHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful context beyond that: the data source is Bank of Taiwan posted rates and the tool is a calculation rather than a lookup. It says nothing about rate freshness (daily posted vs. live) or whether the rate used is returned.

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-loaded with the category tag and the core action, with zero redundant wording. The bracketed domain tag is borderline filler but does supply travel context economically.

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 4-parameter, no-output-schema calculation tool, the description covers the action, data source, both directions and both rate types, which is most of what an agent needs to invoke it correctly. The remaining gaps are the currency field format and the shape of the returned result, neither of which is documented anywhere.

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 description coverage is 0%, so the description carries the burden. It successfully disambiguates the two enums by mapping buy = TWD→foreign and sell = foreign→TWD and by labelling 'type' as cash ('現鈔') versus spot ('即期'), which is real added meaning. It leaves 'cur' undocumented (currency code format, supported set) and does not state the unit of 'amount' (presumably TWD), so compensation is only partial.

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 and resource: calculating a currency conversion using Bank of Taiwan posted rates, and names both supported flows (TWD→foreign 'buy', foreign→TWD 'sell') plus cash vs. spot. This distinguishes it from a plain rate-listing sibling such as trip__exchange_rates by framing it as a calculator, though it does not name that sibling explicitly.

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?

The bracketed tag '[出國與國旅實用查詢]' and the two direction clauses imply when this is useful (travel-related FX math), which is adequate context. However there is no explicit when-to-use vs. when-not guidance and no pointer to the alternative tool for merely viewing rates, so the agent must infer the routing.

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