Skip to main content
Glama

Compound interest calculator

calc_compound_interest
Read-onlyIdempotent

Read-only educational calculator. Calculates compound interest from principal, monthly contributions, annual return, years, and annual, monthly, weekly, or daily compounding. Returns a result from caller-supplied public inputs without changing page or account state, accessing BetterOff customer data, or providing personalized financial advice.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
yearsNoTime horizon (years)
principalNoInitial principal
annualFeePctNoAnnual fees (%) — Deducted from the assumed annual return.
annualRatePctNoAnnual return (%) — Nominal, before inflation.
contributionTimingNoContribution timing — Whether each monthly contribution is added before or after that month's growth.end
monthlyContributionNoMonthly contribution
compoundingFrequencyNoCompounding frequency

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

TDQS

A4.3/5.0
Behavior5/5

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

The description goes beyond the readOnlyHint/idempotentHint annotations by spelling out that it does not change page or account state, does not access customer data, and does not provide personalized financial advice. This gives an agent clear side-effect and privacy expectations.

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-load the core function and then state behavioral boundaries; every clause adds information. There is no filler or repetition.

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 a full input schema, an output schema, and rich annotations, the description covers the relevant behavioral boundaries and use context. Nothing necessary for correct invocation—safety, data privacy, or input scope—is missing.

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%, so the parameters are already fully documented with ranges, defaults, and enums. The description only topically lists inputs like 'principal, monthly contributions, annual return, years' without adding syntax or behavioral meaning beyond the schema.

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?

The description identifies a concrete function ('Calculates compound interest') and enumerates the exact inputs and compounding frequencies, making its scope unmistakable among siblings like calc_investment_return or calc_savings_goal. The 'Read-only educational calculator' label adds context that this is a projection tool, not a transactional one.

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?

The description implies use whenever a compound-interest projection is needed and explicitly excludes personalized advice, but it does not name an alternative tool or state when not to use it. Agents must infer selection from the domain rather than receive explicit routing guidance.

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.

TDQS

A3.8/5.0
Disambiguation2/5

The 14 calc_* tools are individually distinct, but run_public_calculator and compare_public_scenarios overlap with all of them, making it unclear when to use a specific calculator versus the generic runner. list_public_calculators and search_public_docs also have somewhat fuzzy boundaries.

Naming Consistency5/5

All tool names follow a consistent snake_case verb_noun pattern (calc_*, list_*, get_*, search_*, compare_*, run_*), with no mixed casing or irregular verb styles.

Tool Count3/5

At 22 tools, the set is on the heavy side and falls in the borderline 16–25 range. While most calculators earn their place, the generic run_public_calculator and compare_public_scenarios duplicate functionality already covered by the calc_* tools, inflating the count.

Completeness5/5

The surface covers a broad personal-finance calculator domain plus discovery, contract introspection, running, comparing, docs, pricing, and feature details. For a read-only educational server, there are no obvious gaps or dead ends.

Resources