Skip to main content
Glama
rehan1020

mcp-india-stack

by rehan1020

calculate_nps_projection

Read-onlyIdempotent

Calculate projected NPS corpus, lump sum, and monthly pension at retirement. Input monthly contribution and current age to receive estimates based on return and annuity assumptions.

Instructions

Calculate NPS corpus and monthly pension at retirement.

Use when planning retirement with NPS or projecting pension.

Args: monthly_contribution: Monthly NPS contribution current_age: Current age retirement_age: Retirement age (default 60) expected_annual_return: Expected annual return % annuity_rate: Annuity rate % annuity_percent: % of corpus to buy annuity (min 40%)

Returns: Projected corpus, lump sum, and monthly pension estimate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
current_ageYesCurrent age
annuity_rateNoAnnuity rate percentage
retirement_ageNoRetirement age
annuity_percentNoCorpus for annuity (min 40%)
monthly_contributionYesMonthly NPS contribution in INR
expected_annual_returnNoExpected annual return percentage

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changedv0.5.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / annuity_percent / title
      Added value: +"Annuity Percent"
    • addedInput schema / properties / annuity_rate / title
      Added value: +"Annuity Rate"
    • addedInput schema / properties / current_age / title
      Added value: +"Current Age"
    • addedInput schema / properties / expected_annual_return / title
      Added value: +"Expected Annual Return"
    • addedInput schema / properties / monthly_contribution / title
      Added value: +"Monthly Contribution"
    • addedInput schema / properties / retirement_age / title
      Added value: +"Retirement Age"
    • addedInput schema / title
      Added value: +"calculate_nps_projectionArguments"
    • addedOutput schema / title
      Added value: +"calculate_nps_projectionDictOutput"
  2. Addedv0.4.2

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already communicate readOnlyHint and idempotentHint, so the description does not need to restate that this is a safe read-only calculation. The description adds useful behavioral context by naming returned outputs: projected corpus, lump sum, and monthly pension estimate, supplemented by the 'estimate' qualifier. No side effects, mutations, or hidden dependencies are described, which is appropriate given the calculation tool.

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 purpose-first and then includes a usage line, a succinct Args list, and a Returns line. Every sentence is informative and there is no filler, but the Args block largely duplicates the schema and could be trimmed without losing meaning, so it is not a 5.

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

Completeness5/5

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

Given the tool's deterministic calculation nature, the readOnly/idempotent annotations, the fully documented schema, and the presence of an output schema, the description is complete enough for reliable usage. It states the input domain, the output nature, and the retirement-planning context. Nothing necessary for correct selection or invocation is missing.

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%, and the description essentially repeats the parameter names and short meanings already present in the input schema. For example, 'annuity_rate: Annuity rate %' adds no information beyond the schema's 'Annuity rate percentage.' The only marginal addition is calling out 'corpus to buy annuity (min 40%)', but that constraint already appears in the schema. This lands at the baseline 3.

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 opens with a clear, specific verb and resource: 'Calculate NPS corpus and monthly pension at retirement.' This leaves no ambiguity about what the tool does and distinguishes it from siblings like calculate_sip_returns or calculate_sukanya_samriddhi, because it is the only NPS retirement projection tool in the list.

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 explicitly states when to use it: 'Use when planning retirement with NPS or projecting pension.' This gives clear context, though it does not explicitly say which alternative tools to use for non-NPS projections or list exclusions, so it does not fully earn a 5.

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

Deploy Server

Other Tools