Skip to main content
Glama

MaliMoney Calculators

Pension Lump Sum

pension_lump_sum
Read-onlyIdempotent

Compare a one-time pension lump sum against keeping the monthly pension (annuity). Use when the user asks 'should I take the lump sum or the pension', 'is my pension buyout a good deal', 'lump sum vs monthly pension'. Present-values the pension stream (monthlyPension×12, optional COLA) over the payout horizon (lifeExpectancyAge − currentAge) at a discount rate, then compares to the lump sum; also returns the implied payout rate and the break-even return the lump sum must earn to match the pension. Pass lumpSum and monthlyPension (required). Single-life model — note it doesn't separately value joint-survivor benefits. Educational.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "lumpSum": "<lumpSum>",
      "monthlyPension": "<monthlyPension>"
    },
    "name": "pension_lump_sum"
  }
}

Input Schema

NameRequiredDescriptionDefault
colaPctNoAnnual cost-of-living adjustment on the pension, if any.
lumpSumYesThe one-time lump-sum offer.
currentAgeNoAge payments would begin.
monthlyPensionYesThe monthly pension (annuity) alternative.
discountRatePctNoRate used to present-value the pension (e.g. a safe return you could earn on the lump sum).
lifeExpectancyAgeNoAge through which payments are assumed to last.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare it safe and read-only; the description goes well beyond by disclosing the valuation method (monthlyPension×12 with optional COLA, discounted over lifeExpectancyAge − currentAge), the additional outputs (implied payout rate, break-even return), and an important modeling limitation (single-life only, joint-survivor benefits not valued). The educational disclaimer also sets expectations about the nature of the answer.

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?

Front-loads the purpose and trigger phrases before the methodology, and each sentence carries information about inputs, computation, outputs, or limits. The single long methodology sentence is dense but readable; it is thorough rather than padded.

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?

For a six-parameter calculator with no output schema, the description supplies the method, the key return values, the model's scope limitation, and the educational framing. An agent has everything needed to decide when to call it and to explain the result to a user.

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 description coverage is 100%, so every parameter including colaPct, discountRatePct, and lifeExpectancyAge is already documented in the schema. The description only restates that lumpSum and monthlyPension are required and gestures at how each is used in the formula, adding little beyond the structured fields. Baseline 3 is appropriate when the schema carries the parameter semantics.

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?

Starts with a specific verb+resource pairing ('Compare a one-time pension lump sum against keeping the monthly pension') and then spells out the exact computation performed. It is clearly distinguishable from siblings like ss_claim_age or retirement_readiness because the comparison object (lump sum vs. annuity) is named explicitly.

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 three concrete trigger phrasings ('should I take the lump sum or the pension', 'is my pension buyout a good deal', 'lump sum vs monthly pension'), which gives the agent an unambiguous use condition. It stops short of naming a sibling alternative or stating when NOT to use it, so it is clear context without explicit routing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources