Skip to main content
Glama

Amaltash Investment & Retirement Calculators

CAGR Calculator

calculate_cagr
Read-onlyIdempotent

CAGR Calculator with a chart, the same math as the web page. How fast did it grow each year? CAGR means compound annual growth rate. It is the one steady rate a year that takes your start value to your end value. It finds the one steady yearly rate that turns the start value into the end value over the years you type. It does not show how the value moved in between, only one steady rate. People ask for it as "cagr calculator", "how to calculate cagr" or "what is my yearly growth rate".

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

Input Schema

NameRequiredDescriptionDefault
endNoValue at the end. US dollars. Default: 15000.
startNoValue at the start. US dollars. Default: 10000.
yearsNoNumber of years. In years. 2.5 is fine. Default: 5.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already establish readOnlyHint, idempotentHint, destructiveHint=false, and closed-world behavior, so the safety profile is covered. The description contributes the useful behavioral fact that the result is a single smoothed rate and not a time series, which tells the agent what it will and won't get back. It stops short of describing the return shape or units (percent vs. decimal) despite claiming a chart in a tool with no output schema.

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

Conciseness2/5

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

The same concept is restated three separate times ('the one steady rate a year that takes your start value to your end value,' then 'it finds the one steady yearly rate that turns the start value into the end value over the years you type,' then the caveat again). Front-loading is diluted by the 'with a chart, the same math as the web page' preamble. Roughly half the text could be cut with no loss.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple three-parameter, no-required-argument calculator with full schema coverage and a read-only annotation profile, the description covers the concept adequately. However, it promises a chart and gives no sense of the return payload (a single number, whether as a percent, plus what chart data comes back), which matters because there is no output schema. It also omits the zero/negative-input edge cases inherent to CAGR math.

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 three parameters already carries units and defaults (USD values, years accepting 2.5). The description adds no format detail beyond 'the years you type' and 'start value to your end value,' so it neither helps nor hurts. Baseline 3 applies because the schema does the heavy lifting.

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 clearly states the tool computes a compound annual growth rate from a start value, an end value, and a number of years, and explicitly notes it returns one steady rate rather than a year-by-year path. It does not differentiate itself from the many sibling calculators (calculate_roi, compound_interest, calculate_average_cost) that operate on similar inputs, and the opening phrase about a chart and 'the same math as the web page' is noise rather than purpose.

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 guidance on when to pick this over a sibling such as calculate_roi, compound_interest, or estimate_doubling_time, which take overlapping concepts. The trailing sentence about people asking for 'cagr calculator' or 'how to calculate cagr' is keyword/search-phrasing marketing rather than a use-case condition. The only genuine scoping statement is the caveat that it will not show intermediate movement.

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