Skip to main content
Glama

Business Calculator: GST, Margin & Everyday Formulas

Marketing, Sales Funnel & SaaS Metrics Calculators — Saifs AI

marketing_sales_calculators
Read-only

Calculate marketing, funnel and subscription metrics exactly: CTR, CPC, CPM, CPL, CPA, ROAS, simple ROI; funnel stage conversion, win rate, average deal size, sales velocity, quota attainment, pipeline coverage; CAC, LTV (no discounting), LTV:CAC, CAC payback, ARPU, MRR / ARR, churn and retention, NRR / GRR. Returns a standard-library Python script with only these calculators (ad_metrics_calculator, sales_funnel_calculator, unit_economics_calculator) to run in your code sandbox; each answer gives result, formula, inputs used, rounding, rule version and effective date. Inputs: tools (narrow to some of these calculators), calls ([{tool, operation, inputs, rounding?, as_of?}] baked into the script; a calculator from another area named in calls is added), calls_path (JSON file of calls in your sandbox). Calculation never runs on this server or any API. Not for EMI / interest / NPV / IRR (refused), nor attribution modelling, discounted LTV, customer segmentation (MCP 14). Operation and input names: business_calculator_list_formulas.

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": "marketing_sales_calculators"
  }
}

Input Schema

NameRequiredDescriptionDefault
callsNoCalculations to bake into the script (their calculators are included).
toolsNoNarrow the script to some of this area's calculators (default: all of them).
calls_pathNoJSON file of calls already in your sandbox.
full_catalogNoKeep descriptions and worked examples inside the script (larger).

Output Schema

NameRequiredDescriptionDefault
areaNo
notesNo
scriptYes
languageNo
requiresNo
calls_pathNo
operationsNo
call_formatNo
instructionsYes
writes_filesNo
calls_baked_inNo
engine_versionYes
included_toolsYes
server_computesNo
network_access_requiredNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover read-only and closed-world safety, but the description adds the crucial behavioral fact that no calculation runs on this server or any API — the tool emits a script. It also discloses lesser-known behavior: a calculator from another area named in calls is silently added, and every answer carries result, formula, inputs, rounding, rule version and effective date. It does not discuss failure modes (e.g., the 500-call cap or invalid tool names), which keeps it just under a 5.

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 metric list and the output artifact, then the mechanics, then exclusions — a sensible order with little filler. The dense parenthetical clauses in the middle ('calls ([{tool, operation, inputs, rounding?, as_of?}] baked into the script...)') are harder to parse than they need to be, but every sentence carries information.

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?

For a script-returning calculator with four optional parameters and an output schema, this covers what the agent needs: what gets computed, what artifact comes back, where it runs, how to target subsets, and what is out of scope. Return-value detail is largely carried by the output schema, so the description is not obligated to explain it further.

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 coverage is 100%, so baseline is 3, but the description adds real meaning beyond the schema: tools 'narrows' the script, calls are 'baked into' the script and pull in extra calculators, and calls_path refers to a JSON file already present in the sandbox. That clarifies the distinction between calls and calls_path, which the schema alone leaves implicit.

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?

States a specific verb and resource set: calculating named marketing, funnel and subscription metrics, and further clarifies the deliverable is a generated Python script using three named calculators. It also actively distinguishes itself from siblings by refusing finance-style work (EMI/interest/NPV/IRR) and pointing to business_calculator_list_formulas for operation/input names.

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

Usage Guidelines5/5

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

Gives explicit when-to-use (the listed metric families), explicit when-not (EMI/interest/NPV/IRR refused, plus attribution modelling, discounted LTV, customer segmentation), and names the sibling to consult for operation names. It also tells the agent where execution happens (your code sandbox, not this server), which is a usage constraint, not just background.

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.