Skip to main content
Glama

NeatAnswer

compound_interest

Read-only

Future value of savings with compound interest and optional monthly contributions (added at month end).

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_percent": "<annual_rate_percent>",
      "years": "<years>"
    },
    "name": "compound_interest"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearsYesNumber of years
principalYesStarting amount
compounds_per_yearNoDefault 12
annual_rate_percentYesYearly rate in percent
monthly_contributionNoDefault 0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare the tool as read-only and closed-world. The description adds one useful behavioral detail, namely that monthly contributions are added at month end, but it does not disclose rounding, rate conventions, or the exact returned value shape.

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?

The description is a single, front-loaded sentence with no unnecessary wording. It communicates the core calculation and the key month-end contribution timing efficiently.

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?

For a simple read-only calculator with fully described parameters, the description gives enough context to call the tool correctly. It could be slightly richer about the output or rate conventions, but the phrase 'future value of savings' sufficiently identifies the return.

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 schema already documents all five parameters. The description adds only one nuance beyond the schema: monthly contributions are applied at month end, which is useful but limited.

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 states a specific calculation: future value of savings with compound interest and optional monthly contributions. This is clear enough to identify the resource, but it does not explicitly distinguish itself from sibling calculators such as loan_payment or percent_change.

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 intended use is implied by 'Future value of savings with compound interest,' but there is no explicit when-to-use guidance, no exclusions, and no reference to alternative tools. The scenario is clear, but routing guidance is absent.

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