Skip to main content
Glama

get_tcmb_rate

Read-only

Fetch official TCMB daily buy and sell exchange rates in TRY for a specified currency code, with separate buying and selling values.

Instructions

TCMB (Türkiye Cumhuriyet Merkez Bankası) resmi günlük kur bülteninden, belirtilen dövizin alış ve satış kurlarını TRY cinsinden döndürür. Frankfurter'dan farklı olarak resmi alış/satış ayrımı içerir.

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": {
      "currencyCode": "<currencyCode>"
    },
    "name": "get_tcmb_rate"
  }
}

Input Schema

NameRequiredDescriptionDefault
currencyCodeYesPara birimi kodu, ör. USD, EUR, GBP, JPY, CHF, SEK, NOK, DKK, CAD, AUD, KWD, SAR

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and openWorldHint, so safety is covered. The description adds useful behavioral context beyond that: the data source is the official TCMB daily bulletin, values are in TRY, and bid/ask are separated. It omits date semantics (is it always the latest bulletin?), weekend/holiday behavior, and any caching or freshness caveats, which matter for a daily-published rate.

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 tight sentences with the core purpose front-loaded and the differentiator second; no filler. It could be slightly more useful if the second sentence routed to a specific sibling rather than a third-party service name. Overall efficient and well-ordered.

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 one-parameter, no-output-schema tool, the description covers source, denomination, and bid/ask shape, which is close to sufficient. It leaves ambiguous whether the result is always today's bulletin or any available date, which is a meaningful gap given a date-less input. It is adequate but not complete.

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 single currencyCode parameter is already fully documented with examples in the schema. The description only restates 'belirtilen döviz' and adds no syntax, format, or constraint detail beyond the schema. Baseline 3 is appropriate when the schema does all the heavy lifting.

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 names a specific verb and resource: it returns official TCMB daily bulletin bid/ask rates for a given currency, denominated in TRY. It also draws one explicit contrast ('Frankfurter'dan farklı olarak resmi alış/satış ayrımı içerir'), which helps separate it from the generic exchange-rate sibling. It does not distinguish itself from near-siblings like get_tcmb_snapshot or get_historical_rate.

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 description implies usage (you need official Turkish central bank bid/ask quotes, not Frankfurter-style mid rates), which is enough to infer a basic fit. However, it gives no explicit when-to-use or when-not-to-use statement, and it never mentions the snapshot or historical-rate siblings that overlap the most. Guidance is implied rather than stated.

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