Skip to main content
Glama

Current exchange rates against Turkish lira

doviz
Read-onlyIdempotent

Returns current exchange rates in TRY: buy, sell, mid value, previous close and daily % change per currency. tur=anlik (default) is the live Grand Bazaar free-market rate, updated every minute; tur=referans is the end-of-day reference rate. For history use doviz_gecmis; to convert an amount use cevir_doviz; for gold, crypto or commodities use altin or piyasa_fiyat.

Endpoint: GET /v1/doviz. 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"
  }
}

Input Schema

NameRequiredDescriptionDefault
kodNoComma-separated ISO currency codes, e.g. 'USD,EUR,GBP'. Omit for all currencies.
turNo'anlik' = live Grand Bazaar rate (default); 'referans' = end-of-day reference rate.anlik

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / kod / description
      Previous value: -"Virgülle kodlar (ör. USD,EUR,GBP)"New value: +"Comma-separated ISO currency codes, e.g. 'USD,EUR,GBP'. Omit for all currencies."
    • changedInput schema / properties / tur / description
      Previous value: -"anlik: Kapalıçarşı, dakikada bir; referans: merkez bankası gün sonu referans kuru"New value: +"'anlik' = live Grand Bazaar rate (default); 'referans' = end-of-day reference rate."
  2. Changed1 schema field changed
    • changedInput schema / properties / tur / description
      Previous value: -"anlik: Kapalıçarşı, dakikada bir; referans: ECB gün sonu"New value: +"anlik: Kapalıçarşı, dakikada bir; referans: merkez bankası gün sonu referans kuru"
  3. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Goes well beyond the annotations, which already declare readOnly/idempotent/non-destructive. The description adds operational facts an agent cannot infer: availability on all plans including free, cost of 1 request unit per call, the live rate refreshing every minute versus an end-of-day reference, the GET /v1/doviz endpoint, and that responses are Turkish JSON containing `source` and `guncelleme`.

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 returned data, then mode selection, then sibling routing, then operational constraints — each sentence carries distinct information with no filler or restatement of the title.

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?

For a two-parameter read tool with no output schema, it covers everything an agent needs: what is returned, the two modes and their refresh semantics, cost, plan availability, response language and key response fields. Nothing material is left to inference.

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?

With 100% schema coverage the baseline is 3, and the description earns an increment by adding cadence and provenance context the schema lacks: `anlik` is the live Grand Bazaar free-market rate refreshed every minute, while `referans` is end-of-day. It does not repeat the `kod` semantics, but the schema already documents that fully with an example.

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?

Opens with a specific verb and resource ('Returns current exchange rates in TRY') and enumerates the returned fields (buy, sell, mid value, previous close, daily % change). It also explicitly separates itself from doviz_gecmis, cevir_doviz, altin and piyasa_fiyat, so an agent can pick it correctly 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 Guidelines5/5

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

Names the three alternative tools and the exact condition that selects each ('For history use doviz_gecmis; to convert an amount use cevir_doviz; for gold, crypto or commodities use altin or piyasa_fiyat'). It further gives in-tool guidance on which mode to choose via the `tur` explanation.

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