Skip to main content
Glama
MCP Financial Calculator

MCP Financial Calculator

cagr

Calculate compound annual growth rate from beginning value, ending value, and years to measure investment growth over time.

Instructions

Calculate compound annual growth rate.

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": {
      "beginningValue": "<beginningValue>",
      "endingValue": "<endingValue>",
      "years": "<years>"
    },
    "name": "cagr"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearsYes
endingValueYes
beginningValueYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, and it adds nothing beyond the name: no note that this is a pure computation, no sign/positivity constraints (the schema's exclusiveMinimum: 0 propagates to all three fields via $ref), and no indication of how the result is expressed. For a zero-annotation tool this is a significant gap, though the low-risk arithmetic nature limits the harm.

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

Conciseness3/5

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

A single, front-loaded sentence with no wasted words. Its brevity is achieved by omitting needed information rather than by efficient packaging.

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

Completeness2/5

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

The tool is simple, but with no annotations, no output schema, and zero parameter documentation, the definition leaves the agent guessing about result format (decimal vs. percentage) and about the positivity constraint baked into the schema. It should say more given how little structured metadata supports it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for three required parameters, and the description mentions none of them. The names beginningValue, endingValue, and years are partly self-explanatory, but nothing clarifies units, whether years may be fractional, or that the schema forces all three values to be strictly positive.

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 gives a specific verb and named financial metric ("Calculate compound annual growth rate"), which is unambiguous to an agent that knows the CAGR formula. It does not distinguish this from close siblings such as irr, xirr, or mirr, which compute related but different growth/return measures.

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 CAGR versus the sibling rate, irr, or xirr tools, and no prerequisites or exclusions. The agent must infer usage entirely from the formula name.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.