Skip to main content
Glama

Brainy Prices — UAE Cost of Living

end_of_service_gratuity

Read-onlyIdempotent

Use when asked about UAE gratuity or severance pay. UAE private-sector end-of-service gratuity estimate (Decree-Law 33/2021 art. 51): basic wage + dates → amount or range; not legal advice.

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": {
      "basic_monthly_aed": "<basic_monthly_aed>",
      "start_date": "<start_date>",
      "end_date": "<end_date>"
    },
    "name": "end_of_service_gratuity"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_dateYes
start_dateYes
unpaid_daysNo
work_patternNofull-time
basic_monthly_aedYes
total_monthly_wage_aedNo

Output Schema

NameRequiredDescriptionDefault
dataNo
metaNo
errorNo
linksNo
request_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety is covered. The description usefully adds the legal basis, the private-sector-only scope, and the fact that output is an estimate ('amount or range'), but says nothing about how rounding, currency, or unpaid-leave affects the result. With annotations carrying the safety profile, this is an incremental rather than rich addition.

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

Conciseness5/5

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

Two short sentences, trigger front-loaded, then mechanics, then the disclaimer. No filler and no repetition of the tool name.

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?

An output schema and rich annotations reduce what the description must carry, and the private-sector scope plus legal citation are valuable. However, for a six-parameter calculation whose inputs directly change the result, leaving half the parameters undocumented is a real gap an agent would notice at invocation time.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry parameter meaning, yet it only alludes to 'basic wage' and 'dates'. Three materially important parameters (unpaid_days, work_pattern with its opaque 'other-pay' enum value, total_monthly_wage_aed) are left unexplained in both the schema and the prose.

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+resource ('UAE private-sector end-of-service gratuity estimate'), cites the governing law (Decree-Law 33/2021 art. 51), and maps inputs ('basic wage + dates') to output ('amount or range'). It stops short of differentiating from the adjacent sibling 'labour_calculator', so an agent must infer which calculator applies.

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?

'Use when asked about UAE gratuity or severance pay' gives a clear trigger condition, and 'not legal advice' sets a boundary on the answer's authority. It states no explicit when-not cases (e.g., DIFC/ADGM or non-private-sector employment) and names no alternative tool.

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