Skip to main content
Glama

TCMB Döviz Kurları

doviz_kurlari
Read-only

Retrieves official exchange rates published by TCMB for specified currency codes, or returns all rates when no codes are provided.

Instructions

TCMB'nin yayımladığı güncel döviz kurlarını (döviz/efektif alış-satış) getirir. Kod verilmezse tüm kurlar döner. / Returns the latest official exchange rates published by the Central Bank of the Republic of Türkiye (TCMB).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "doviz_kurlari"
  }
}

Input Schema

NameRequiredDescriptionDefault
kodlarNoPara birimi kodları, ör. ['USD', 'EUR'] / Currency codes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the description's extra value is real: it discloses the data source (TCMB), that rates are official and current, that both buying and selling variants are included, and the default all-rates behavior when no codes are supplied. It stops short of noting freshness/update cadence or that rates are quoted per unit, which keeps it at 4.

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?

Two short sentences with the core purpose front-loaded and the default-behavior caveat immediately after. The Turkish/English duplication doubles length, though it serves a dual-audience purpose rather than adding new information.

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 read-only, single-optional-parameter lookup with no output schema, the description covers source, scope, and default behavior adequately. It does not hint at the shape of returned records (currency code, name, buy/sell values), which would help an agent plan downstream use.

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 coverage is 100%, so baseline would be 3, but the description adds genuine meaning beyond the schema by specifying the default behavior of the optional 'kodlar' parameter (omitting it returns all currencies). It does not clarify expected code format or case sensitivity beyond the schema's example.

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 pairs a specific verb ('getirir' / returns) with a specific resource ('güncel döviz kurları') and names the authoritative source (TCMB), plus the rate subtypes (döviz/efektif alış-satış). It is clearly distinguishable from a conversion tool like doviz_cevir, but it never explicitly states that distinction, so it falls short of a 5.

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 only guidance is the conditional 'Kod verilmezse tüm kurlar döner', which tells the agent what happens when the filter is omitted. There is no explicit when-to-use/when-not or routing to doviz_cevir for actual conversion, so usage must be inferred.

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