Skip to main content
Glama

Daily exchange-rate history (Central Bank of Turkey)

doviz_gecmis
Read-onlyIdempotent

Returns daily TCMB (Central Bank of the Republic of Turkey) buying and selling rates of one currency in TRY, up to 5 years back; business days only (no weekends or holidays). Use doviz for the current rate.

Endpoint: GET /v1/doviz/gecmis. Available on all plans, including free. Costs 1 request unit per call. Read-only; JSON in Turkish with source and guncelleme (updated at) fields.

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_gecmis"
  }
}

Input Schema

NameRequiredDescriptionDefault
gunNoNumber of most recent days (1–1830, default 30). Ignored when `baslangic`/`bitis` are given.
kodNoOne ISO currency code, e.g. 'USD' (default), 'EUR'.USD
bitisNoEnd date, YYYY-MM-DD (inclusive).
baslangicNoStart date, YYYY-MM-DD (inclusive).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / baslangic / description
      Added value: +"Start date, YYYY-MM-DD (inclusive)."
    • addedInput schema / properties / bitis / description
      Added value: +"End date, YYYY-MM-DD (inclusive)."
    • addedInput schema / properties / gun / description
      Added value: +"Number of most recent days (1–1830, default 30). Ignored when `baslangic`/`bitis` are given."
    • addedInput schema / properties / kod / description
      Added value: +"One ISO currency code, e.g. 'USD' (default), 'EUR'."
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds context annotations cannot: business-day-only coverage (no weekends or holidays), a 5-year retention limit, availability on all plans including free, and a cost of 1 request unit per call. These are exactly the operational facts an agent needs before calling.

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?

Front-loaded with the core behavior and scope, then a compact block of endpoint, plan, cost, and response-format facts in one sentence. Nothing is repeated from the schema and there is no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description compensates by describing the return payload (JSON in Turkish, with source and `guncelleme`). Combined with the plan/cost notes and business-day caveat, an agent has everything needed to call this correctly for a four-parameter read tool.

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 description coverage is 100%, so baseline is 3. The description still adds meaning: the 5-year lookback reconciles with the `gun` maximum of 1830, and it clarifies the quote currency is always TRY and that only one currency (`kod`) is handled per call.

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 ('Returns daily TCMB buying and selling rates of one currency in TRY'), plus the exact scope ('up to 5 years back', 'business days only'). It explicitly distinguishes itself from the sibling `doviz`, so an agent can pick between history and current rate without opening a schema.

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?

Names the alternative explicitly ('Use doviz for the current rate') and gives a retention horizon that bounds applicability. It stops short of stating when-not conditions for this tool itself (e.g., unsupported currency codes, or when a date-range is preferable to `gun`), but the schema covers the mutual exclusivity.

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.

Resources