Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-break-even

Break Even: Computes break-even units as fixed cost divided by price minus variable cost, plus revenue 🆓 5 free trial calls per signed wallet

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": {
      "fixed": "<fixed>",
      "price": "<price>",
      "variable": "<variable>"
    },
    "name": "x402-break-even"
  }
}

Input Schema

NameRequiredDescriptionDefault
fixedYes
priceYes
variableYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "fixed",
      +  "price",
      +  "variable"
      +]
  2. Changed3 schema fields changed
    • removedInput schema / properties / fixed / description
      Removed value: -"Fixed to process"
    • removedInput schema / properties / price / description
      Removed value: -"Price to process"
    • removedInput schema / properties / variable / description
      Removed value: -"Variable to process"
  3. First observed

TDQS

C2.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. Disclosing the actual formula and the paywall/trial condition ('5 free trial calls per signed wallet') is genuinely useful behavioral context, but rounding behavior, error handling, and what the response contains are all undisclosed.

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 core sentence is tight and front-loaded with the tool name, but the trailing emoji promotion for free trial calls is noise relative to the calculation itself and slightly dilutes the signal.

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

Completeness2/5

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

For a three-parameter numeric tool with no annotations, no output schema, and no schema descriptions, the definition is thin: it omits output shape, rounding, unit conventions, and input format expectations. An agent could call it, but not confidently predict what comes back.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so all three parameters (fixed, price, variable) depend on the description. The formula hints at each one's role, but 'fixed cost divided by price minus variable cost' is ambiguous about operator precedence — fixed/(price-variable) versus (fixed/price)-variable — and the fact that all inputs are strings is never addressed.

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 ('Computes break-even units') and even gives the underlying formula, so the agent knows exactly what calculation is performed. It does not explicitly differentiate itself from the many other x402 math siblings, but the purpose is unambiguous.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance; the agent must infer that this is a unit-economics calculator from the formula alone. No prerequisites, no mention of related tools, only a marketing note about free trial calls.

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.