Skip to main content
Glama

finance_invest_calc

Read-only

Investment growth calculator — Compound growth projection: future value of an initial amount plus monthly contributions at a given annual return, total contributed, growth, optional inflation-adjusted value, and a year-by-year table. Price: $0.002 USDC (Base, via x402).

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": {
      "initial": "<initial>",
      "monthly": "<monthly>",
      "rate": "<rate>",
      "years": "<years>"
    },
    "name": "finance_invest_calc"
  }
}

Input Schema

NameRequiredDescriptionDefault
rateYesannual return in percent
yearsYesnumber of years
initialYesstarting amount
monthlyYesmonthly contribution
inflationNooptional annual inflation percent

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=true), so the description's main added value is the disclosure that a call costs $0.002 USDC on Base via x402 — information no annotation conveys and that matters before invocation. It could go further on payment failure modes or precision/rounding of results, but the cost disclosure is the substantive behavioral fact.

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?

One dense sentence that front-loads the core purpose and then the returned values, with the payment note as a short trailing sentence. Nothing is redundant, though the main clause is long enough that the inflation option and output list blur together.

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 five parameters, no output schema, and no nested objects, the description does the necessary work by enumerating the returned fields so the agent knows what to expect without an output schema, and flags the paid invocation. Remaining gaps — currency assumed, numeric precision of the table, behavior on invalid rates — are minor for a pure calculator.

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 each of the five parameters is documented in the schema itself, so the baseline is 3. The description adds only the 'optional' framing for inflation and the conceptual role of initial/monthly/rate, without units, formatting, or boundary behavior beyond what the schema already states.

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 names a specific verb and resource ('Investment growth calculator — Compound growth projection') and enumerates both inputs (initial amount, monthly contributions, annual return, optional inflation) and outputs (future value, total contributed, growth, year-by-year table). It is unambiguous about what is computed, though it never names a sibling such as finance_loan_calc to draw the investment-vs-loan boundary.

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?

Usage is implied rather than stated: an agent can infer this is the tool for projecting investment growth over time. There is no explicit when-to-use/when-not-to-use guidance and no routing to finance_loan_calc for amortization-style questions, so the agent must decide from the name alone.

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