Skip to main content
Glama
Declan142

calcnook

calculate_zakat

Calculate annual Zakat al-Mal by adding zakatable assets, subtracting debts, and verifying the nisab threshold to determine the 2.5% wealth obligation due.

Instructions

Compute Zakat al-Mal (annual 2.5% Islamic wealth obligation). Sums all zakatable assets, deducts debts, checks nisab threshold (gold or silver basis), and returns the zakat due. Cross-cutting — any Muslim, any country. Example queries: 'how much Zakat do I owe on $25000 savings and $5000 stocks', 'zakat calculation with gold and silver holdings'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cashNoCash + bank balances.
gold_gramsNoGold owned in grams.
silver_gramsNoSilver owned in grams.
stocks_valueNoMarket value of zakatable equity holdings.
business_assetsNoBusiness inventory + receivables.
other_zakatable_assetsNoOther qualifying assets.
debtsNoOutstanding debts owed (deducted from wealth).
gold_price_per_gramNoCurrent gold price per gram in the chosen currency.
silver_price_per_gramNoCurrent silver price per gram.
nisab_basisNo'silver' (lower, more inclusive) or 'gold'.silver
currencyNoISO-4217 currency code for display.USD
Behavior3/5

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

No annotations provided, so description carries full burden. It outlines the steps (sums assets, deducts debts, checks nisab threshold) but does not detail exact calculation logic (e.g., how nisab threshold is applied). Adequate but not rich.

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?

Four sentences: purpose, steps, applicability, examples. Front-loaded with clear verb 'Compute'. No wasted words.

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?

Given the complexity (11 parameters, no output schema, no annotations), description provides overview and examples but lacks details on output format (e.g., what fields are returned). It mentions 'returns the zakat due' without further structure.

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 coverage is 100%, so baseline is 3. Description adds minimal extra meaning beyond schema—only mentions asset summing and debt deduction. Parameter behavior is already well-documented in schema.

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 the tool computes Zakat al-Mal (2.5% annual obligation) and distinguishes itself from siblings like 'calculate_saudi_zakat_citizen' by specifying cross-cutting applicability for any Muslim, any country.

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?

Provides context with 'Cross-cutting — any Muslim, any country' and example queries, but does not explicitly state when not to use this tool versus alternatives like 'calculate_saudi_zakat_citizen'.

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