Skip to main content
Glama

MRR Bridge and Net Revenue Retention

mrr_bridge
Read-onlyIdempotent

Explain how monthly recurring revenue (MRR) moved between two subscription snapshots. Send each customer's MRR at the start and at the end (customer code and amount), and mark customers at the end who had paid before the start snapshot but were at 0 in it (returning). Get back the MRR bridge: starting MRR, new, reactivation, expansion, contraction, churn and ending MRR, with the customer count for each movement, net and gross revenue retention, logo churn, the quick ratio, and the movement for every customer. Answer fields: ok, verdict, result, rule, does_not, sources, observation, signature, verify. Errors: ok false with the reason (bad input, too large, hourly limit). Free. No model, no network, nothing you send is stored by the tool, and every answer is signed with LLPRO's key (check it at https://llpro.ai/mrr-bridge). Labels are your own text: emails, web addresses and long digit runs are refused. Not legal, tax or financial advice.

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": "<start>",
      "end": "<end>"
    },
    "name": "mrr_bridge"
  }
}

Input Schema

NameRequiredDescriptionDefault
endYesEnd snapshot: each customer's MRR (up to 200; a customer missing here is read as 0).
labelNoOptional label, e.g. 'Oct 2026' (your own text, echoed).
startYesStart snapshot: each customer's MRR (up to 200; an empty list for a business with no customers yet).
end_dateNoOptional: date of the end snapshot.
start_dateNoOptional: date of the start snapshot (echoed; the bridge covers the span between the two snapshots).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / end / items / properties / customer / description
      Previous value: -"Your customer or account code (compared without regard to case; up to 12 digits in a row). Not a person's name or email."New value: +"Your customer code or billing-system customer ID, e.g. a Stripe cus_ ID (matched without regard to case, echoed as you sent it; up to 12 digits in a row; web addresses and phone, Social Security or card shapes are refused). Not a person's name or email."
    • changedInput schema / properties / end / items / properties / customer / maxLength
      Previous value: -30New value: +40
    • changedInput schema / properties / end / items / properties / returning / description
      Previous value: -"true if this customer paid before the start snapshot but had 0 MRR in it (counts as reactivation, not new)."New value: +"true if this customer paid before the start snapshot but had 0 MRR in it (counts as reactivation, not new). A customer at 0 at the start and above 0 at the end counts as new unless marked returning."
    • changedInput schema / properties / start / items / properties / customer / description
      Previous value: -"Your customer or account code (compared without regard to case; up to 12 digits in a row). Not a person's name or email."New value: +"Your customer code or billing-system customer ID, e.g. a Stripe cus_ ID (matched without regard to case, echoed as you sent it; up to 12 digits in a row; web addresses and phone, Social Security or card shapes are refused). Not a person's name or email."
    • changedInput schema / properties / start / items / properties / customer / maxLength
      Previous value: -30New value: +40
  2. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover read-only/idempotent/non-destructive, and the description goes well beyond them: cost ('Free'), no model or network, nothing stored, signed output with a key-verification URL, explicit error shape ('ok false with the reason (bad input, too large, hourly limit)'), and an input-refusal policy for labels. That is exactly the behavioral context annotations cannot express.

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?

It is front-loaded with the purpose and input recipe, then output, then constraints — a sensible order with little filler. It runs long as a single undivided block and the bare 'Answer fields: ok, verdict, result...' list conveys field names without meaning, though with no output schema that enumeration still earns some of its space.

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

Completeness5/5

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

With no output schema, the description carries the return-value burden and does so by enumerating the metrics and the envelope fields, plus error behavior, size limits, privacy and signature verification. Nothing an agent needs to call this correctly or interpret the response is left out, which is notable for a five-parameter aggregate tool.

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 customer, mrr, returning, label and the date fields are already fully documented in the schema. The description restates the 'returning' rule and the customer-code/amount pairing but adds no format, boundary or default detail beyond what the schema already provides, so the baseline of 3 applies.

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?

Opens with a specific verb and resource: 'Explain how monthly recurring revenue (MRR) moved between two subscription snapshots.' It then enumerates the exact output movements (new, reactivation, expansion, contraction, churn) plus NRR/GRR, logo churn and quick ratio, so an agent knows precisely what computation this performs rather than confusing it with a generic revenue report.

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?

It clearly states the calling pattern — send each customer's MRR at start and end, and explicitly flag customers who paid before the start snapshot but were 0 in it as 'returning' — which resolves the single most likely misuse. It does not name alternative tools or state when-not to use this one, so it stops short of full routing guidance.

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