Skip to main content
Glama

Brainy Prices — UAE Cost of Living

labour_calculator

Read-onlyIdempotent

Use when asked about overtime, leave or settlement. UAE labour law estimates (Decree-Law 33/2021): overtime pay, annual leave, final settlement. 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": {
      "calculator": "<calculator>",
      "basic_monthly_aed": "<basic_monthly_aed>"
    },
    "name": "labour_calculator"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_dateNo
day_hoursNo
calculatorYes
start_dateNo
night_hoursNo
notice_daysNo
notice_cut_byNo
wages_owed_aedNo
leave_taken_daysNo
basic_monthly_aedYes
unused_leave_daysNo
notice_worked_daysNo
total_monthly_wage_aedNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely new context beyond that: results are 'estimates' under a named statute and explicitly 'not legal advice', which tells the agent how to frame output reliability.

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, front-loaded with the usage trigger and the subject matter, with the disclaimer last. Nothing is repeated or padded, and every clause carries information.

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?

An output schema exists so return values need no explanation, but a 13-parameter, three-mode calculator with zero schema coverage needs parameter-to-mode mapping that the description entirely omits. The legal-scope note is useful, yet the definition is not complete enough for an agent to call it correctly on a first attempt.

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% across 13 parameters, so the description carries the full burden of explaining them and does not. It never indicates which parameters belong to which calculator value (e.g. that night_hours and day_hours apply to overtime while notice_days and leave_taken_days apply elsewhere), leaving an agent to guess among mostly optional fields.

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 resource (UAE labour law under Decree-Law 33/2021) and enumerates the three computations it performs: overtime pay, annual leave, and final settlement. That is enough to tell it apart from generic cost tools, though it does not distinguish itself from the adjacent end_of_service_gratuity sibling.

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?

It provides a clear trigger phrase ('Use when asked about overtime, leave or settlement'), which is real when-to-use guidance. It gives no when-not conditions, no prerequisites, and no routing advice toward or away from the closely related gratuity tool, so the guidance stops at implied usage.

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