Skip to main content
Glama

RestaurantDoctorAI

Restaurant budget calculator

restaurantdoctor_restaurant_budget
Read-onlyIdempotent

Works out a restaurant's monthly budget from the owner's expected sales and type of restaurant, as the free restaurant budget calculator on restaurantdoctorai.com does: food and drink, labor, prime cost and rent with utilities as money ranges by RestaurantDoctorAI's targets for that type, other operating costs at the owner's share or a 20% working assumption, what's left after every bill, and break-even sales with labor counted both ways. Takes expected net sales and the type, plus optional rent, the owner's own pay and the other costs share, in any currency; a figure that isn't sent is never counted as 0. Returns the calculator's result, how it was worked out, and a link that opens the calculator with the same figures filled in. The figures aren't stored; only an anonymous daily count of calculator runs is kept.

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": {
      "format": "<format>"
    },
    "name": "restaurantdoctor_restaurant_budget"
  }
}

Input Schema

NameRequiredDescriptionDefault
rentNo
salesNo
formatYesThe type of restaurant, which sets RestaurantDoctorAI's targets the budget is split by: quick_service = Quick service (Counter or kiosk, fast turnover); fast_casual = Fast casual (Order at the counter, served at the table); full_service = Full service / casual dining (Servers, moderate check); fine_dining = Fine dining (Chef-driven, higher check); bar_lounge = Bar, taproom or lounge (Drinks are about half of sales or more); cafe = Café or coffee shop (Drinks lead, with pastries and light food).
otherPctNo
ownerPayNo

Output Schema

NameRequiredDescriptionDefault
leftYesLeft over after every bill, before income tax, not profit; low is the budget at the top of the targets.
linkYesOpens the calculator with these figures.
rentYes
linesYesA month, low to high, money to the unit. primeCost is food and drink plus labor, a subtotal.
notesYes
salesYes
checksYesFigures that look like a slip.
formatYes
resultYesThe result in the page's words, in its order.
breakEvenYesWith the budget at the top of the targets, rounded up to the unit.
freeCheckYes
workedOutYesHow it was worked out.
otherCostsAssumedYesTrue when the other operating costs share is the working assumption.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / format / description
      Previous value: -"The type of restaurant, which sets RestaurantDoctorAI's targets the budget is split by: quick_service = Quick service (Counter or kiosk, fast turnover); fast_casual = Fast casual (Order at the counter, food brought to the table); full_service = Full service / casual dining (Servers, moderate check); fine_dining = Fine dining (Chef-driven, higher check); bar_lounge = Bar, taproom or lounge (Drinks are about half of sales or more); cafe = Café or coffee shop (Drinks lead, with pastries and light food)."New value: +"The type of restaurant, which sets RestaurantDoctorAI's targets the budget is split by: quick_service = Quick service (Counter or kiosk, fast turnover); fast_casual = Fast casual (Order at the counter, served at the table); full_service = Full service / casual dining (Servers, moderate check); fine_dining = Fine dining (Chef-driven, higher check); bar_lounge = Bar, taproom or lounge (Drinks are about half of sales or more); cafe = Café or coffee shop (Drinks lead, with pastries and light food)."
  2. Changed2 schema fields changed
    • changedOutput schema / properties / left / description
      Previous value: -"Left over after every bill, before income tax; low is the budget at the top of the targets. Never call it profit."New value: +"Left over after every bill, before income tax, not profit; low is the budget at the top of the targets."
    • changedOutput schema / properties / rent / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "description": "The owner's rent against the occupancy range.",
      -    "properties": {
      -      "band": {
      -        "enum": [
      -          "under",
      -          "inside",
      -          "over"
      -        ],
      -        "type": "string"
      -      },
      -      "pct": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "pct",
      -      "band"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "description": "The owner's rent against the occupancy ceiling, the top of the range: within it or over it.",
      +    "properties": {
      +      "band": {
      +        "enum": [
      +          "within",
      +          "over"
      +        ],
      +        "type": "string"
      +      },
      +      "pct": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "pct",
      +      "band"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  3. Added

TDQS

A4/5.0
Behavior5/5

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

Adds real behavioral context beyond the annotations: figures aren't stored, only an anonymous daily count of runs is kept, a missing figure is never treated as 0, other costs default to a 20% working assumption rather than a published target, and the response includes a pre-filled link. These disclosure details (privacy, defaults, currency-agnostic handling) are exactly what annotations do not cover.

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

Conciseness3/5

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

Front-loads the purpose well in the opening clause, but the rest is one sprawling sentence chained with 'and...and...', packing outputs, inputs, currency, defaults, return shape, and data retention into a single breath. The content earns its place; the structure makes it hard to scan.

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?

An output schema exists, so return values needn't be spelled out, and the description still gestures at the shape (result, how it was worked out, link). Combined with the mutation-free, closed-world annotations, the privacy note, defaults, and missing-input behavior, an agent has everything needed to call it correctly.

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?

Adds meaning on top of the schema: identifies which inputs are optional versus needed for a result, states all figures are in any owner currency, and clarifies that an omitted value is not zero. The 20% default for other costs is reinforced in prose, though it is already in the schema, and the description does not expand on the enum values themselves.

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?

Names a specific verb and resource (work out a restaurant's monthly budget) and enumerates the outputs: food and drink, labor, prime cost, rent, other operating costs, remainder, and break-even. That is far more concrete than a generic 'calculate budget', though it never explicitly distinguishes itself from siblings like restaurantdoctor_break_even or restaurantdoctor_prime_cost, which produce overlapping sub-figures.

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 only implied: the description notes it mirrors the free calculator on restaurantdoctorai.com and takes expected sales and restaurant type, so an agent can infer 'use when the owner wants a full monthly budget'. There is no explicit when-not guidance and no mention of when to prefer the narrower siblings (prime cost, labor cost, break-even) that this tool partly subsumes.

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