Skip to main content
Glama
nbrain-pharma-islamic-customs-mcp

nbrain-pharma-islamic-customs-mcp

uae_mohre_gratuity

Calculates UAE MOHRE end-of-service gratuity under Decree-Law 33/2021 Article 51 using basic monthly wage and service days, applying 21/30-day accrual and a 24-month cap.

Instructions

Computes UAE MOHRE Decree-Law 33/2021 Article 51 gratuity (21/30 days basic wage, 24-month cap).

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_wage": "<basic_monthly_wage>",
      "service_days": "<service_days>"
    },
    "name": "uae_mohre_gratuity"
  }
}

Input Schema

NameRequiredDescriptionDefault
service_daysYes
unpaid_leave_daysNo
basic_monthly_wageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose the core computation rule and the 24-month cap, which is genuinely useful beyond the name. However, it says nothing about the return shape, rounding or currency conventions, error behavior on invalid input, or how the result is expressed.

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?

A single front-loaded sentence with the legal basis and formula, and no filler wording. Every clause contributes information an agent would otherwise have to guess.

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 calculation tool with three undocumented parameters, no annotations, and no output schema, the description should specify the return value and the meaning of each input, especially unpaid_leave_days and the service_days unit. As written, an agent would not know what it gets back or how leave days alter the result.

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 compensate, and it only partially does: 'basic wage' implies basic_monthly_wage is the wage basis, and the 24-month cap hints at the service_days horizon but never states its unit or format. The string type of basic_monthly_wage (decimal/currency representation) and the role of unpaid_leave_days are left entirely undocumented.

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?

The description states a specific verb ('Computes') and a precisely scoped resource ('UAE MOHRE Decree-Law 33/2021 Article 51 gratuity'), including the underlying rule (21/30 days basic wage) and the 24-month cap. The jurisdiction and statute citation make it unambiguously distinct from siblings such as saudi_eosb_art84_85 without needing to name them.

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 or when-not-to-use guidance, no statement of prerequisites, and no routing to alternatives such as the Saudi EOSB or GOSI tools for other jurisdictions. The reader must infer the applicable context entirely from the tool name and statute reference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.