Skip to main content
Glama
Declan142

calcnook

calculate_hajj_savings

Calculate monthly savings needed for Hajj pilgrimage, factoring in existing savings and halal investment returns to reach a target cost by a set year.

Instructions

Calculate the monthly savings needed to fund a Hajj pilgrimage by a target year. Accounts for existing savings and halal investment returns (sukuk/equity). Example queries: 'how much to save monthly for Hajj costing $8000 in 5 years', 'hajj savings plan with ₹50000 already saved, 6% return, 3 years'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hajj_cost_targetYesTotal estimated cost of Hajj in today's currency.
years_to_hajjYesNumber of years until Hajj trip.
current_savingsNoExisting savings already set aside.
expected_annual_returnNoExpected annual halal investment return as decimal (e.g. 0.06 for 6%).
Behavior3/5

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

With no annotations provided, the description carries the full burden. It states the tool calculates monthly savings and considers savings and returns, but does not disclose key behavioral traits like the formula used, compounding frequency, or whether inflation is considered. This is adequate for a straightforward financial calculation but could be more detailed.

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 description is concise with two sentences plus example queries. It is front-loaded with the core purpose. Every sentence adds context, and the examples efficiently illustrate usage. A slight deduction for missing output format.

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 lack of an output schema, the description does not explain the return format beyond implying a monthly savings amount. It also does not mention handling of edge cases like zero returns or existing savings exceeding target. For a simple calculator with 4 parameters, this is adequate but not comprehensive.

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?

The input schema has 100% description coverage, so the schema already explains the parameters. The description adds value through example queries that demonstrate parameter usage but does not provide additional semantic details beyond the schema.

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 clearly states the tool calculates monthly savings needed for a Hajj pilgrimage, using a specific verb and resource. It provides example queries that illustrate the use case. However, it does not explicitly differentiate from sibling calculators like 'calculate_islamic_financing' or 'calculate_compound_interest', though the Hajj-specific context makes it distinct.

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

Usage Guidelines3/5

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

The description explains that the tool accounts for existing savings and halal investment returns, and gives example queries that imply typical usage scenarios. However, it lacks explicit guidance on when not to use this tool (e.g., for non-Hajj savings) or mention of alternative tools for similar calculations.

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