Skip to main content
Glama

Unit economics calculator

unit_economics
Read-onlyIdempotent

Calculates contribution margin, LTV, LTV/CAC, CAC payback, and AI cost per accepted outcome from user-supplied inputs, asking for missing assumptions instead of inventing them.

Instructions

Compute unit economics from the user's numbers: contribution per month and margin (including AI inference cost), LTV, LTV/CAC, CAC payback; or cost per accepted outcome for an AI work loop (cost per attempt / acceptance rate) against a measured baseline. States its assumptions. Never invent inputs: ask the user for the ones that are missing.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "unit_economics"
  }
}

Input Schema

NameRequiredDescriptionDefault
cacNo
price_per_monthNo
cost_per_attemptNo
gross_margin_pctNo
ai_cost_per_monthNo
monthly_churn_pctNo
acceptance_rate_pctNo
cost_to_serve_per_monthNo
baseline_cost_per_outcomeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful behavioral context beyond that: the tool states its assumptions and must not fabricate missing inputs. It stops short of saying what the response looks like or how partial input sets are handled.

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?

Two dense sentences, front-loaded with the computation itself before the two modes and the input-hygiene rule. The semicolon-and-parenthetical packing is heavy but no sentence is wasted or redundant.

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

Completeness3/5

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

Nine optional parameters, zero schema descriptions, no output schema, and two distinct calculation modes mean the description has to do a lot of work. It covers what is computed and the do-not-invent-inputs rule, but omits unit conventions and which parameter combinations are needed for each mode, leaving real ambiguity for a 9-param 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 0% across 9 parameters, so the description carries the full burden. It does map concepts to parameters (AI inference cost, CAC, churn-derived LTV, cost per attempt / acceptance rate, baseline cost per outcome), but leaves units ambiguous — notably whether percentages like gross_margin_pct or monthly_churn_pct are passed as 0-100 or 0-1, and how cost_to_serve_per_month relates to gross_margin_pct.

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 (compute) and resource (unit economics) and enumerates the concrete outputs: contribution per month and margin, LTV, LTV/CAC, CAC payback, plus a second mode (cost per accepted outcome for an AI work loop). This is clearly distinguishable from sibling tools like moat_check or business_model_map, though no sibling is named explicitly.

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 two-mode framing ('...or cost per accepted outcome for an AI work loop ... against a measured baseline') implicitly tells the agent which input set selects which calculation path. 'Never invent inputs: ask the user for the ones that are missing' gives a concrete operating rule when data is absent. No explicit when-not guidance or named alternative tool, which keeps it below a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.