Skip to main content
Glama
recipe-mcp

recipe-mcp

by mnavas

scale_recipe

Rescale recipe ingredient amounts by a factor or convert servings from one yield to another to get accurate cooking quantities.

Instructions

Rescale a recipe. Each item: {name, amount, unit}.

Provide factor, or both from_yield and to_yield (e.g. 8 -> 12 servings).

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": {
      "ingredients_list": "<ingredients_list>"
    },
    "name": "scale_recipe"
  }
}

Input Schema

NameRequiredDescriptionDefault
factorNo
to_yieldNo
from_yieldNo
ingredients_listYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/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 conveys that this is a transformation of a supplied ingredient list rather than a stored recipe, but never states that it does not persist changes, nor how rounding, non-scalable items, or invalid yields are handled.

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 lines, front-loaded with the verb and immediately followed by the structural rule and the mode rule. Slightly telegraphic ('Each item:' fragment) but nothing is wasted.

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?

For a 4-parameter pure-computation tool with no output schema, the description covers the two things an agent most needs: the ingredient record shape and the two valid argument combinations. It lacks only return-shape and failure-mode details, which is a minor gap here.

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 0%, so the description does real work: it explains the `factor` vs `from_yield`/`to_yield` modes with a concrete example (8 -> 12 servings), and gives the ingredient item shape {name, amount, unit}. It still omits precedence when both modes are supplied, and the untyped nested object array is only partially characterized.

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 description states a specific verb and resource ('Rescale a recipe'), so the operation is unambiguous. It does not, however, distinguish itself from the sibling 'scale_stored_recipe', leaving the agent to infer the difference from the names alone.

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?

It usefully specifies two mutually exclusive input modes ('Provide `factor`, or both `from_yield` and `to_yield`'), which is real guidance for parameter selection. It gives no guidance on when to choose this tool over 'scale_stored_recipe' or whether anything is persisted.

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