Skip to main content
Glama

Döviz Çevirici (TCMB)

doviz_cevir
Read-only

Converts an amount between two currencies, including TRY, using official TCMB exchange rates and selectable rate types; cross rates are calculated through TRY.

Instructions

TCMB kurlarıyla iki para birimi arasında çeviri yapar; TRY dahil, çapraz kurlar TL üzerinden hesaplanır. / Converts an amount between two currencies (incl. TRY) using official TCMB rates.

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": {
      "miktar": "<miktar>",
      "kaynak": "<kaynak>",
      "hedef": "<hedef>"
    },
    "name": "doviz_cevir"
  }
}

Input Schema

NameRequiredDescriptionDefault
hedefYesHedef para birimi kodu, ör. TRY / Target currency
kaynakYesKaynak para birimi kodu, ör. USD / Source currency
miktarYesÇevrilecek miktar, ör. 100 / Amount
kur_turuNoKullanılacak kur türü (varsayılan: doviz_satis) / Rate typedoviz_satis

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.3/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds useful behavior beyond that: official TCMB rates, TRY support, and cross rates computed via TL. However, it does not mention rate freshness, rounding, or return-value behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two front-loaded sentences with no unnecessary wording. The bilingual format doubles the text but preserves a clear, compact statement of purpose and scope.

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 simple four-parameter conversion tool, the description covers the core operation and rate source. Since there is no output schema, it should ideally state what is returned, and it omits rate freshness/rounding details, leaving meaningful gaps.

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 the input schema already documents miktar, kaynak, hedef, and the kur_turu enum/default. The description adds only broad context about TRY inclusion and cross-rate calculation, not additional parameter-level meaning.

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 two currencies using official TCMB rates, including TRY and TL-based cross rates. It is clearly distinguishable from a general currency-rates tool, but it does not explicitly name or route against the sibling doviz_kurlari tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives no explicit when-to-use, when-not-to-use, or alternative-tool guidance. An agent can infer it is for currency conversion, but there is no directive such as using doviz_kurlari when only rates are needed.

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