Skip to main content
Glama

Amaltash Investment & Retirement Calculators

Emergency Fund Calculator

plan_emergency_fund
Read-onlyIdempotent

Emergency Fund Calculator with a chart, the same math as the web page. How much should you keep for emergencies? An emergency fund is cash for surprise bills or a loss of pay. See your goal and how long it takes. It multiplies your monthly costs by the months you pick. Then it counts the months to save that much at your pace. It does not pick the right size for you. There is no one right number. People ask for it as "emergency fund calculator", "how much emergency fund should i have" or "how much should i have in an emergency fund".

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": "plan_emergency_fund"
  }
}

Input Schema

NameRequiredDescriptionDefault
apyNoSavings rate (APY). A percent: 5 means 5%. Your account’s rate. 0 leaves interest out. Default: 0.
costsNoMust-pay costs each month. US dollars. Rent, food, power, insurance, debt payments Default: 3200.
savedNoSaved so far. US dollars. Default: 1500.
incomeNoMoney still coming in each month. US dollars. A partner’s pay or jobless benefits Default: 0.
monthsNoMonths to cover. In months. Default: 3.
perMonthNoYou save each month. US dollars. Default: 400.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already state readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds real value by disclosing the formulas and by admitting it will not recommend a target size, but it says nothing about defaults, rounding or units of the result.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and math are front-loaded and easy to parse, but the trailing sentence listing search phrasings ('how much emergency fund should i have', etc.) is SEO padding that does not help an agent decide or call the tool.

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 six optional parameters, rich schema descriptions and full annotation coverage, the description supplies the missing pieces: the computation logic and what the result represents (a goal plus a timeline, shown as a chart). No output schema exists, yet the return shape is implied clearly enough.

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%, so the baseline is 3. The description earns more by explaining the relationship among costs, months and perMonth: costs times months gives the goal, and perMonth drives the savings timeline. That interaction is not stated in the schema, but apy, saved and income are left unexplained in the prose.

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 gives a specific calculation: it multiplies monthly costs by the chosen months, then counts the months needed to save that figure at a given pace. That is concrete enough to separate it from siblings like plan_credit_card_payoff or plan_mortgage_payoff, though it never names them.

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?

It frames the use case (a sudden bill or a lost paycheck) and warns that the tool does not choose the right fund size for the user, so there is no one right number. However, it gives no explicit when-not guidance and points to no alternative tool, so the agent has to infer the boundaries.

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