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

nbrain-pharma-islamic-customs-mcp

aaoifi_zakat_fas39

Computes the AAOIFI FAS 39 Zakat base and obligation from cash, receivables, inventory, liabilities, and gold nisab, applying Hijri 2.5% or Gregorian 2.5775% rates.

Instructions

Computes AAOIFI FAS 39 Zakat base & obligation under Hijri 2.5% or Gregorian 2.5775% basis.

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": {
      "cash_and_equivalents": "<cash_and_equivalents>",
      "good_receivables": "<good_receivables>",
      "trading_inventory": "<trading_inventory>",
      "short_term_liabilities": "<short_term_liabilities>",
      "nisab_gold_85g_value": "<nisab_gold_85g_value>"
    },
    "name": "aaoifi_zakat_fas39"
  }
}

Input Schema

NameRequiredDescriptionDefault
currencyNo
calendar_basisNo
good_receivablesYes
trading_inventoryYes
cash_and_equivalentsYes
nisab_gold_85g_valueYes
short_term_liabilitiesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/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 burden. It usefully discloses the two rate bases (2.5% Hijri, 2.5775% Gregorian), which is meaningful behavioral context beyond the schema, but it does not state rounding behavior, currency handling, nisab comparison logic, or what the returned obligation includes.

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?

The definition is a single front-loaded sentence with no filler. It is efficient, though its brevity leaves important complexity unaddressed.

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?

This is a complex financial-standard calculation with seven parameters, five required, zero schema descriptions, no annotations, and no output schema. The one-sentence description is not complete enough for an agent to call it confidently without additional assumptions.

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 seven parameters, so the description must compensate, and it largely does not. It only loosely connects the calendar basis to the rate variants; it does not explain the required financial inputs, expected string formats, or how short-term liabilities and receivables are treated under FAS 39.

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 and resource: computes the AAOIFI FAS 39 Zakat base and obligation. The rate variants are stated, making the tool's purpose clear and distinguishable from the sibling standards tools.

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 guidance on when to use this tool versus alternatives, no prerequisites, and no exclusions. The agent must infer applicability from the name and description alone.

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