Scale a recipe (paid, $0.01)
scale_recipeScales recipe ingredient quantities up or down to match different serving counts, applying chef rules and explaining each adjustment.
Instructions
Scale a recipe from 4 to 50 servings (serves), double or halve it, with head chef Cristopher's verified rules. Each line says why: straight maths, fixed ratio (garlic, onion, ginger, thickeners) or start low and taste up (salt in a soup), plus scaling-up tips: roasting, frying, stir-fry, braises, cakes, bread. Units: g, kg, ml, l, tsp, tbsp, lb, oz, cups. Refused, never guessed: allergen-free, curing, pickling, preserving and fermenting recipes. Only a 200 answer is charged; refusals are free.
Use for scaling ingredient quantities up or down (to double: fromPortions 1, toPortions 2). Not for nutrition, allergen or diet swaps, food safety, or scaling staff, labour, covers or money lines (a free 400). One amount per line: no ranges ("2-3 cloves"), no "1 lb 4 oz", no fl oz, pints or quarts; with cups, also give cupSize. A recipe with a line in cups may come back not chef-verified. Costs $0.01. Paid automatically in USDC with x402 (test USDC when this server is set to base-sepolia), within this server's per-session and per-day spend caps. Only a 200 answer is charged; 400, 404 and 422 are free. Set dryRun to true to check for free whether this would be answered and what it costs; nothing is signed. If unsure what is covered, call check_coverage first (free). Not every answer is chef-verified: say "chef-verified by Cristopher" only when the result's label says exactly that; otherwise say it is not chef-verified. A refusal is final: don't rephrase the question to get around it.
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": "<recipe>",
"fromPortions": "<fromPortions>",
"toPortions": "<toPortions>"
},
"name": "scale_recipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Free quote only: check whether this would be answered and what it costs. Nothing is signed or charged. | |
| method | No | Optional cooking method ("roast", "fry", "stir-fry") — selects method-specific tips. Screened like a question: a cure, ferment, preserve or holding method ("cold smoke", "pickling", "sous vide") is refused. | |
| recipe | Yes | Text ("2 kg brisket; 500 ml stock; 1 tbsp salt; 3 eggs", ; or newline separated, one amount per line, max 200 characters a line) or structured lines. Max 40 lines. Mixed numbers ("1 1/2 kg") are read as one amount; "1,5 kg", "2-3 cloves" and "1 kg 500 g" are rejected. | |
| cupSize | No | Cup size for lines in cups: us = 236.5882365 ml, us-legal = 240 ml (US nutrition label), metric = 250 ml. Lines saying "US cups" or "metric cups" carry their own ("US cups" with us-legal is 240 ml); metric against a US size is rejected. Without a size, cups are scaled as cups with no ml and are not counted toward volume batch limits. Cups are never converted to grams, so they never count as a weight: a recipe with a line in cups gets no baker's percentage, and a rule that goes by the recipe's proportions by weight (salt in a cake or bread) can't be checked. When the recipe could be a cake or bread, its salt then scales straight as an engine default and the whole answer is labelled not chef-verified (the line's undecidedClass names the rule); when the known ingredients already rule that out (no flour, stock in it), the usual salt rule applies. Give weights to get the chef's rule. | |
| toPortions | Yes | ||
| fromPortions | Yes |