Skip to main content
Glama

finance_saas_metrics

Read-only

SaaS metrics calculator (NRR, churn, LTV:CAC, magic number) — SaaS / subscription health from one period of MRR movements: mrr_start, new_mrr, expansion_mrr, contraction_mrr, churned_mrr (optional: mrr end, customers_start, new_customers, lost_customers, sm_spend, gross_margin %, growth % YoY, profit_margin %, net_burn, period=month|quarter). Returns ARR, ARPA, growth (monthly + annualized), gross/net revenue retention, gross MRR + logo churn, quick ratio, customer lifetime, LTV, CAC, LTV:CAC, CAC payback months, magic number, burn multiple, Rule of 40, GOOD/OK/WEAK benchmark per metric, flags and a verdict STRONG/HEALTHY/MIXED/UNHEALTHY. Offline, instant. Price: $0.003 USDC (Base, via x402).

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": {
      "mrr_start": "<mrr_start>",
      "new_mrr": "<new_mrr>",
      "expansion_mrr": "<expansion_mrr>",
      "contraction_mrr": "<contraction_mrr>",
      "churned_mrr": "<churned_mrr>",
      "customers_start": "<customers_start>",
      "new_customers": "<new_customers>",
      "lost_customers": "<lost_customers>",
      "sm_spend": "<sm_spend>",
      "gross_margin": "<gross_margin>",
      "profit_margin": "<profit_margin>"
    },
    "name": "finance_saas_metrics"
  }
}

Input Schema

NameRequiredDescriptionDefault
new_mrrYes9000
sm_spendYes60000
mrr_startYes120000
churned_mrrYes2400
gross_marginYes78
expansion_mrrYes3000
new_customersYes30
profit_marginYes-10
lost_customersYes8
contraction_mrrYes1000
customers_startYes400

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly/destructive=false, so the safety profile is covered; the description adds genuinely non-obvious behavior: it is offline and instant, and it costs $0.003 USDC on Base via x402. That cost/mechanism disclosure is high-value for an agent deciding to call it, though it says nothing about validation failures or what happens when inputs are inconsistent.

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 purpose and inputs, then returns, then pricing — a sensible order, and with no output schema the return enumeration earns its space. The first sentence is overloaded and run-on, bundling inputs, optional flags and the period enum into one breath.

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 an 11-required-parameter tool with no output schema, the description does the heavy lifting: it enumerates returned metrics, benchmark bands, flags and the final verdict, and adds cost/latency. The remaining gap is the input-list mismatch — required set, optional set, and the period parameter do not line up with the schema, which could mislead an agent about what to send.

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 coverage is 100%, but the schema "descriptions" are only sample values ("9000", "60000", "-10"), so the prose is what conveys that these are MRR movements, customer counts, S&M spend and margin percentages. However it never gives units, sign conventions, or formats, and it calls net_burn, growth %, mrr_end and period "optional" when the schema has no such properties and marks all 11 required — creating ambiguity rather than resolving it.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

"SaaS metrics calculator (NRR, churn, LTV:CAC, magic number)" is a specific verb+resource with named outputs, and "subscription health from one period of MRR movements" pins the scope. No sibling in the catalog computes SaaS/subscription metrics, and the description makes that domain separation obvious without naming an alternative.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description makes the preconditions concrete: one period of MRR movements plus customer counts, with period=month|quarter. It gives clear context for when the tool applies but states no exclusions or when-not-to-use conditions (e.g., multi-period trend analysis, partial data).

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