Skip to main content
Glama

JiZhiMCP

汇率换算

currency_convert
Read-only

按最新(或指定日期)参考汇率换算两种货币金额。当任务涉及"100美元等于多少人民币/汇率多少"时使用。典型输入:{"amount":100,"from":"USD","to":"CNY"};货币用 ISO 三字母代码。数据源为欧洲央行参考汇率(免费)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYes目标货币代码,如 CNY、EUR、HKD
dateNo历史日期 YYYY-MM-DD,留空取最新
fromYes源货币代码,如 USD、CNY、JPY
amountNo金额,默认 1

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is known. The description adds useful behavioral context beyond that: the source is ECB reference rates and is free, which tells the agent these are indicative reference rates rather than live transactional quotes. It does not cover caching, rate limits, or failure behavior, but the annotation bar is lower and this adds real value.

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 compact and front-loaded: purpose first, then usage trigger, then input example, then data source. Every sentence is relevant, though the example payload slightly overlaps the schema and could be trimmed.

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 four-parameter, read-only conversion tool with no output schema, the description covers purpose, usage context, input shape, and data source adequately. The main remaining gap is sibling disambiguation against `exchange_rate`, which would help an agent route correctly.

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 100%, so all four parameters are already documented with examples and defaults. The description reinforces that currencies use ISO three-letter codes and shows a typical payload, but that largely duplicates the schema rather than adding new semantic meaning. Baseline 3 is appropriate when the schema does the heavy lifting.

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 states a specific verb and resource: convert an amount between two currencies using the latest or a specified-date reference rate. It clearly defines scope (amount conversion, date option) but does not differentiate this tool from the sibling `exchange_rate`, which an agent could plausibly choose instead.

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?

It gives a concrete triggering scenario ("100美元等于多少人民币/汇率多少") and a typical input example, so an agent can recognize when to call it. However, it provides no exclusion or alternative guidance, and the phrase "汇率多少" could also suggest the sibling `exchange_rate`, which is not addressed.

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.