Skip to main content
Glama

business_pricing

Read-only

Pricing calculator: margin vs markup, fees, discounts, target price — Unit pricing math. cost= (required) plus one of price=, margin= (% of price) or markup= (% of cost). Optional fee_pct= and fee_fixed= payment fees (e.g. 2.9 and 0.30) for net margin, target_margin= to get the required price (fees grossed up), discount= % to see the extra volume needed to keep the same profit, price_change= % for the volume you can lose, tax_rate=, volume= for totals. Returns price, gross profit, margin %, markup %, multiplier, margin band LOSS/VERY_THIN/THIN/HEALTHY/STRONG and prices for 25/40/50/60% margins. Offline. Price: $0.002 USDC (Base, via x402).

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": {
      "cost": "<cost>",
      "price": "<price>"
    },
    "name": "business_pricing"
  }
}

Input Schema

NameRequiredDescriptionDefault
costYes40
priceYes65

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false), but the description adds economically important behavior: it runs offline and costs $0.002 USDC on Base via x402, which an agent must know before invoking. There is a mild tension between 'Offline' and the network-based x402 payment/openWorldHint, but it does not contradict readOnly or destructive semantics.

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 core purpose and input contract, then returns, then pricing, with every clause carrying information. It is dense to the point of being a run-on and a couple of abbreviations ('discount= % to see the extra volume needed') take effort to parse.

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?

There is no output schema, and the description compensates by naming the key return fields (price, gross profit, margin %, markup %, multiplier, margin band) and expected outputs at 25/40/50/60% margins. Combined with the input contract and cost note, an agent has everything needed to call and interpret it.

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

Parameters5/5

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

The schema only lists cost and price with meaningless example-valued descriptions ('40', '65'), so all real meaning comes from the description. It supplies units ('margin= % of price', 'markup= % of cost'), mutual-exclusivity, concrete fee examples (2.9 and 0.30), and a full enumeration of the optional inputs and what each yields.

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 names a concrete artifact and verb ('Pricing calculator') and enumerates the modes it covers (margin vs markup, fees, discounts, target price), so an agent knows exactly what computation it gets. It does not differentiate itself from the sibling finance_pricing, so a 5 is not warranted.

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

Usage Guidelines4/5

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

It gives clear in-tool usage rules: 'cost= (required) plus one of price=, margin= (% of price) or markup= (% of cost)' and states which optional input to add for each scenario (fees for net margin, target_margin for required price, discount/price_change for volume effects). What is missing is any guidance on when to choose this tool over finance_pricing or other finance siblings.

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