Skip to main content
Glama

bar-pour-cost-tools

calculate_cocktail_pour_cost_and_price

Read-onlyIdempotent

Compute pour cost per drink, gross profit per cocktail, pour-cost percentage, and recommended menu price for a target pour cost.

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": {
      "bottle_cost_usd": "<bottle_cost_usd>"
    },
    "name": "calculate_cocktail_pour_cost_and_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
pour_ozNo
bottle_size_mlNo
menu_price_usdNo
bottle_cost_usdYes
target_pour_cost_pctNo
mixer_and_garnish_cost_usdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/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 fully covered. The description adds the target-pour-cost framing but does not state that this is a pure local calculation with no side effects, nor the units/rounding of results, so it adds only modest value beyond the annotations.

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?

A single front-loaded sentence that names the verb and the four computed quantities with zero filler. Nothing is redundant or buried.

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

Completeness3/5

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

There is no output schema, so the description is the only place to learn what comes back, yet it names outputs without units, currency, or rounding behavior. For a six-parameter calculator with rich defaults and constraints, this is adequate but leaves real gaps.

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

Parameters2/5

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

Schema description coverage is 0% across six parameters, so the description must carry the burden. It only gestures at 'bottle cost' and 'target pour cost'; it never explains pour_oz, bottle_size_ml, mixer_and_garnish_cost_usd, menu_price_usd, or how defaults and units interact, leaving half the inputs undocumented in both places.

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 ('Compute') and enumerates the exact outputs: pour cost per drink, gross profit per cocktail, pour-cost percentage, and recommended menu price. There are no sibling tools to differentiate from, and an agent can tell precisely what this tool returns without opening the schema.

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 domain (given a bottle cost, derive cost and pricing metrics), but there is no explicit statement of when to use this versus manual calculation, no prerequisites, and no exclusions. With no siblings the risk is low, but the guidance is inferred rather than stated.

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