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

nbrain-pharma-islamic-customs-mcp

aaoifi_sukuk_ijara_distribution

Calculates periodic Sukuk Ijara coupon distributions using Actual/354, Actual/355 Hijri leap, 360, or 365 day-count conventions for accurate Islamic finance accrual.

Instructions

Computes periodic Sukuk Ijara coupon distribution under Actual/354, Actual/355 (Hijri leap), 360, or 365.

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": {
      "nominal_value": "<nominal_value>",
      "annual_rental_rate_bps": "<annual_rental_rate_bps>",
      "accrual_days": "<accrual_days>"
    },
    "name": "aaoifi_sukuk_ijara_distribution"
  }
}

Input Schema

NameRequiredDescriptionDefault
currencyNo
day_countNo
hijri_yearNo
accrual_daysYes
nominal_valueYes
annual_rental_rate_bpsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description carries the full burden and does not say whether this is a pure computation with no side effects, what it returns, or how invalid day-count or missing Hijri year inputs are handled. The enumeration of the four conventions is useful but is the only behavioral content.

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 with no filler or redundancy. Brevity is appropriate, though it comes at the cost of the missing behavioral detail noted elsewhere.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a computational tool with six parameters, no annotations, no output schema, and zero schema descriptions, the definition is under-specified: return value shape, units (bps), and the role of currency and hijri_year are left to inference. It is not misleading, just thin.

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 six parameters. The description enumerates valid day_count values (Actual/354, 355, 360, 365), which meaningfully documents one parameter, but nominal_value, annual_rental_rate_bps, accrual_days, currency, and hijri_year remain entirely undocumented, and the leap-year linkage to hijri_year is only hinted at.

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?

States a specific verb ('Computes') and resource ('periodic Sukuk Ijara coupon distribution') with the day-count basis scope. The sibling tools cover unrelated AAOIFI/GCC/SFDA domains, so no explicit differentiation is needed, but the description stops short of saying what the computed output actually is.

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?

No when-to-use guidance, no prerequisites, and no mention of alternatives. An agent gets no signal about which day-count convention to pick or when this tool applies versus other AAOIFI computation tools.

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