Skip to main content
Glama

CAC Payback Months

cac_payback
Read-onlyIdempotent

Work out customer acquisition cost (CAC) and how many months of gross margin it takes to earn it back. Send the sales and marketing spend for a period and the new customers won in that period, and either the monthly revenue per new customer with the gross margin percent, or the monthly gross margin per customer in money. Get back CAC, the monthly gross margin per customer, the payback in months (exact and the month it is reached), and, if you send a monthly churn percent, the expected customer lifetime, lifetime gross margin (LTV) and LTV to CAC. 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/cac-payback). 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": {
      "acquisition_spend": "<acquisition_spend>",
      "new_customers": "<new_customers>"
    },
    "name": "cac_payback"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNoOptional label, e.g. 'Q3 paid search' (your own text, echoed).
new_customersYesNew customers won in the same period (at least 1).
acquisition_spendYesSales and marketing spend you count as acquisition cost for the period.
gross_margin_percentNoGross margin in percent (80 for 80%), applied to the monthly revenue.
monthly_churn_percentNoOptional: monthly customer churn in percent (2 for 2%), for lifetime, LTV and LTV to CAC.
monthly_revenue_per_customerNoAverage monthly recurring revenue per new customer (send with gross_margin_percent).
monthly_gross_margin_per_customerNoOr: the monthly gross margin per customer in money (instead of revenue and percent).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already establish read-only, idempotent, closed-world behavior, and the description adds substantial context on top: it is free, uses no model or network, stores nothing, signs every answer with a verifiable key at a given URL, and enumerates error modes (bad input, too large, hourly limit) as ok:false with a reason. It also discloses a non-obvious constraint that labels refuse emails, web addresses and long digit runs.

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 purpose, then inputs, then outputs, then trust/limitations, with no filler sentences. The one weak spot is the raw "Answer fields: ok, verdict, result, rule, does_not, sources, observation, signature, verify" list, which is terse to the point of being cryptic and is not explained.

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 seven parameters, no output schema and no enums, the description carries the burden well: it explains the alternative input combinations, what extra outputs each optional parameter triggers, the error contract, and the privacy/signature model. An agent has enough to call it correctly and interpret the response shape without a return schema.

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

Parameters4/5

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

Schema description coverage is 100%, so the baseline is 3, but the description adds real meaning the schema cannot express: the mutual exclusivity/alternatives between monthly_revenue_per_customer plus gross_margin_percent versus monthly_gross_margin_per_customer, and the fact that monthly_churn_percent unlocks lifetime, LTV and LTV-to-CAC. It does not restate units or ranges already in the schema.

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?

The opening sentence gives a specific verb and two concrete outputs (customer acquisition cost and months to earn it back), which is unambiguous. It also states the required inputs immediately, so an agent knows exactly what class of tool this is without opening the schema.

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?

Usage is framed conditionally and clearly: send spend plus new customers, then "either the monthly revenue per new customer with the gross margin percent, or the monthly gross margin per customer in money," and add churn only if lifetime/LTV outputs are wanted. That is strong input-path guidance, though there is no explicit statement of when not to use it or what to use instead.

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