Skip to main content
Glama

Calculate price per job

calculate_price_per_job
Read-onlyIdempotent

Works out a price for one service job: cost = hours x hourly pay + materials + travel + monthly overhead / jobs per month; price = cost / (1 - profit margin). Also returns profit per job, monthly revenue and break-even jobs per month. Same formula as https://profitdrawer.com/tools/price-per-job-calculator.html. Margins above 95% are treated as 95%.

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": {
      "hours": "<hours>",
      "hourly_rate": "<hourly_rate>",
      "profit_margin_percent": "<profit_margin_percent>"
    },
    "name": "calculate_price_per_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
hoursYesHours one job takes.
travelNoTravel cost per job in USD. Default 0.
materialsNoMaterials per job in USD. Default 0.
hourly_rateYesYour pay per hour in USD.
jobs_per_monthNoJobs expected per month; the overhead is shared across them. Default 0.
monthly_overheadNoMonthly overhead (insurance, phone, software, ...) in USD. Default 0.
profit_margin_percentYesProfit margin as a percent of the price, for example 20.

Output Schema

NameRequiredDescriptionDefault
urlYes
costYes
laborNo
priceYes
inputsNo
profitYes
displayNo
warningNo
breakevenYes
citationsYes
sample_noticeNo
breakeven_jobsYes
overhead_shareNo
monthly_revenueNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), and the description adds real behavioral detail beyond them: the 95% margin cap that silently clamps inputs, and the secondary outputs (profit per job, monthly revenue, break-even jobs). It does not mention error behavior or what happens with zero hours.

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?

Three short sentences, front-loaded with the core formula, then outputs, then the clamping caveat. The formula chain is dense but each element earns its place; the external URL reference is marginal but provides verifiability.

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?

For a deterministic pure-calculation tool with an output schema, annotations, and fully documented parameters, nothing needed to call it correctly is missing. The clamping rule and the extra return metrics are the only things structured fields could not convey, and both are covered.

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 100%, so every parameter is already documented; the description's formula does clarify the relationship between monthly_overhead and jobs_per_month, but that relationship is also stated in the schema. Baseline 3 is appropriate since the schema carries the semantics.

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?

States a specific verb and resource ('works out a price for one service job') and spells out the exact formulas used, so there is no ambiguity about what is computed. It is clearly distinct from the sibling calculators (loan payoff, tax set-aside, startup costs).

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?

Usage is implied by the name and the formula rather than stated: there is no explicit guidance on when to prefer this over calculate_loan_payoff or estimate_startup_costs, nor any note on prerequisites. The reference to the public calculator URL gives context but not selection criteria.

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