Skip to main content
Glama

CalcBright Calculators

UAE Gratuity Calculator

uae_gratuity_calculator
Read-onlyIdempotent

AED 10,000 basic for 7 years earns AED 55,000 in gratuity.

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

Input Schema

NameRequiredDescriptionDefault
endNoLast working day Leave empty to use today's date. (YYYY-MM-DD)2025-12-31
basicNoLast basic monthly salary Basic salary only – excluding housing, transport and other allowances.
startNoJoining date (YYYY-MM-DD)2019-01-03
unpaidNoUnpaid leave days (days) Days of unpaid absence are excluded from service.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / end / default
      Previous value: -"2026-10-11"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.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint and a closed-world deterministic read, so the safety profile is covered. The description adds no behavioral context beyond the example: it says nothing about which labour-law formula is applied, whether a resignation-vs-termination distinction matters, or what happens for service under one year. It does at least hint that the result is an AED gratuity figure, but overall it contributes almost nothing the annotations don't already say.

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 padding, so nothing is wasted by length. However, it is neither front-loaded with a purpose statement nor structured to answer the first question an agent asks. Brevity here reflects under-specification rather than discipline.

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 zero-required-parameter calculator with defaults and no output schema, the description should establish what is computed, under which rules, and roughly what comes back. The example implies a monetary AED result, which partially covers the return-value gap, but the governing formula, the minimum-service threshold and any statutory caps are unstated. It is minimally usable because the schema is fully documented, 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%, and the schema already explains end date, joining date, basic salary (excluding allowances) and unpaid leave days precisely. The description's reference to a "basic" salary for a given number of years loosely maps to the basic/start/end parameters but adds no format, unit or edge-case detail. Baseline 3 applies because the input schema does the heavy lifting.

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

Purpose3/5

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

The description never states the tool's action; it offers only a worked example ("AED 10,000 basic for 7 years earns AED 55,000 in gratuity") from which the agent must infer that it computes UAE end-of-service gratuity from basic salary and service length. The name and title carry the actual purpose. With siblings like gcc_gratuity_calculator and saudi_end_of_service_calculator in the catalog, no explicit statement distinguishes this one beyond the implied AED jurisdiction.

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 mention of when to prefer the GCC or Saudi end-of-service calculators, and no statement of prerequisites such as jurisdiction or employment type. The AED figures only weakly imply a UAE-specific scope. The agent gets no routing signal from the description itself.

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