Skip to main content
Glama

All AI LLC API: documents and calculators

Profit margin and break-even calculator (JSON)

calculate_profit_margin_break_even_calculator
Read-onlyIdempotent

Runs the calculator from https://allaiforms.com/tools/profit-margin-break-even-calculator/ on your numbers and returns the results as JSON (no files). Estimates from the numbers you enter. Not tax, accounting or financial advice. PAID: 10 credits ($0.01) per successful call from one-time prepaid credits; send Authorization: Bearer <api_key>. Failed or empty calls are free. Keyless callers get 3 free trial calls per day.

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": {
      "fields": "<fields>"
    },
    "name": "calculate_profit_margin_break_even_calculator"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowsNoTable rows by table id.
fieldsYesForm fields by id. Leave out what you do not know; the document keeps a blank line for it.
api_keyNoOptional. Only for clients that cannot send an Authorization header.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior5/5

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

Annotations only declare readOnly/idempotent/non-destructive/closed-world, which says nothing about cost or access. The description adds the pricing model (10 credits per successful call, failed or empty calls free), the exact auth mechanism (Authorization: Bearer <api_key>, or api_key field for header-less clients), the keyless trial limit (3/day), and a non-advice disclaimer. That is substantial behavior an agent could not get from structured fields.

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 what the tool does, followed by constraints and commercial terms; each clause carries information. Minor waste in the near-duplicate 'on your numbers' / 'Estimates from the numbers you enter', but nothing that obscures the call contract.

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?

No output schema exists, and the description only says results come back as JSON without indicating what the calculator returns (margin, break-even units, profit goal gap). Inputs and access requirements are fully covered, so the gap is confined to the return shape of a nested, multi-field calculator.

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 the schema already documents price, vc, fixed, units, target, notes and the api_key escape hatch. The description adds no syntax, units or interaction detail beyond that, so the baseline 3 applies.

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?

The description states a specific verb and resource: runs the profit margin / break-even calculator on supplied numbers and returns JSON rather than files. The '(no files)' clause implicitly contrasts with the generate_* siblings, though it never names one explicitly.

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?

Usage is only implied: 'returns the results as JSON (no files)' hints this is the calculation variant rather than the document-generating variant, but there is no explicit 'use this when / use X instead' statement. The billing and auth conditions are covered, but selection guidance between calculate_ and generate_ siblings is left to inference.

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.