Skip to main content
Glama

Food Business Pack

Menu pricing and GP calculator: dish cost with yield, price per portion and VAT

menu_price_check
Read-onlyIdempotent

Costs a dish from its ingredients as bought (price, pack size, unit) and as used (amount, unit), with the yield after trimming, peeling, boning and cooking loss (or the waste percent), splits it by portions, adds garnish and packaging, then gives the menu price for a target gross profit (default 70%) with VAT by how it is sold: eat in and hot takeaway 20%, most cold takeaway 0%, crisps, sweets and soft drinks 20%. Also returns the GP and cash margin a current menu price really makes, and the gross profit per week. Shows every step of the working. Example: {"dish":"Pan fried salmon","ingredients":[{"name":"salmon side","buy_price_gbp":18,"buy_quantity":1.2,"buy_unit":"kg","use_quantity":150,"use_unit":"g","yield_percent":75}],"portions":1,"target_gp_percent":70,"menu_price_gbp":14.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": {
      "ingredients": "<ingredients>"
    },
    "name": "menu_price_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
dishNoDish name.
saleNoHow it is sold, for VAT. Default eat_in.
tradeNoOptional. The food business's own business details (Nero Trade Profile v1). Used to prefill answers and to give a stable nero_trade_ref. Not stored by Food Business Pack.
portionsNoPortions the recipe makes. Default 1.
round_toNoRound the suggested price up to this step. Default 0.5.
ingredientsYesEach ingredient as bought and as used. yield_percent is the usable part after trimming, peeling, boning and cooking loss (or give waste_percent).
menu_price_gbpNoYour current or planned menu price including VAT: returns the GP it really makes.
portions_per_weekNoGives the gross profit per week and year.
target_gp_percentNoTarget gross profit percent. Default 70.
extra_cost_per_portion_gbpNoGarnish, sauce, bread, packaging per portion.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the bar is lower. The description adds real behavioural context: default 70% target GP, concrete VAT rates per sale channel (20% eat in, 0% most cold takeaway, 20% crisps/sweets/soft drinks), and that it returns both a suggested price and the GP an existing menu_price_gbp actually makes, plus weekly GP. It also notes the trade profile is not stored.

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?

It is front-loaded with the core action and every clause carries information (yield, portions, garnish, VAT, GP, working). The main weakness is that the first paragraph is one very long run-on sentence, which makes scanning harder than a short bulleted breakdown would.

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?

With 10 params including a nested trade object and no output schema, the description does a good job of explaining what comes back (cost breakdown, suggested price, GP, cash margin, weekly GP, workings). Remaining gaps are minor: no mention of failure behaviour for invalid units/missing packs.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3. The description goes beyond it by explaining the VAT logic behind the sale enum and the yield-vs-waste convention, and the example maps ingredient fields (buy_price_gbp, buy_quantity, use_quantity, yield_percent) to a real call.

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+resource: costs a dish from ingredients as bought and as used, applies yield/waste, splits by portions, then returns menu price for a target GP with VAT rules. This is unmistakably distinct from every sibling (company_check, food_hygiene_check, quote_catering_job), none of which do dish costing.

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 scope (costing a dish, checking GP on a menu price) and the worked example shows a valid call. However, it never states when to prefer this over adjacent tools (e.g. quote_catering_job for a full quote) or any exclusions, so routing must be inferred.

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.