Skip to main content
Glama

CalcBright Calculators

Overtime Calculator

overtime_calculator
Read-onlyIdempotent

Saudi overtime on SAR 6,000 basic plus SAR 3,000 allowances is SAR 50 an hour, not SAR 37.50. Get UAE, Saudi and US overtime pay from your real salary. Web page: https://calcbright.com/overtime-calculator

Input Schema

NameRequiredDescriptionDefault
rateNoHourly rate
basicNoBasic monthly salary Basic salary only, before housing, transport and other allowances.
otDayNoOvertime hours (hrs) Hours beyond your normal hours in the period.
rulesNoOvertime ruleshourly
totalNoTotal monthly wage Basic plus fixed allowances – Saudi law pays the full hourly wage plus 50% of the basic.
otNightNoOf which 10 pm – 4 am (hrs) Night overtime earns +50% instead of +25% (not for shift workers).
regularNoRegular hours (hrs)
restDayNoHours worked on rest days / holidays (hrs) UAE: paid +50% unless you get a substitute day off. Saudi Arabia: all such hours are overtime.
currencyNoCurrencyUSD
dayHoursNoNormal hours a day (hrs) Usually 8; 6 for Muslim workers in Ramadan in Saudi Arabia, 2 fewer in the UAE.
overtimeNoOvertime hours (hrs)
multiplierNoOvertime rate1.5

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / properties / basic
      Added value: +{
      +  "default": 6000,
      +  "description": "Basic monthly salary Basic salary only, before housing, transport and other allowances.",
      +  "maximum": 10000000,
      +  "minimum": 1,
      +  "type": "number"
      +}
    • addedInput schema / properties / dayHours
      Added value: +{
      +  "default": 8,
      +  "description": "Normal hours a day (hrs) Usually 8; 6 for Muslim workers in Ramadan in Saudi Arabia, 2 fewer in the UAE.",
      +  "maximum": 12,
      +  "minimum": 1,
      +  "type": "number"
      +}
    • addedInput schema / properties / otDay
      Added value: +{
      +  "default": 20,
      +  "description": "Overtime hours (hrs) Hours beyond your normal hours in the period.",
      +  "maximum": 720,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / otNight
      Added value: +{
      +  "default": 0,
      +  "description": "Of which 10 pm – 4 am (hrs) Night overtime earns +50% instead of +25% (not for shift workers).",
      +  "maximum": 720,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / restDay
      Added value: +{
      +  "default": 0,
      +  "description": "Hours worked on rest days / holidays (hrs) UAE: paid +50% unless you get a substitute day off. Saudi Arabia: all such hours are overtime.",
      +  "maximum": 720,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / rules
      Added value: +{
      +  "default": "hourly",
      +  "description": "Overtime rules",
      +  "enum": [
      +    "hourly",
      +    "uae",
      +    "ksa"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / total
      Added value: +{
      +  "default": 9000,
      +  "description": "Total monthly wage Basic plus fixed allowances – Saudi law pays the full hourly wage plus 50% of the basic.",
      +  "maximum": 10000000,
      +  "minimum": 1,
      +  "type": "number"
      +}
  2. First observed

TDQS

C2.8/5.0
Behavior3/5

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

readOnlyHint and idempotentHint already establish that this is a safe, repeatable computation, so the description owes little on the safety front. It does add genuine domain context via the Saudi example (allowances count toward the hourly wage), but it says nothing about the response shape or which parameters each rules mode consumes. The stated US support conflicts with the rules enum, which is a schema inconsistency rather than an annotation contradiction.

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

Conciseness4/5

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

Three short sentences with little wasted text, though the trailing website URL is pure promotion and the leading example is a poor front-load for a purpose statement. The useful routing information, if any, is buried at the end.

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?

With 12 parameters, three mutually exclusive rule regimes and no output schema, the description should explain which inputs each mode needs and what the result contains; instead it offers one illustrative number. An agent cannot tell from this text whether rate, multiplier, otNight or regular are relevant under uae versus ksa.

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%, so every one of the 12 parameters is already documented in the schema, which sets the baseline at 3. The worked example (SAR 6,000 basic + SAR 3,000 allowances = SAR 50/hr) does concretely illustrate how basic and total interact under Saudi rules, adding modest value beyond the schema.

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 second sentence gives a concrete verb and resource ("Get UAE, Saudi and US overtime pay from your real salary"), but the description opens with a bare worked example rather than stating what the tool does. It also fails to distinguish itself from nearby siblings like salary_calculator, hours_calculator or gcc_gratuity_calculator, and it advertises "US" overtime although the rules enum only offers hourly/uae/ksa.

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 explicit when-to-use or when-not-to-use guidance, and no help choosing among the three rules modes (hourly vs uae vs ksa), which is the single most important decision an agent must make here. The only implied usage cue is the mention of country names in passing.

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