Skip to main content
Glama
recipe-mcp

recipe-mcp

by mnavas

scale_stored_recipe

Adjust a stored recipe to a target serving count, total weight, or scaling factor and return scaled ingredients; optionally save the result as a new recipe.

Instructions

Scale a stored recipe to a target servings, total weight, or factor.

Returns the scaled ingredients. If save_as is given, stores the result as a new recipe with that name.

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": {
      "recipe_id": "<recipe_id>"
    },
    "name": "scale_stored_recipe"
  }
}

Input Schema

NameRequiredDescriptionDefault
factorNo
save_asNo
servingsNo
recipe_idYes
target_weight_gNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose two important behaviors: the return value (scaled ingredients) and that save_as persists a new recipe rather than mutating the original. It omits what happens when several scaling inputs are supplied at once, rounding/precision of scaled amounts, and error behavior for an unknown recipe_id.

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 short sentences, front-loaded with the core action, then the return value, then the conditional persistence side effect. No filler, though the save_as sentence could be tightened to also say what is returned in that case.

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 5-parameter tool with no annotations and no output schema, the description covers the essentials of action, result, and the save side effect. It is still incomplete on mode exclusivity, the saved-recipe return, and failure cases, which matter for correct invocation.

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 coverage is 0%, so the description must compensate, and it does define four of five parameters (servings, target weight, factor, save_as) in functional terms. It leaves the precedence/exclusivity relationship among the three scaling inputs unexplained, and offers nothing on recipe_id beyond the self-evident name.

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?

States a specific verb and resource ('Scale a stored recipe') plus the three scaling bases (servings, total weight, factor) and the return ('scaled ingredients'). 'Stored' hints at the distinction from the sibling scale_recipe, but the description never names or contrasts that alternative explicitly.

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 three scaling modes and the optional save_as branch, which tells an agent roughly when to use it. There is no explicit when-not guidance, no mention of scale_recipe or recipe_to_percentages as alternatives, and no statement of whether the scaling modes are mutually exclusive.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.