Skip to main content
Glama
Declan142

calcnook

calculate_retirement

Compute retirement corpus needed, monthly savings to reach a goal, or safe withdrawal amount under the 4% rule.

Instructions

Retirement planning in three modes: (1) corpus_needed — how much lump-sum do I need at retirement? (2) monthly_contribution_for — how much SIP to hit a target corpus? (3) safe_withdrawal — how much can I safely withdraw (4% rule)? Example queries: 'how much corpus to retire with ₹50k/month for 30 years', 'SIP needed to build 2 crore corpus in 20 years', 'safe monthly withdrawal from $1M at 4% rule'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeYesWhich calculation to perform.
annual_expenseNo[corpus_needed] Annual expense in today's money. Required for corpus_needed.
years_in_retirementNo[corpus_needed] Number of years in retirement.
post_retirement_returnNo[corpus_needed] Decimal nominal annual return during retirement.
inflationNo[corpus_needed] Decimal annual inflation rate.
target_corpusNo[monthly_contribution_for] Target retirement corpus. Required.
years_to_retirementNo[monthly_contribution_for] Years until retirement. Required.
annual_returnNo[monthly_contribution_for] Decimal expected annual return.
current_savingsNo[monthly_contribution_for / corpus_needed] Existing savings that will compound.
corpusNo[safe_withdrawal] Retirement corpus (lump-sum). Required.
withdrawal_rateNo[safe_withdrawal] Decimal annual withdrawal rate (default 0.04 = 4% rule).
Behavior3/5

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

No annotations exist, so the description carries the full burden. It explains the three calculation modes and their inputs, but does not disclose output format, currency assumptions, error handling, or edge cases (e.g., negative values).

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?

Description is well-structured with numbered modes and example queries. Every sentence adds value, no redundancy. Efficiently communicates complex functionality.

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?

With 11 parameters and no output schema, the description provides good clarity on modes and inputs. Lacks explicit output format (e.g., returns number in currency units) and edge case handling, but covers typical use cases.

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%, but the description adds meaning by grouping parameters per mode and providing usage examples. It helps clarify which parameters are required for each mode beyond the schema's individual descriptions.

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?

The description clearly states three specific modes of retirement calculation (corpus_needed, monthly_contribution_for, safe_withdrawal) with example queries. It distinguishes from sibling financial calculators by focusing exclusively on retirement planning.

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?

The description provides explicit context for when to use each mode and gives example queries. However, it lacks direct guidance on when not to use this tool versus alternatives like calculate_sip_dca or calculate_compound_interest.

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