Skip to main content
Glama
Declan142

calcnook

calculate_islamic_financing

Compute Sharia-compliant financing: murabaha cost-plus sale, ijarah lease-to-own, and mudarabah profit-sharing investment.

Instructions

Calculate Islamic financing arrangements — Sharia-compliant alternatives to conventional loans. Three instruments: (1) murabaha — cost-plus sale (Sharia mortgage/asset purchase); (2) ijarah — lease-to-own (Sharia auto-loan/equipment); (3) mudarabah — profit-sharing investment (Sharia FD alternative). Example queries: 'murabaha financing for $100k house at 30% markup over 5 years', 'ijarah lease for car worth $30k at $600/month for 5 years', 'mudarabah: investor puts $100k, profit $20k split 70/30'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
instrumentYesWhich Islamic financing instrument to compute.
asset_costNo[murabaha/ijarah] Asset purchase price.
markup_percentNo[murabaha] Total markup as % of asset cost, e.g. 30.0 for 30%.
tenure_yearsNo[murabaha] Repayment tenure in years.
down_paymentNo[murabaha] Upfront payment by client.
monthly_rentNo[ijarah] Agreed monthly lease payment.
lease_yearsNo[ijarah] Lease duration in years.
transfer_feeNo[ijarah] Token ownership-transfer fee at end of lease.
capitalNo[mudarabah] Capital provided by investor.
actual_profit_amountNo[mudarabah] Realised profit (positive) or loss (negative).
investor_share_ratioNo[mudarabah] Investor profit share as decimal, e.g. 0.70 = 70%.
yearsNo[mudarabah] Optional: years to compute annualised return.
Behavior3/5

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

Description explains the three instruments and their mechanics but does not explicitly state that this is a non-destructive calculator with no side effects, auth requirements, or rate limits. Since annotations are absent, the description carries the full transparency burden but is not fully explicit.

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?

The description is three sentences plus examples, tightly packed with information. Uses clear structure with numbered instruments and example queries. No unnecessary words—every sentence earns its place.

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

Completeness4/5

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

Given the complexity of 12 parameters and three instruments, the description covers the purpose and usage well. However, it does not explain what the tool returns (no output schema), so the agent must infer output format from examples. Slightly incomplete for a fully self-contained definition.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with parameter descriptions. The description adds value by grouping parameters per instrument and providing realistic examples that illustrate usage, e.g., 'markup as % of asset cost' and profit split ratio. This reinforces understanding beyond schema alone.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states it calculates Islamic financing arrangements, lists three specific instruments (murabaha, ijarah, mudarabah) with brief explanations, and provides example queries. This distinguishes it from sibling tools like calculate_loan_payment or calculate_compound_interest.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Examples show when to use each instrument (e.g., 'murabaha financing for $100k house...'), providing practical guidance. However, it lacks explicit when-not-to-use or comparison with conventional loan tools, so not a perfect 5.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Declan142/calcnook-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server