Skip to main content
Glama

SaaSCity

ARR bridge: new, expansion, contraction, churn

calculate_arr_bridge
Read-onlyIdempotent

Explain how ARR moved over a period: ending ARR = starting ARR + new + expansion - contraction - churned. Returns net new ARR, growth, the SaaS quick ratio ((new + expansion) / (contraction + churned)), and net and gross revenue retention of the starting base. Full calculator: https://saascity.io/free-tools/arr-calculator

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": {
      "start_arr": "<start_arr>"
    },
    "name": "calculate_arr_bridge"
  }
}

Input Schema

NameRequiredDescriptionDefault
new_arrNoARR from customers who started paying in the period
start_arrYesARR at the start of the period
churned_arrNoARR lost to customers who cancelled
expansion_arrNoARR added by existing customers (upgrades, seats, add-ons)
contraction_arrNoARR lost to downgrades from customers who stayed

Output Schema

NameRequiredDescriptionDefault
end_arrYes
grr_pctYes
nrr_pctYes
growth_pctYes
net_new_arrYes
quick_ratioYes
calculator_urlYes

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?

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is low. The description still adds real value by disclosing what is computed and returned: net new ARR, growth, the SaaS quick ratio with its exact numerator/denominator, and net and gross revenue retention measured against the starting base.

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?

Front-loaded with the core identity in the first clause, then the outputs. Two sentences carry the substance; the trailing calculator URL is mildly promotional but plausibly useful as a reference, so it does not materially hurt.

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?

With an output schema present, the description need not detail return values, yet it does name the headline metrics. Combined with the formula and annotations, an agent has enough to call this correctly; only the absence of sibling differentiation keeps it from being fully complete.

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 each input is already documented in the schema. The formula does add meaning by showing how the five inputs combine and confirming that churn and contraction are subtracted, but it introduces no input semantics beyond what the schema states.

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?

States a specific verb and resource: 'Explain how ARR moved over a period,' and gives the exact bridge identity (ending = starting + new + expansion - contraction - churned) plus the derived outputs. An agent knows precisely what computation this performs, though it never distinguishes itself from siblings such as calculate_arr or calculate_nrr by name.

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 formula and the enumerated outputs: use it when you want a full bridge and derived ratios. There is no explicit when-to-use/when-not-to-use guidance and no statement of how it differs from calculate_arr, calculate_churn, or calculate_nrr, leaving the agent to infer the choice from names alone.

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.