Skip to main content
Glama

TCMB exchange rates

doviz_kurlari
Read-onlyIdempotent

Retrieve TCMB indicative exchange rates, including forex/effective buy/sell and cross rates by date. If no date or no bulletin exists (weekends/holidays), fetch the latest published bulletin.

Instructions

TCMB (Türkiye Cumhuriyet Merkez Bankası) gösterge niteliğindeki döviz kurlarını getirir: döviz alış/satış, efektif alış/satış, çapraz kurlar. Tarih verilmezse son yayımlanan bülten; hafta sonu/tatil gibi bülten olmayan günlerde bir önceki yayımlanmış bültene düşer. Indicative exchange rates from the Central Bank of the Republic of Türkiye (TCMB). Without a date: latest bulletin. For dates without a bulletin (weekends, holidays) it falls back to the last published day.

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
tarihNoBülten tarihi (YYYY-MM-DD veya GG.AA.YYYY); boşsa en güncel / Bulletin date; empty = latest
kodlarNoDöviz kodları, ör. ["USD","EUR"]; boşsa tümü / ISO currency codes, e.g. ["USD","EUR"]; empty = all

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and openWorld, and the description goes further by explaining the date-resolution fallback for non-publication days, which is a real behavioral trait an agent needs. It does not mention caching, rate limits, or how stale the 'latest' bulletin can be, so it stops short of full disclosure.

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?

Content is short and front-loaded, leading with the returned data types before the defaulting rules. The entire body is duplicated in Turkish and English, which is redundant token spend but a plausible, consistently applied localization choice rather than sloppy padding.

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 two-parameter, optional-parameter read tool with no output schema, the description covers what is fetched, the fallback rule, and the default filters. The only gap is the response shape (e.g. whether rates are returned per currency with named buy/sell fields), which an agent must discover by calling.

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 the baseline is 3, but the description earns one more by explaining what happens when a supplied date has no bulletin — a resolution rule the schema only hints at with 'empty = latest'. The `kodlar` parameter gets no extra explanation beyond the schema's own example, which is fine given coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (fetch TCMB indicative exchange rates) plus the exact data returned: döviz alış/satış, efektif alış/satış and cross rates. It is unambiguous against siblings such as market_fiyat_ara or resmi_tatiller, which cover different resources.

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?

Gives concrete operational context: omit the date to get the latest bulletin, and weekends/holidays fall back to the last published day. It never states when *not* to use it or names an alternative, but the sibling tools are all in unrelated domains, so selection ambiguity is genuinely low.

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