Skip to main content
Glama

convert_currency

Read-only

Convert an amount from one currency to another using current exchange rates. Specify amount, source currency, and target currency to get the converted value.

Instructions

Bir miktarı bir para biriminden diğerine, güncel kur üzerinden çevirir.

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>",
      "from": "<from>",
      "to": "<to>"
    },
    "name": "convert_currency"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesHedef para birimi kodu, ör. TRY
fromYesKaynak para birimi kodu, ör. USD
amountYesÇevrilecek miktar, ör. 100

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

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 and openWorldHint=true, so the safety profile is covered. The description contributes one useful behavioral fact — the conversion uses the current/live rate — but says nothing about rate source, supported currency codes, rounding, or what the response contains. That is a modest but real addition over the annotations, hence a 3.

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 well-formed sentence with no filler, front-loading the action immediately. It is efficient, though its brevity is partly the reason other dimensions are thin.

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 simple three-parameter read-only conversion tool with a fully documented schema and no output schema, the definition covers the essentials. The main remaining gap is whether the response includes the applied rate and how unsupported currencies are handled, but that is minor at this complexity level.

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%, with all three required parameters individually documented and exemplified (USD/TRY/100), so the schema carries the parameter burden. The description adds no further meaning about amount constraints (positive-only) or currency-code format beyond what the schema states, making the baseline 3 appropriate.

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 (converting an amount between currencies) and adds the qualifier 'güncel kur' (current rate), which signals live-rate conversion rather than historical. It does not, however, differentiate itself from siblings such as get_exchange_rate or get_historical_rate.

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: an agent can infer this is for direct currency conversion, but the description never says when to prefer it over get_exchange_rate (which presumably returns a rate) or get_historical_rate. No prerequisites, limits, or alternatives are named.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.