Skip to main content
Glama

CalcBright Calculators

GCC Gratuity Calculator

gcc_gratuity_calculator
Read-onlyIdempotent

QAR 10,000 basic for 7 years earns QAR 49,000 in Qatar.

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": "gcc_gratuity_calculator"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoLast working day Leave empty to use today's date. (YYYY-MM-DD)2025-12-31
wageNoLast basic monthly salary Qatar, Bahrain and Oman: basic wage only. Kuwait: the last remuneration (basic plus regular allowances).
startNoJoining date (YYYY-MM-DD)2019-01-03
reasonNoHow did employment end?ended
countryNoCountry of employmentQA

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / end / default
      Previous value: -"2025-12-30"New value: +"2025-12-31"
    • changedInput schema / properties / start / default
      Previous value: -"2019-01-01"New value: +"2019-01-03"
  2. First observed

TDQS

C2.3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and openWorldHint=false, so the safety profile is covered. The description adds no behavioral context beyond that: it does not disclose that the result depends on how employment ended (the 'reason' enum), that wage definitions differ by country, or that the output is a computed monetary estimate with jurisdiction-specific assumptions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single short sentence with no filler, so nothing is wasted. However, the one sentence spent is an example rather than the front-loaded purpose statement an agent needs first, so brevity comes at the cost of usefulness.

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

Completeness2/5

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

For a five-parameter calculator covering four jurisdictions with no output schema, the description should state the calculation performed, the assumptions per country, and the effect of the resignation/termination reason. None of that is present; the only content is an illustrative number, so an agent cannot verify it is calling the right calculator for a Kuwait or Bahrain case.

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% and the wage field's description already encodes the country-specific definition, so the baseline is 3. The example does illustrate the relationship between basic wage, years of service and the resulting amount, which adds mild intuition, but it conveys no syntax, limits or edge-case meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description is a single worked example ('QAR 10,000 basic for 7 years earns QAR 49,000 in Qatar') rather than a statement of what the tool does. The title 'GCC Gratuity Calculator' is the only source of the verb+resource, and the description never says it computes end-of-service gratuity across the countries listed in the enum, nor distinguishes it from siblings like uae_gratuity_calculator or saudi_end_of_service_calculator.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no when-to-use guidance, no exclusions, and no routing to alternatives. The example implicitly scopes the tool to Qatar even though the schema accepts QA, KW, BH and OM, leaving the agent to infer country coverage from the schema rather than the description.

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