Skip to main content
Glama

SteadyMetric Public Tools

AI margin & break-even

calculate_ai_margin
Read-onlyIdempotent

Calculate contribution and the price needed to reach a target margin from your own revenue and AI costs. Numeric scenarios only. Costs must cover the same period as revenue. This is contribution before any omitted payroll, taxes, refunds or overhead. A target price does not establish customer willingness to pay.

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": {
      "revenue": "<revenue>",
      "cost": "<cost>",
      "target": "<target>"
    },
    "name": "calculate_ai_margin"
  }
}

Input Schema

NameRequiredDescriptionDefault
costYesCosts included (USD)
targetYesTarget contribution margin (%)
revenueYesRevenue for the period (USD)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so the safety profile is covered; the description instead adds the substantive caveats that matter for this calculation: it is contribution before omitted payroll, taxes, refunds and overhead, and a target price does not establish willingness to pay. That is real disclosure of model limitations beyond what the structured fields provide. It does not say anything about the shape of the returned numbers, but with no output schema that is a modest gap.

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?

The purpose is front-loaded in the first sentence and every following sentence carries a distinct constraint or caveat rather than restating the title. The telegraphic fragments ("Numeric scenarios only.") are efficient, though the caveat cluster is dense enough that an agent must read the whole block.

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?

With three required, fully documented parameters and annotations covering safety, the remaining burden is explaining scope and interpretation, which the description does via the period-matching rule and the omitted-cost/willingness-to-pay caveats. The only real omission is any indication of what the returned contribution and target price look like, which matters somewhat given there is no output 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 coverage is 100%, so the baseline would be 3, but the description adds meaning the schema does not: costs and revenue must cover the same period, and revenue/costs are "your own" inputs rather than benchmarks. This materially constrains how the numeric-string parameters should be filled in.

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?

"Calculate contribution and the price needed to reach a target margin" names a specific verb and two concrete outputs, and "from your own revenue and AI costs" scopes the resource to the AI-margin domain, which separates it from the payment-fee, seat-renewal and SLA-budget calculators. It stops short of naming a sibling it is not, so it is clear but not fully differentiated.

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

Usage Guidelines3/5

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

"Numeric scenarios only" and "Costs must cover the same period as revenue" give real preconditions for calling the tool, but there is no guidance on when to prefer this over another calculator or what to do when the scenario is non-numeric. Usage is implied through input constraints rather than stated routing.

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