Skip to main content
Glama

Never86'd Action Shift

convert_uom

Read-onlyIdempotent

Convert verified restaurant package sizes into pour/portion units (bottle mL → fl oz, keg gal → fl oz, pours per package, cost per pour). Refuses invented pack size or pourSpec. Fluid ounce ≠ weight ounce. House pour ounces come from ask_pour_standards / declare_pour_standards — never assume 1.5.

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": {
      "op": "<op>"
    },
    "name": "convert_uom"
  }
}

Input Schema

NameRequiredDescriptionDefault
opYesConversion operation. Use knowledge for the full UoM pack. Fountain BIB ops need operator-declared mix ratio + cup liquid fill — never invent 5+1 or ice fill. estimate_cup_liquid uses ice-pack interview bands (15/25/40%) as Estimated only.
toNo
fromNoVolume: ml|l|flOz|gal. Mass: g|kg|ozAv|lb.
amountNo
keg_galNo
bib_costNoInvoice/landed $ for THIS BIB (syrup only).
ice_noteNo
ice_packNoFor estimate_cup_liquid: light~15% / medium~25% / heavy~40% ice displacement. Estimated only — 9 oz heavy ≈ 5.4 oz liquid.
syrup_galNoFountain BIB syrup gallons (e.g. 5). Not finished beverage gallons.
package_mlNo
unit_fl_ozNo
syrup_partsNoOperator-declared syrup parts in mix ratio (usually 1).
water_partsNoOperator-declared water parts in mix ratio (e.g. 5 for 5+1). Never invent.
package_costNo
spirit_fl_ozNoHouse spirit pour already in the cup — reduces soda fill.
product_labelNo
pour_spec_fl_ozNoHouse pour in fl oz from THIS unit (1.5, 1.75, 2, or custom). Required for pours_per_package — never invent.
cup_marked_fl_ozNo
liquid_fill_fl_ozNoLiquid fl oz after ice + straw. Cup mark alone is not enough.
pours_per_packageNo
units_per_packageNo

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 declare readOnly/idempotent/non-destructive/closed-world, so safety is covered; the description adds real behavioral content on top — it will refuse invented pack size or pourSpec, it distinguishes fluid ounces from weight ounces, and it requires externally sourced pour standards. It stops short of describing what is returned (e.g., whether cost_per_pour is per ounce or per pour), which would be the remaining transparency gap.

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?

Front-loaded with the conversion scope, followed by two terse constraint sentences and a one-line unit-fidelity warning; no filler. The telegraphic fragments are dense but each carries a distinct rule, so nothing is redundant, though the compressed phrasing assumes a domain-fluent reader.

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?

For a 21-parameter, 11-operation tool with no output schema, the description covers the headline conversions and the anti-fabrication rules but not the remaining operations (mass, volume, cup_service, knowledge) or the shape of results such as cost-per-pour basis. An agent could call it correctly for the documented paths but must lean on the schema for the rest.

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?

With 21 parameters and only 48% schema description coverage, the description has to carry weight; it adds meaningful domain semantics for the highest-risk inputs (pour_spec must come from the standards tools, fl oz ≠ weight oz) but leaves many parameters — to, amount, keg_gal, package_ml, unit_fl_oz, package_cost, product_label, ice_note — undocumented in both places. Useful signal on the critical fields, incomplete across the surface.

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 ('convert verified restaurant package sizes into pour/portion units') and enumerates concrete conversion forms (bottle mL → fl oz, keg gal → fl oz, pours per package, cost per pour). The scope word 'verified' plus the refusal clause makes clear this tool transforms already-established data rather than inventing it, which separates it from the standards-declaration siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly routes the agent to ask_pour_standards / declare_pour_standards for house pour ounces and warns never to assume 1.5, plus refuses invented pack size or pourSpec. It gives clear preconditions but does not contrast against the other analysis siblings (analyze_recipe_cost, analyze_beverage), so the alternative-selection guidance is partial rather than complete.

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