Skip to main content
Glama

MaliMoney Calculators

Inflation

inflation
Read-onlyIdempotent

Calculates an amount's future cost, future purchasing power in today's dollars, and cumulative inflation. Use to understand how inflation changes prices and buying power over time.

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

Input Schema

NameRequiredDescriptionDefault
yearsNoTime horizon in years; defaults to 0.
amountNoDollar amount whose future cost and purchasing power are evaluated; defaults to 0.
inflationRatePctNoAnnual inflation percentage, expressed as 3 for 3%, not 0.03; defaults to 3.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/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 safety and determinism are covered. The description adds that the computation is purely analytical and produces three distinct figures, but says nothing about edge cases such as negative years, zero amount, or extreme rates.

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?

Two sentences, no filler, with the concrete outputs front-loaded before the general use case. Slightly more could be trimmed from the second sentence, but it earns its place as the only usage signal.

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?

All three parameters are optional with documented defaults and there is no output schema, so naming the three returned figures is exactly the right compensation. What remains missing is any statement of the underlying compounding convention or behavior at zero defaults.

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 coverage is 100% and each parameter carries its own description including defaults and the percent-not-decimal convention. The description contributes no additional parameter meaning, so the baseline of 3 applies.

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?

"Calculates" is a specific verb paired with three named outputs: future cost, future purchasing power in today's dollars, and cumulative inflation. That makes the tool's function unambiguous relative to siblings like compound_interest or cd_hysa_growth, though it never explicitly contrasts itself with 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?

"Use to understand how inflation changes prices and buying power over time" implies the scenario but gives no when/when-not boundary or alternative routing. An agent can infer this is the inflation-only calculator, but nothing tells it when another sibling (e.g., compound_interest) would be the better pick.

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