Skip to main content
Glama

emergency fund target

emergency_fund_target
Read-onlyIdempotent

How big an emergency fund should be for a household: essential monthly spending times a recommended number of months (3 to 9) that rises with less stable work, a single income and higher health risk; plus the gap to close and how many months it takes at a given monthly saving. Any currency. Use this when someone asks how much emergency savings they need.

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": {
      "essentialMonthly": "<essentialMonthly>"
    },
    "name": "emergency_fund_target"
  }
}

Input Schema

NameRequiredDescriptionDefault
healthRiskNoHealth or care risk (default low)
currentSavedNoAlready saved (default 0)
jobStabilityNoWork stability (default good)
incomeStreamsNoHousehold income (default single)
monthlySavingNoWhat you can save each month (default 0)
essentialMonthlyYesEssential spending a month (housing, food, transport, utilities, insurance, minimum debt payments)

Output Schema

NameRequiredDescriptionDefault
nextNoOptional paid follow-on (name, url, what) where it genuinely helps
noteNoWhen the figures were read, and that this is general information, not advice
pageYesThe calculator page to cite or link, https://decisionscalc.com/...
resultYesThe calculation (usually an object), same engine and figures as the calculator page
sourcesYesOfficial source URLs for the figures used

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "next": {
      +      "description": "Optional paid follow-on (name, url, what) where it genuinely helps",
      +      "properties": {
      +        "name": {
      +          "type": "string"
      +        },
      +        "url": {
      +          "type": "string"
      +        },
      +        "what": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "note": {
      +      "description": "When the figures were read, and that this is general information, not advice",
      +      "type": "string"
      +    },
      +    "page": {
      +      "description": "The calculator page to cite or link, https://decisionscalc.com/...",
      +      "type": "string"
      +    },
      +    "result": {
      +      "description": "The calculation (usually an object), same engine and figures as the calculator page"
      +    },
      +    "sources": {
      +      "description": "Official source URLs for the figures used",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "result",
      +    "page",
      +    "sources"
      +  ],
      +  "type": "object"
      +}
  2. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare this read-only, idempotent, closed-world and non-destructive, so safety needs no restating. The description goes beyond them by disclosing the actual model: the runway scales from 3 to 9 months based on work stability, income streams and health risk, it reports both a gap and a time-to-close, and it works in any currency. That is genuine behavioral context an agent could not get from the annotations.

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 core formula is front-loaded in the first clause and the usage trigger closes the sentence, with no filler. It is a dense single sentence, though, so the gap and time-to-close outputs are packed into a semicolon rather than given their own line, making it slightly harder to scan than it could be.

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?

With an output schema present, the description need not enumerate return fields, and it instead covers the parts an agent must know to interpret the tool: the driver inputs, the 3-9 month range, currency agnosticism, and the conditional usage trigger. For a one-required-parameter calculator with full schema coverage, nothing material is missing.

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% and enum defaults are documented, so the baseline would be 3. The description earns a point by explaining what the enums mean in aggregate: the multiplier rises with less stable work, a single income and higher health risk, which tells the agent why jobStability/incomeStreams/healthRisk matter rather than just their allowed values.

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 precisely what is computed: essential monthly spending multiplied by a recommended 3-9 month runway, plus the funding gap and months-to-close at a given saving rate. That is a specific, self-contained purpose rather than a restatement of the name. It does not explicitly contrast itself with the many sibling cost calculators, so it falls 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 this when someone asks how much emergency savings they need" gives a clear triggering condition, which is exactly the phrasing an agent needs to route a question here. There are no exclusions or named alternatives (e.g., versus fire_number or a general savings goal), so it is clear context without the when-not guidance a 5 would require.

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.