Skip to main content
Glama

Calculate MRR and ARR

calculate_mrr
Read-onlyIdempotent

Work out monthly and annual recurring revenue from paying customers and average revenue per customer, plus new, churned and net new MRR and where MRR stands in 12 months at the given sign-up and churn rates. Send numbers only (percentages as 5 for 5%). Answers a headline, the figures behind it and notes. Arithmetic on your own numbers, not financial advice. Answers from what you send alone: nothing is fetched or stored.

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": {
      "customers": "<customers>",
      "arpa": "<arpa>"
    },
    "name": "calculate_mrr"
  }
}

Input Schema

NameRequiredDescriptionDefault
arpaYesAverage revenue per customer, per month
churnNoCustomers lost per month (%). The share of customers who cancel in a month. Optional.
currencyNoThe sign money is written with; "none" for bare numbers. Default "$".
customersYesPaying customers
newCustomersNoNew customers per month Optional.

Output Schema

NameRequiredDescriptionDefault
toolYes
toolUrlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already establish that this is a read-only, idempotent, non-destructive, non-open-world calculation. The description adds useful behavioral context beyond that: it works only from supplied numbers, fetches and stores nothing, and returns a headline, figures, and notes, which is consistent with the annotations.

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

Conciseness4/5

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

The description is reasonably concise and front-loads the main calculation before adding input-format and self-contained-operation notes. The first sentence is dense with several metrics, but most sentences earn their place.

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 calculator with full schema coverage, annotations covering safety behavior, and an output schema, the description is largely complete. It clearly states what is computed, that it uses only provided numbers, and that nothing is persisted; the main remaining gap is explicit guidance on when to prefer this tool over the related calculators.

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 defines all five parameters. The description adds a useful input convention for percentages, '5 for 5%', and references sign-up and churn rates, but it does not explain the currency parameter or add substantial meaning beyond the schema.

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 uses a clear verb and resource: it computes monthly and annual recurring revenue plus related MRR metrics and a 12-month projection. It is specific enough to distinguish this as an MRR/ARR calculator, but it does not explicitly name sibling alternatives such as calculate_churn or calculate_ltv_cac.

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?

Usage is implied by the calculation described and by the note to send numbers only, but there is no explicit when-to-use or when-not-to-use guidance versus the other calculators. The 'not financial advice' line adds a boundary, yet it does not route the agent between alternatives.

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