Skip to main content
Glama
DesignbyFahad

alliotools-mcp

profit_margin_calculator

Calculate gross profit margin, markup percentage, and net profit using cost and revenue inputs.

Instructions

Calculate gross profit margin, markup percentage, and net profit from cost and revenue.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
costYesCost of goods/services
revenueYesSelling price / revenue
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. It mentions the outputs but does not disclose behavioral details such as input validation constraints (e.g., cost must be non-negative, revenue > 0) or error handling. However, the tool is a simple calculator, so the lack of deep behavioral context is somewhat acceptable.

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

Conciseness5/5

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

The description is a single, well-structured sentence that front-loads the key outputs and inputs. No extraneous words, every part provides 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?

Given the low complexity (2 required params, no output schema), the description lists all three computed outputs and the inputs. It is mostly complete, though it could specify the return format (e.g., numeric or percentage). Still, it sufficiently informs an agent about what the tool does and returns.

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 coverage is 100%, with both parameters already described ('Cost of goods/services', 'Selling price / revenue'). The description does not add additional meaning beyond the schema for the parameters themselves. Baseline score of 3 is appropriate.

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

Purpose5/5

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

The description clearly states the verb 'Calculate' and specific resources: gross profit margin, markup percentage, and net profit from cost and revenue. It distinguishes this tool from sibling calculators like 'markup_calculator' or 'percentage_calculator' by naming the outputs.

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?

The description implies usage for profit-margin calculations but does not provide when-to-use or when-not-to-use guidance. It does not mention alternatives like the sibling 'markup_calculator', so the agent lacks context for choosing between similar tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DesignbyFahad/alliotools-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server