Skip to main content
Glama

Raw to Cooked Weight MCP

Convert cooked to raw weight

convert_cooked_to_raw
Read-onlyIdempotent

Raw weight that a cooked portion of meat or poultry came from, using the USDA measured cooking yield. Use it to log a cooked portion against raw nutrition data (labels and most databases list raw meat) or to scale a recipe written in cooked weight. Returns raw weight in g, oz, lb and kg, and the raw weight if the yield was at the USDA high or low end.

Input Schema

NameRequiredDescriptionDefault
foodNoCut and species in plain words, for example "chicken thigh", "80/20 ground beef patty", "ribeye steak", "pork tenderloin", "bacon", "turkey breast", "bison burger".
unitNoWeight unit: g, kg, oz or lb. Default g.
methodNoCooking method: roast, grill, braise, simmer, pan_fry, pan_broil, deep_fry, microwave. Plain words work too (grilled, baked, slow cooker, sauteed, boiled).
yield_idNoExact row id from find_cooking_yield or list_cooking_yields. Overrides food and method.
cooked_weightYesCooked weight, for example 150.

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 cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the marginal bar is what behavior is added. The description contributes the data source (USDA measured cooking yield) and discloses that uncertainty is exposed via USDA high/low end values, which is genuinely useful. It does not say what happens when the food or method is unrecognized, nor which method is assumed if omitted.

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 sentences ordered purpose, then usage, then return values, all of which earn their place. The first sentence is a noun-phrase fragment rather than a verb-led statement, a minor stylistic inefficiency but not a comprehension problem.

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 five parameters, a single required input, and no output schema, the description correctly takes on the return-value burden by naming the four units and the high/low yield bounds. The remaining gap is failure and fallback behavior for unknown or mismatched food/method combinations, which matters for a lookup-driven conversion.

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% and every parameter including the yield_id override is fully documented in the schema, so the baseline of 3 applies. The description adds no parameter-level detail such as default unit handling or how food/method interact when both are supplied.

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?

The opening clause names the concrete transformation (raw weight a cooked portion came from) and the domain (meat or poultry), so the direction is unambiguous against the sibling convert_raw_to_cooked. It never names that sibling explicitly, so an agent must infer the inverse relationship from the verb alone rather than from stated contrast.

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?

Two concrete usage contexts are given: logging a cooked portion against raw nutrition data, and scaling a recipe written in cooked weight. That is real when-to-use guidance rather than implied usage. What is missing is any exclusion or pointer to alternatives, e.g. when to use convert_raw_to_cooked instead or when to bypass food/method in favor of yield_id.

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.