Skip to main content
Glama

nestegg-calculators

Required Contribution

required-contribution
Read-onlyIdempotent

Inverse of contributions: the fixed monthly amount needed to reach a target future value over a number of months, given an optional starting balance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
monthsYesNumber of months.
targetValueYesFuture value goal.
presentValueNoOptional. Starting balance (default 0).
annualRatePctYesAnnual growth rate in percent.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
monthlyNoMonthly contribution needed (null if horizon<=0).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, covering the safety profile. The description adds that it is a deterministic calculation producing a fixed monthly amount, but does not disclose internal assumptions like compounding frequency. This is acceptable given annotations but not especially 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?

The description is a single sentence that is front-loaded with the inverse relationship, followed by a concise definition of the calculation. Every word earns its place; no redundant or filler content.

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?

The tool is simple, has an output schema (per context signals), and the description conveys the core purpose. It lacks explicit assumptions about compounding or contribution timing, but for a straightforward calculation tool the description is adequate and complete enough without over-burdening.

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 the schema already documents all parameters clearly. The description adds minimal value by referencing the optional starting balance, but the schema already includes that detail. Baseline 3 applies.

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 the tool computes the fixed monthly contribution needed to reach a target future value. It explicitly calls out being the inverse of the 'contributions' tool, which differentiates it from siblings.

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 'inverse of contributions' wording implies when to use this tool (when you know target value and need monthly contribution), but it does not explicitly name alternatives or exclusion criteria. Sibling tools like annuity-payment may overlap, so more direct guidance would improve.

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.