Skip to main content
Glama

Replacement forecast

replacement_forecast
Read-only

Forecast which household items may need replacing within a set number of years, based on expected lifespan and purchase date, and estimate replacement costs. Use it to plan upcoming big expenses.

Instructions

What's likely to wear out and need replacing, by year — from each thing's lifespan (its own, its category's, or the typical life for its kind: a water heater ~10 years, a fridge ~13) counted from when it was bought (or added), with what replacing it might cost (replacement cost if set, else price paid, else value). Use it for "what big expenses are coming up?" or "what's past its typical life?". These are estimates — say so, and never tell the person to replace something just because it's old. A thing's or category's lifespan can be set with update_item / save_category lifespanYears.

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

Input Schema

NameRequiredDescriptionDefault
yearsNoHow many years ahead, from this one

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2026.11.14

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description goes further by explaining the derivation logic (lifespan from item, category, or type default; start date from purchase or add date; cost from replacement cost, then price paid, then value). It also discloses that results are estimates and adds a communication guardrail against advising replacement purely on age — meaningful behavior beyond 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?

Content is front-loaded with the core purpose first, then derivation logic, then usage and caveats. The dense run of stacked parentheticals makes it a long single block, but nearly every clause carries real 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?

With no output schema, the description does the work of explaining what comes back: items, the year they're likely due, and an estimated replacement cost with its fallback chain. For a read-only, single-parameter tool this is close to complete; only the response shape (grouping, ordering) is left implicit.

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% and the single 'years' parameter is fully documented in the schema (default 10, range 1–30). The description only reinforces the forward-looking framing ('by year', 'counted from when it was bought') without adding syntax or edge-case guidance for the horizon parameter, so 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?

States a specific capability: forecasting what will wear out and need replacing, grouped by year, with cost estimates. It immediately distinguishes itself from inventory-mutation siblings like update_item and save_category by being a forward-looking read/estimate tool.

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?

Gives two concrete triggering questions ('what big expenses are coming up?' and 'what's past its typical life?') that tell the agent exactly when this tool fits, and points to update_item / save_category for configuring lifespanYears. It does not explicitly state when NOT to use it or name a competing sibling, so it falls short of the top tier.

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