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

nbrain-pharma-islamic-customs-mcp

saudi_eosb_art84_85

Computes Saudi HRSD Labor Law Articles 84, 85 and 87 end-of-service benefits in exact SAR from monthly wage, service days, and termination reason for accurate settlement.

Instructions

Computes Saudi HRSD Labor Law Articles 84, 85 & 87 End-of-Service Benefit (EOSB) in exact SAR.

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": {
      "actual_monthly_wage": "<actual_monthly_wage>",
      "service_days": "<service_days>"
    },
    "name": "saudi_eosb_art84_85"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNo
service_daysYes
actual_monthly_wageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full disclosure burden and does not state that this is a side-effect-free computation, whether results are deterministic, how rounding to 'exact SAR' is performed, or which currency/units the output uses. The only behavioral hint is 'exact SAR', which is a precision claim rather than operational context.

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?

A single front-loaded sentence that identifies jurisdiction, statute, calculation, and output currency without filler. It is dense with legal acronyms but 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?

For a three-parameter statutory calculator with no annotations, no output schema, and 0% schema description coverage, the description leaves key gaps: how reason changes the formula, how wage and service periods must be formatted, and what the returned value looks like. An agent could call it but not confidently predict 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% for three parameters, so the description must compensate and largely does not: it never explains that service_days are calendar days of service, that actual_monthly_wage is a string-formatted amount, or that reason selects between Article 84/85/87 rules. The mention of 'Article 87' loosely corresponds to one enum value but no mapping is spelled out.

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 gives a specific verb ('Computes') plus a precisely scoped resource (Saudi HRSD Labor Law Articles 84, 85 & 87 End-of-Service Benefit in SAR), which separates it from the UAE gratuity sibling and the AAOIFI/GOSI tools by jurisdiction and domain. It is clear what the tool produces, though it does not explicitly name which sibling to use instead.

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 stated preconditions (e.g. that service must be terminated or that wage must be the final actual wage), and no comparison to uae_mohre_gratuity or other benefit calculators. Usage is only inferrable from the statute references in the name and description.

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