Skip to main content
Glama

Hesap Çantası

Ulusal bayram ve genel tatilde çalışma ücretini hesaplar

bayram_mesaisi
Read-only

Ulusal bayram ve genel tatilde çalışma ücretini hesaplar (4857 m.47: çalışılan her gün için bir günlük ilave ücret; arife yarım gün).

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": {
      "brut": "<brut>",
      "gun": "<gun>"
    },
    "name": "bayram_mesaisi"
  }
}

Input Schema

NameRequiredDescriptionDefault
ayNoAy numarası, 1 = Ocak … 12 = Aralık (net hesabı için)
gunYesTatilde çalışılan gün (arife 0,5)
brutYesAylık brüt maaş, TL

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safe, offline-computation profile is covered. The description adds useful domain behavior by stating the legal rule applied (one extra day's pay per day worked, half day for the eve). It says nothing about the returned figure (gross vs net, currency) or assumptions about monthly salary basis.

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?

A single front-loaded sentence with the core purpose first and the legal detail in a parenthetical; nothing is wasted. It is dense but appropriately sized for a simple calculator.

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 read-only, three-parameter calculator with no output schema, the description covers the legal basis but omits what the result represents (gross vs net amount, and that 'ay' drives the net variant). Those are the main gaps an agent would want closed before invoking it.

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, and the description goes slightly beyond by surfacing the 'arife yarım gün' rule, which explains the unusual 0.5 value allowed for 'gun'. It does not explain why 'ay' is optional (net calculation) beyond what the schema hint already provides.

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?

States a specific verb ('hesaplar') and a specific resource ('ulusal bayram ve genel tatilde çalışma ücreti'), plus the governing statute (4857 m.47), which makes the scope distinct from siblings like fazla_mesai or maas_brutten_nete. It stops short of naming any alternative tool explicitly, so it is clear but not fully differentiated.

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 domain implies when to use it (holiday-work pay calculations), and the legal citation ('çalışılan her gün için bir günlük ilave ücret; arife yarım gün') implies the case it handles. However, there is no explicit when-to-use/when-not statement and no pointer to which sibling to use for ordinary overtime or severance pay.

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.