Skip to main content
Glama

Time-deposit return calculator

hesapla_mevduat
Read-onlyIdempotent

Calculates gross interest, withholding tax (stopaj), net return and maturity amount of a term deposit using the legal withholding rate for the term. Pure calculation; pass the bank's annual rate.

Endpoint: GET /v1/hesapla/mevduat. Requires a paid plan (free plan returns 403). Costs 1 request unit per call. Read-only; JSON in Turkish with source and guncelleme (updated at) fields.

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": {
      "tutar": "<tutar>",
      "faiz": "<faiz>"
    },
    "name": "hesapla_mevduat"
  }
}

Input Schema

NameRequiredDescriptionDefault
gunNoTerm in days (1–3650, default 32).
faizYesAnnual gross interest rate in %, e.g. 45.
paraNo'tl' = Turkish lira deposit (default); 'doviz' = foreign-currency deposit (different tax rate).tl
tutarYesPrincipal amount.
stopajNoOverride withholding tax rate in %. Omit to use the legal rate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / faiz / description
      Previous value: -"Yıllık brüt faiz (%)"New value: +"Annual gross interest rate in %, e.g. 45."
    • changedInput schema / properties / gun / description
      Previous value: -"Vade (gün)"New value: +"Term in days (1–3650, default 32)."
    • addedInput schema / properties / para / description
      Added value: +"'tl' = Turkish lira deposit (default); 'doviz' = foreign-currency deposit (different tax rate)."
    • addedInput schema / properties / stopaj / description
      Added value: +"Override withholding tax rate in %. Omit to use the legal rate."
    • addedInput schema / properties / tutar / description
      Added value: +"Principal amount."
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover read-only/idempotent/non-destructive, and the description adds substantial context beyond them: paid plan required (free returns 403), 1 request unit cost per call, and that responses are Turkish JSON with source and guncelleme fields. These are exactly the operational facts an agent needs.

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?

Front-loads the core purpose in the first sentence, then adds operational details in a compact second block. No filler, though the endpoint/cost/format block is dense and could be slightly tighter.

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 naming the returned values (gross interest, stopaj, net return, maturity amount) and the response envelope (Turkish JSON with source and guncelleme). Nothing essential for correct invocation is missing.

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 coverage is 100%, so all five parameters are already documented. The description adds only marginal meaning, clarifying that faiz is the bank's annual rate and that the legal withholding rate applies by default, which the schema largely covers via the stopaj description.

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: calculates gross interest, withholding tax (stopaj), net return and maturity amount of a term deposit. This clearly separates it from siblings like hesapla_kredi and hesapla_kidem, which are different calculators.

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 clear context: 'Pure calculation; pass the bank's annual rate' tells the agent this is a stateless computation, and the paid-plan/403 note sets a precondition. It does not explicitly name alternatives or when-not-to-use, so it falls short of a 5.

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