Skip to main content
Glama

mechacut

money_interest

Compound interest + effective annual rate, closed form A = P(1 + r/m)^(mt), Decimal throughout, formula echoed in the answer so the caller can audit it. No rate is ever invented: all inputs are arguments. Free.

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": {
      "principal": "<principal>",
      "annual_rate_pct": "<annual_rate_pct>",
      "years": "<years>"
    },
    "name": "money_interest"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearsYes
principalYes
annual_rate_pctYes
compounds_per_yearNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations at all, the description carries the whole burden and does disclose meaningful traits: Decimal arithmetic throughout (precision guarantees), the formula being echoed in the answer (auditability of the result), and a guarantee that no rate is invented so all inputs are caller-supplied. It stops short of covering the default when compounds_per_year is omitted, rounding/output field details, or error behavior, so it is strong but not complete.

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

Conciseness5/5

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

Two tight sentences, front-loaded with the formula and computation, with each clause adding a distinct fact (precision, auditability, input provenance, cost). No redundancy or filler.

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?

Given a mutation-free calculator with no annotations and no output schema, the description supplies the formula, the precision model, what is returned (result plus echoed formula and EAR) and the no-invented-rate guarantee. The remaining gap is the behavior of the unrequired compounds_per_year parameter, which is the main thing an agent could get wrong.

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 0% across 4 parameters, so the description must compensate, and it does partially: the formula maps principal=P, annual_rate_pct=r, compounds_per_year=m, years=t. However, that mapping is left implicit, and the description never states what happens when the optional compounds_per_year is omitted, which is the one genuinely ambiguous parameter.

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 the two computations (compound interest and effective annual rate) and gives the exact closed form A = P(1 + r/m)^(mt), so the agent knows precisely what will be computed. It does not name or rule out any sibling (e.g. money_amortize, money_rates), so differentiation comes from the formula rather than explicit routing.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to use this tool versus alternatives such as money_amortize or money_rates, and no preconditions or exclusions. Usage must be inferred entirely from the formula.

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.