Skip to main content
Glama

MaliMoney Calculators

Savings Goal

savings_goal
Read-onlyIdempotent

Calculates the monthly contribution needed to reach a savings target, accounting for growth of existing savings. Use to plan contributions for a goal with a specified deadline and expected return.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "savings_goal"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearsNoTime until the goal in years, converted to a rounded number of months; defaults to 0.
goalAmountNoTarget savings balance in dollars; defaults to 0.
currentSavedNoCurrent savings toward the goal in dollars; defaults to 0.
annualReturnPctNoExpected annual return percentage divided by 12 for monthly compounding, expressed as 5 for 5%, not 0.05; defaults to 5.

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, idempotentHint, non-destructive, and closed-world, so the safety profile is fully covered and the description needn't repeat it. The description adds one genuine behavioral fact beyond the annotations: the projection accounts for growth of existing savings, not just a flat division of the target. It says nothing about defaults (0 for amounts, 5% return) or the shape of the result, which limits it to a 3.

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?

Two sentences, zero filler, and the core calculation is front-loaded before the usage sentence. Nothing could be removed without losing information.

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?

This is a read-only, four-optional-parameter calculator with no output schema, and the description covers what it computes and when to use it, so an agent can call it confidently. The remaining gap is that no tool is named as the alternative for overlapping goals like college or emergency savings, leaving sibling selection to the agent.

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 explains all four parameters including the 5-means-5%-not-0.05 convention and the years-to-months conversion. The description alludes to 'deadline' and 'expected return' but adds no syntax, units, or edge-case meaning beyond the schema. Baseline 3 is appropriate.

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 states a specific verb and resource: it 'calculates the monthly contribution needed to reach a savings target' and adds that it accounts for growth of existing savings. That is precise enough for an agent to know exactly what the tool returns. It does not distinguish itself from similar calculators such as college_savings or emergency_fund, which keeps it short of a 5.

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?

'Use to plan contributions for a goal with a specified deadline and expected return' gives a clear usage context, naming the two conditions (deadline and expected return) that make this the right tool. There is no when-not guidance and no named alternative for related savings questions, so the routing job is only partly done.

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