Skip to main content
Glama

BusCalc — Business & Trade Calculations

Break even sales

buscalc_break_even_sales
Read-onlyIdempotent

Find units and revenue needed to cover fixed costs. Use this tested BusCalc worksheet when the task matches its inputs and scope. Returns named results, units, formula, assumptions, method version and a source-page URL. No prices or omitted costs are looked up; no private projects or purchases are accessed. Use inputs.fixed for fixed costs, with inputs.price and inputs.variable for per-unit amounts. Put tool fields inside inputs. Supply units or modelVersion only when listed in inputSchema. Follow its required fields and exact choices. Do not pass the REST calculator field inside MCP arguments.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "inputs": {
        "fixed": 10000,
        "price": 50,
        "variable": 30
      }
    },
    "name": "buscalc_break_even_sales"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitsNo
inputsYes
modelVersionNoOptional expected method version; a mismatch is rejected.

Output Schema

NameRequiredDescriptionDefault
unitsNo
inputsYes
receiptYes
resultsYes
sourceURLYes
calculatorYes
modelVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed18 schema fields changed
    • addedInput schema / properties / inputs / properties / fixed / anyOf
      Added value: +[
      +  {
      +    "maximum": 1000000000000,
      +    "minimum": 0,
      +    "type": "number"
      +  },
      +  {
      +    "pattern": "^\\s*(?:[+-]?(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:[eE][+-]?\\d+)?|0[xX][\\da-fA-F]+|0[bB][01]+|0[oO][0-7]+)\\s*$",
      +    "type": "string"
      +  }
      +]
    • changedInput schema / properties / inputs / properties / fixed / description
      Previous value: -"Fixed cost in period. Matching invoice, quote, statement, bookkeeping record or explicit budget amount for fixed cost in period. Use the stated period and exclude amounts already counted in another field. Zero means intentionally excluded/not incurred, not unknown."New value: +"Fixed cost in period. Matching invoice, quote, statement, bookkeeping record or explicit budget amount for fixed cost in period. Use the stated period and exclude amounts already counted in another field. Zero means intentionally excluded/not incurred, not unknown. JSON numbers are preferred. Nonblank strings are also accepted when JavaScript Number conversion yields a finite value meeting the same bounds and whole-number rules."
    • removedInput schema / properties / inputs / properties / fixed / maximum
      Removed value: -1000000000000
    • removedInput schema / properties / inputs / properties / fixed / minimum
      Removed value: -0
    • removedInput schema / properties / inputs / properties / fixed / type
      Removed value: -"number"
    • addedInput schema / properties / inputs / properties / fixed / x-buscalc-numeric-string
      Added value: +true
    • addedInput schema / properties / inputs / properties / price / anyOf
      Added value: +[
      +  {
      +    "exclusiveMinimum": 0,
      +    "maximum": 1000000000000,
      +    "type": "number"
      +  },
      +  {
      +    "pattern": "^\\s*(?:[+-]?(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:[eE][+-]?\\d+)?|0[xX][\\da-fA-F]+|0[bB][01]+|0[oO][0-7]+)\\s*$",
      +    "type": "string"
      +  }
      +]
    • changedInput schema / properties / inputs / properties / price / description
      Previous value: -"Selling price per unit. Matching invoice, quote, statement, bookkeeping record or explicit budget amount for selling price per unit. Use the stated period and exclude amounts already counted in another field. Zero means intentionally excluded/not incurred, not unknown."New value: +"Selling price per unit. Matching invoice, quote, statement, bookkeeping record or explicit budget amount for selling price per unit. Use the stated period and exclude amounts already counted in another field. Zero means intentionally excluded/not incurred, not unknown. JSON numbers are preferred. Nonblank strings are also accepted when JavaScript Number conversion yields a finite value meeting the same bounds and whole-number rules."
    • removedInput schema / properties / inputs / properties / price / exclusiveMinimum
      Removed value: -0
    • removedInput schema / properties / inputs / properties / price / maximum
      Removed value: -1000000000000
    • removedInput schema / properties / inputs / properties / price / type
      Removed value: -"number"
    • addedInput schema / properties / inputs / properties / price / x-buscalc-numeric-string
      Added value: +true
    • addedInput schema / properties / inputs / properties / variable / anyOf
      Added value: +[
      +  {
      +    "maximum": 1000000000000,
      +    "minimum": 0,
      +    "type": "number"
      +  },
      +  {
      +    "pattern": "^\\s*(?:[+-]?(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:[eE][+-]?\\d+)?|0[xX][\\da-fA-F]+|0[bB][01]+|0[oO][0-7]+)\\s*$",
      +    "type": "string"
      +  }
      +]
    • changedInput schema / properties / inputs / properties / variable / description
      Previous value: -"Variable cost per unit. Period variable expense ÷ matching units for a consistent product mix; excludes fixed expenses."New value: +"Variable cost per unit. Period variable expense ÷ matching units for a consistent product mix; excludes fixed expenses. JSON numbers are preferred. Nonblank strings are also accepted when JavaScript Number conversion yields a finite value meeting the same bounds and whole-number rules."
    • removedInput schema / properties / inputs / properties / variable / maximum
      Removed value: -1000000000000
    • removedInput schema / properties / inputs / properties / variable / minimum
      Removed value: -0
    • removedInput schema / properties / inputs / properties / variable / type
      Removed value: -"number"
    • addedInput schema / properties / inputs / properties / variable / x-buscalc-numeric-string
      Added value: +true
  2. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "inputs": {
      +      "fixed": 10000,
      +      "price": 50,
      +      "variable": 30
      +    }
      +  }
      +]
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "calculator": {
      +      "type": "string"
      +    },
      +    "inputs": {
      +      "type": "object"
      +    },
      +    "modelVersion": {
      +      "type": "string"
      +    },
      +    "receipt": {
      +      "properties": {
      +        "additionalResults": {
      +          "type": "object"
      +        },
      +        "assumptions": {
      +          "type": "string"
      +        },
      +        "calculator": {
      +          "type": "string"
      +        },
      +        "checks": {
      +          "items": {
      +            "properties": {
      +              "name": {
      +                "type": "string"
      +              },
      +              "status": {
      +                "enum": [
      +                  "passed"
      +                ],
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "name",
      +              "status"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "formula": {
      +          "type": "string"
      +        },
      +        "inputs": {
      +          "type": "object"
      +        },
      +        "integrity": {
      +          "type": "string"
      +        },
      +        "methodVersion": {
      +          "type": "string"
      +        },
      +        "replay": {
      +          "type": "string"
      +        },
      +        "replayRequest": {
      +          "type": "object"
      +        },
      +        "results": {
      +          "items": {
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "schemaVersion": {
      +          "enum": [
      +            "1.0.0"
      +          ],
      +          "type": "string"
      +        },
      +        "scope": {
      +          "type": "string"
      +        },
      +        "sourceURL": {
      +          "format": "uri",
      +          "type": "string"
      +        },
      +        "status": {
      +          "enum": [
      +            "calculated"
      +          ],
      +          "type": "string"
      +        },
      +        "tool": {
      +          "type": "string"
      +        },
      +        "units": {
      +          "type": "object"
      +        },
      +        "warnings": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "required": [
      +        "schemaVersion",
      +        "status",
      +        "tool",
      +        "calculator",
      +        "methodVersion",
      +        "sourceURL",
      +        "formula",
      +        "assumptions",
      +        "inputs",
      +        "units",
      +        "results",
      +        "replayRequest",
      +        "additionalResults",
      +        "checks",
      +        "warnings",
      +        "scope",
      +        "integrity",
      +        "replay"
      +      ],
      +      "type": "object"
      +    },
      +    "results": {
      +      "items": {
      +        "properties": {
      +          "label": {
      +            "type": "string"
      +          },
      +          "unit": {
      +            "type": "string"
      +          },
      +          "value": {
      +            "oneOf": [
      +              {
      +                "type": "number"
      +              },
      +              {
      +                "type": "string"
      +              }
      +            ]
      +          }
      +        },
      +        "required": [
      +          "label",
      +          "value"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "sourceURL": {
      +      "format": "uri",
      +      "type": "string"
      +    },
      +    "units": {
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "calculator",
      +    "modelVersion",
      +    "sourceURL",
      +    "inputs",
      +    "results",
      +    "receipt"
      +  ],
      +  "type": "object"
      +}
  4. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already establish the read-only, idempotent, closed-world safety profile, so the description does not need to restate them. It adds useful behavioral context by listing the return payload (named results, units, formula, assumptions, method version, source URL) and by clarifying that no prices or omitted costs are looked up — important boundary behavior for a calculator that might otherwise be assumed to fetch data.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded and the key nesting instruction is easy to find, but several sentences are boilerplate ('tested BusCalc worksheet', 'Follow its required fields and exact choices') or confusing ('Do not pass the REST calculator field inside MCP arguments'). Redundancy around input placement and optional fields costs clarity without adding proportional value.

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?

For a simple three-input calculation with an output schema and safe-read annotations, the definition covers purpose, scope boundaries, input nesting, and return contents. The unexplained empty `units` object is a minor gap, but the essential information an agent needs to call this tool correctly is present.

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 only 33%, so the description should compensate, and it does partially: it tells the agent to place fields inside `inputs` and maps fixed, price, and variable to their cost roles. Still, it does not explain the purpose of the `units` object, and most of its parameter text restates information already present in the schema's detailed numeric field descriptions.

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 — finding the units and revenue needed to cover fixed costs — which is a recognizable break-even sales computation. It does not differentiate itself from the sibling break-even calculator or other BusCalc financial tools, so an agent must rely on the name alone for sibling routing.

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?

It gives a scope condition ('when the task matches its inputs and scope') and two exclusions (no price lookup, no access to private projects or purchases), which helps an agent know what this tool will not do. However, there is no explicit guidance on when to choose this over the sibling break-even tool or how to handle missing inputs other than omitting them.

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