Skip to main content
Glama

business_profit_margin

Read-onlyIdempotent

Profit margin calculator

Input Schema

NameRequiredDescriptionDefault
costNo
priceNo
profitNo
shippingNo
marginPctNo
markupPctNo
acquisitionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / acquisition
      Added value: +{
      +  "type": "number"
      +}
    • addedInput schema / properties / marginPct
      Added value: +{
      +  "type": "number"
      +}
    • addedInput schema / properties / markupPct
      Added value: +{
      +  "type": "number"
      +}
    • addedInput schema / properties / profit
      Added value: +{
      +  "type": "number"
      +}
    • addedInput schema / properties / shipping
      Added value: +{
      +  "type": "number"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "cost",
      -  "price"
      -]
  2. First observed

TDQS

D1.8/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds nothing beyond that — no note on what the calculation returns, how partial inputs are handled, or which input combinations are valid.

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

Conciseness2/5

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

Three words are not padding, but for a 7-parameter calculator with interdependent inputs this is under-specification rather than conciseness. Nothing is front-loaded because nothing is said.

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

Completeness1/5

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

For a calculator with 7 optional, undocumented numeric inputs, no output schema, and no explanation of the many valid input combinations (e.g. cost+price vs profit+price vs marginPct), the definition is completely inadequate to invoke the tool correctly.

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

Parameters1/5

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

All 7 parameters (cost, price, profit, shipping, marginPct, markupPct, acquisition) have 0% schema description coverage and zero required fields, so the agent has no idea which subset to supply or how inputs like marginPct/markupPct are derived versus provided. The description offers no parameter semantics whatsoever to compensate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description "Profit margin calculator" essentially restates the tool name and title (Business Profit Margin) with no verb or scope added. It does not distinguish this from close siblings like business_product_margin, business_break_even, or business_marketplace_fee, so an agent cannot tell which margin tool applies.

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 guidance, no exclusions, and no mention of alternatives. With several margin/break-even siblings present, the absence of any routing guidance leaves the agent to guess.

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