ReciPal MCP by usefulapi is an MCP server published by io.usefulapi, hosted at recipal.usefulapi.io. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 30 tools, including recipal_list_recipes, recipal_get_recipe, recipal_list_recipe_ingredients, recipal_get_recipe_ingredient, recipal_list_ingredients.
Read recipes, nutrition and inventory, manage ingredients and costs, and render ReciPal labels.
4,394 connections through 5 shared values. Tap any node.
Inferred from the host name and headers: what a server runs on, not who runs it.
List your recipes (products) with yield, servings, cost per batch/package and the headline per-serving nutrition (calories, fat, sodium, carbohydrate, protein). Sorted by last update by default. Set full=true for the complete object with every nutrient. Pages of up to 20; a page with fewer rows is the last. GET /recipes.
| Parameter | Type | Description |
|---|---|---|
| full | boolean | Return every recipe field including all ~80 nutrients (large). Default false. |
| page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| archived | string | "false" = active only (default), "true" = archived only, "all" = both. |
| per_page | integer |
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
| Results per page, 1-20 (default 20). |
| sort_field | string | Sort by "updated_at" (default), "created_at" or "name". |
| sort_direction | string | "desc" (default) or "asc". |
{
"name": "recipal_list_recipes",
"title": "List recipes",
"description": "List your recipes (products) with yield, servings, cost per batch/package and the headline per-serving nutrition (calories, fat, sodium, carbohydrate, protein). Sorted by last update by default. Set full=true for the complete object with every nutrient. Pages of up to 20; a page with fewer rows is the last. GET /recipes.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"full": {
"type": "boolean",
"description": "Return every recipe field including all ~80 nutrients (large). Default false."
},
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's next_page.",
"exclusiveMinimum": 0
},
"archived": {
"enum": [
"false",
"true",
"all"
],
"type": "string",
"description": "\"false\" = active only (default), \"true\" = archived only, \"all\" = both."
},
"per_page": {
"type": "integer",
"maximum": 20,
"minimum": 1,
"description": "Results per page, 1-20 (default 20)."
},
"sort_field": {
"enum": [
"updated_at",
"created_at",
"name"
],
"type": "string",
"description": "Sort by \"updated_at\" (default), \"created_at\" or \"name\"."
},
"sort_direction": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "\"desc\" (default) or \"asc\"."
}
}
},
"annotations": {
"title": "List recipes",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One recipe in full: yield, servings, packages, allergens, costs (ingredient + packaging/labor/overhead), ingredient list, tags, primary label path and the complete per-serving nutrition. GET /recipes/{id}.
| Parameter | Type | Description |
|---|---|---|
| recipe_id * | integer | ReciPal recipe id. |
{
"name": "recipal_get_recipe",
"title": "Get recipe",
"description": "One recipe in full: yield, servings, packages, allergens, costs (ingredient + packaging/labor/overhead), ingredient list, tags, primary label path and the complete per-serving nutrition. GET /recipes/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"recipe_id"
],
"properties": {
"recipe_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "ReciPal recipe id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get recipe",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The formula of one recipe: every recipe ingredient line with ingredient id, name, quantity, unit, waste %, total grams and the display name per label language. Use the line ids with recipal_update_recipe_ingredient. GET /recipes/{id}/recipe_ingredients.
| Parameter | Type | Description |
|---|---|---|
| recipe_id * | integer | ReciPal recipe id. |
{
"name": "recipal_list_recipe_ingredients",
"title": "List recipe ingredients",
"description": "The formula of one recipe: every recipe ingredient line with ingredient id, name, quantity, unit, waste %, total grams and the display name per label language. Use the line ids with recipal_update_recipe_ingredient. GET /recipes/{id}/recipe_ingredients.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"recipe_id"
],
"properties": {
"recipe_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "ReciPal recipe id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "List recipe ingredients",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One ingredient line of a recipe, including units_and_grams (the units you can use for it, each with its weight in grams). GET /recipes/{recipe_id}/recipe_ingredients/{id}.
| Parameter | Type | Description |
|---|---|---|
| recipe_id * | integer | ReciPal recipe id. |
| recipe_ingredient_id * | integer | Recipe ingredient (line) id. |
{
"name": "recipal_get_recipe_ingredient",
"title": "Get recipe ingredient",
"description": "One ingredient line of a recipe, including units_and_grams (the units you can use for it, each with its weight in grams). GET /recipes/{recipe_id}/recipe_ingredients/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"recipe_id",
"recipe_ingredient_id"
],
"properties": {
"recipe_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "ReciPal recipe id.",
"exclusiveMinimum": 0
},
"recipe_ingredient_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Recipe ingredient (line) id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get recipe ingredient",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List your own ingredients (custom and subrecipe ingredients) with allergens, units and headline nutrition per 100 g. Set full=true for every nutrient. Archived ones are hidden unless asked for. GET /ingredients.
| Parameter | Type | Description |
|---|---|---|
| full | boolean | Return every ingredient field including all nutrients (large). Default false. |
| page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| archived | string | "false" = active only (default), "true" = archived only, "all" = both. |
| per_page | integer | Results per page, 1-20 (default 20). |
| sort_field | string | Sort by "updated_at" (default), "created_at" or "name". |
| sort_direction | string | "desc" (default) or "asc". |
{
"name": "recipal_list_ingredients",
"title": "List ingredients",
"description": "List your own ingredients (custom and subrecipe ingredients) with allergens, units and headline nutrition per 100 g. Set full=true for every nutrient. Archived ones are hidden unless asked for. GET /ingredients.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"full": {
"type": "boolean",
"description": "Return every ingredient field including all nutrients (large). Default false."
},
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's next_page.",
"exclusiveMinimum": 0
},
"archived": {
"enum": [
"false",
"true",
"all"
],
"type": "string",
"description": "\"false\" = active only (default), \"true\" = archived only, \"all\" = both."
},
"per_page": {
"type": "integer",
"maximum": 20,
"minimum": 1,
"description": "Results per page, 1-20 (default 20)."
},
"sort_field": {
"enum": [
"updated_at",
"created_at",
"name"
],
"type": "string",
"description": "Sort by \"updated_at\" (default), \"created_at\" or \"name\"."
},
"sort_direction": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "\"desc\" (default) or \"asc\"."
}
}
},
"annotations": {
"title": "List ingredients",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One ingredient in full (yours or a public one): allergens, ingredient-list text, custom units, and every nutrient per 100 grams. GET /ingredients/{id}.
| Parameter | Type | Description |
|---|---|---|
| ingredient_id * | integer | ReciPal ingredient id. |
{
"name": "recipal_get_ingredient",
"title": "Get ingredient",
"description": "One ingredient in full (yours or a public one): allergens, ingredient-list text, custom units, and every nutrient per 100 grams. GET /ingredients/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"ingredient_id"
],
"properties": {
"ingredient_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "ReciPal ingredient id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get ingredient",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The cost history of one ingredient: effective date, quantity, unit, price and shipping per entry (the entry with the latest effective_at not in the future is the active one). GET /ingredients/{id}/ingredient_costs.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| per_page | integer | Results per page, 1-20 (default 20). |
| ingredient_id * | integer | ReciPal ingredient id. |
{
"name": "recipal_list_ingredient_costs",
"title": "List costs of an ingredient",
"description": "The cost history of one ingredient: effective date, quantity, unit, price and shipping per entry (the entry with the latest effective_at not in the future is the active one). GET /ingredients/{id}/ingredient_costs.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"ingredient_id"
],
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's next_page.",
"exclusiveMinimum": 0
},
"per_page": {
"type": "integer",
"maximum": 20,
"minimum": 1,
"description": "Results per page, 1-20 (default 20)."
},
"ingredient_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "ReciPal ingredient id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "List costs of an ingredient",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The currently active cost of every ingredient (one entry per ingredient): price, shipping, quantity and unit. GET /ingredient_costs.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| per_page | integer | Results per page, 1-20 (default 20). |
{
"name": "recipal_list_current_ingredient_costs",
"title": "List current ingredient costs",
"description": "The currently active cost of every ingredient (one entry per ingredient): price, shipping, quantity and unit. GET /ingredient_costs.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's next_page.",
"exclusiveMinimum": 0
},
"per_page": {
"type": "integer",
"maximum": 20,
"minimum": 1,
"description": "Results per page, 1-20 (default 20)."
}
}
},
"annotations": {
"title": "List current ingredient costs",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One ingredient cost entry by id. GET /ingredient_costs/{id}.
| Parameter | Type | Description |
|---|---|---|
| ingredient_cost_id * | integer | Ingredient cost id. |
{
"name": "recipal_get_ingredient_cost",
"title": "Get ingredient cost",
"description": "One ingredient cost entry by id. GET /ingredient_costs/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"ingredient_cost_id"
],
"properties": {
"ingredient_cost_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Ingredient cost id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get ingredient cost",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}A recipe's saved nutrition-facts label settings (format, which rows show, styling) plus the computed nutrition claims (e.g. Fat Free) and ingredient list per language. The token is the last part of the recipe's primary_label path (/api/v1/labels/{token}). Optionally compute claims and ingredient list for another format. GET /labels/{token}.
| Parameter | Type | Description |
|---|---|---|
| label_token * | string | Label token from the recipe's primary_label path. |
| result_format | string | Compute claims and ingredient list for this format instead of the saved one, e.g. legacy_fda/adult/vertical. |
{
"name": "recipal_get_label",
"title": "Get label",
"description": "A recipe's saved nutrition-facts label settings (format, which rows show, styling) plus the computed nutrition claims (e.g. Fat Free) and ingredient list per language. The token is the last part of the recipe's primary_label path (/api/v1/labels/{token}). Optionally compute claims and ingredient list for another format. GET /labels/{token}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"label_token"
],
"properties": {
"label_token": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,64}$",
"description": "Label token from the recipe's primary_label path."
},
"result_format": {
"type": "string",
"pattern": "^[A-Za-z0-9_/.-]+$",
"maxLength": 100,
"minLength": 1,
"description": "Compute claims and ingredient list for this format instead of the saved one, e.g. legacy_fda/adult/vertical."
}
}
},
"annotations": {
"title": "Get label",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}WRITE (render job): start rendering a recipe's nutrition label as a PDF or PNG and return the render status with a token. Always asynchronous: poll recipal_get_label_render_status with the token until status is ready, then give the user the temporary download url. Each account may run 5 renders in parallel. GET /recipes/{id}/label.pdf|label.png?async=true.
| Parameter | Type | Description |
|---|---|---|
| zoom | number | PNG only: scale from 0.8 to 6 (default 3); larger = crisper, bigger image. |
| format * | string | "pdf" or "png". |
| page_size | string | PDF only: "auto" (default) crops to the label, or letter, legal, A4. |
| recipe_id * | integer | ReciPal recipe id. |
{
"name": "recipal_start_label_render",
"title": "Start label render",
"description": "WRITE (render job): start rendering a recipe's nutrition label as a PDF or PNG and return the render status with a token. Always asynchronous: poll recipal_get_label_render_status with the token until status is ready, then give the user the temporary download url. Each account may run 5 renders in parallel. GET /recipes/{id}/label.pdf|label.png?async=true.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"recipe_id",
"format"
],
"properties": {
"zoom": {
"type": "number",
"maximum": 6,
"minimum": 0.8,
"description": "PNG only: scale from 0.8 to 6 (default 3); larger = crisper, bigger image."
},
"format": {
"enum": [
"pdf",
"png"
],
"type": "string",
"description": "\"pdf\" or \"png\"."
},
"page_size": {
"enum": [
"auto",
"letter",
"legal",
"A4"
],
"type": "string",
"description": "PDF only: \"auto\" (default) crops to the label, or letter, legal, A4."
},
"recipe_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "ReciPal recipe id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Start label render",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Status of a label render started with recipal_start_label_render: waiting, processing, ready or error. When ready, url is a temporary presigned download link. Poll about once a second; each poll counts toward the weekly request limit. GET /recipes/label_renders/{token}.
| Parameter | Type | Description |
|---|---|---|
| token * | string | Render token returned by recipal_start_label_render. |
{
"name": "recipal_get_label_render_status",
"title": "Get label render status",
"description": "Status of a label render started with recipal_start_label_render: waiting, processing, ready or error. When ready, url is a temporary presigned download link. Poll about once a second; each poll counts toward the weekly request limit. GET /recipes/label_renders/{token}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,64}$",
"description": "Render token returned by recipal_start_label_render."
}
}
},
"annotations": {
"title": "Get label render status",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Raw-material (ingredient) stock rows: quantity on hand, weeks remaining, daily consumption, quantity on order, reorder risk (safe, warning, critical), reorder level and the on-hand value. Needs an inventory plan (otherwise 403 INVENTORY_PLAN_REQUIRED). By default sorted by weeks remaining, lowest first. GET /inventories.
| Parameter | Type | Description |
|---|---|---|
| q | string | Case-insensitive search in the ingredient name. |
| page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| tags | array | Only rows whose ingredient has ALL these tags. |
| archived | string | "false" = active only (default), "true" = archived only, "all" = both. |
| per_page | integer | Results per page, 1-20 (default 20). |
| sort_field | string | Default "inventories.weeks_remaining". |
| supplier_id | integer | Only rows linked to this supplier. |
| sort_direction | string | "asc" (default), "desc", or "mid" (warning band first, then critical, then safe; only for weeks_remaining and risk). |
{
"name": "recipal_list_inventories",
"title": "List raw-material inventory",
"description": "Raw-material (ingredient) stock rows: quantity on hand, weeks remaining, daily consumption, quantity on order, reorder risk (safe, warning, critical), reorder level and the on-hand value. Needs an inventory plan (otherwise 403 INVENTORY_PLAN_REQUIRED). By default sorted by weeks remaining, lowest first. GET /inventories.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"q": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Case-insensitive search in the ingredient name."
},
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's next_page.",
"exclusiveMinimum": 0
},
"tags": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"maxItems": 20,
"description": "Only rows whose ingredient has ALL these tags."
},
"archived": {
"enum": [
"false",
"true",
"all"
],
"type": "string",
"description": "\"false\" = active only (default), \"true\" = archived only, \"all\" = both."
},
"per_page": {
"type": "integer",
"maximum": 20,
"minimum": 1,
"description": "Results per page, 1-20 (default 20)."
},
"sort_field": {
"enum": [
"inventories.weeks_remaining",
"inventories.updated_at",
"ingredients.name",
"risk"
],
"type": "string",
"description": "Default \"inventories.weeks_remaining\"."
},
"supplier_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Only rows linked to this supplier.",
"exclusiveMinimum": 0
},
"sort_direction": {
"enum": [
"asc",
"desc",
"mid"
],
"type": "string",
"description": "\"asc\" (default), \"desc\", or \"mid\" (warning band first, then critical, then safe; only for weeks_remaining and risk)."
}
}
},
"annotations": {
"title": "List raw-material inventory",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One raw-material stock row by id (quantity, unit, weeks remaining, reorder guideline, on-hand value). Needs an inventory plan. GET /inventories/{id}.
| Parameter | Type | Description |
|---|---|---|
| inventory_id * | integer | Inventory row id. |
{
"name": "recipal_get_inventory",
"title": "Get raw-material inventory row",
"description": "One raw-material stock row by id (quantity, unit, weeks remaining, reorder guideline, on-hand value). Needs an inventory plan. GET /inventories/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"inventory_id"
],
"properties": {
"inventory_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Inventory row id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get raw-material inventory row",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Ingredient tags in use with the number of ingredients carrying each, most used first. Use them to filter recipal_list_inventories. Needs an inventory plan. GET /inventories/tags.
No parameters.
{
"name": "recipal_list_inventory_tags",
"title": "List ingredient tags",
"description": "Ingredient tags in use with the number of ingredients carrying each, most used first. Use them to filter recipal_list_inventories. Needs an inventory plan. GET /inventories/tags.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List ingredient tags",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Finished-goods stock rows: recipe, quantity on hand, unit, total packages, lot-code settings, case/pallet sizes and the on-hand value. Needs an inventory plan. GET /finished_goods.
| Parameter | Type | Description |
|---|---|---|
| q | string | Case-insensitive search in the recipe name. |
| page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
| tags | array | Only rows whose recipe has ALL these tags. |
| archived | string | "false" = active only (default), "true" = archived only, "all" = both. |
| per_page | integer | Results per page, 1-20 (default 20). |
| sort_field | string | Default "recipes.name". |
| sort_direction | string | "asc" (default) or "desc". |
{
"name": "recipal_list_finished_goods",
"title": "List finished goods inventory",
"description": "Finished-goods stock rows: recipe, quantity on hand, unit, total packages, lot-code settings, case/pallet sizes and the on-hand value. Needs an inventory plan. GET /finished_goods.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"q": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Case-insensitive search in the recipe name."
},
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1). Pass the previous reply's next_page.",
"exclusiveMinimum": 0
},
"tags": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"maxItems": 20,
"description": "Only rows whose recipe has ALL these tags."
},
"archived": {
"enum": [
"false",
"true",
"all"
],
"type": "string",
"description": "\"false\" = active only (default), \"true\" = archived only, \"all\" = both."
},
"per_page": {
"type": "integer",
"maximum": 20,
"minimum": 1,
"description": "Results per page, 1-20 (default 20)."
},
"sort_field": {
"enum": [
"recipes.name",
"finished_goods.updated_at"
],
"type": "string",
"description": "Default \"recipes.name\"."
},
"sort_direction": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "\"asc\" (default) or \"desc\"."
}
}
},
"annotations": {
"title": "List finished goods inventory",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One finished-goods stock row by id. Needs an inventory plan. GET /finished_goods/{id}.
| Parameter | Type | Description |
|---|---|---|
| finished_good_id * | integer | Finished good row id. |
{
"name": "recipal_get_finished_good",
"title": "Get finished goods row",
"description": "One finished-goods stock row by id. Needs an inventory plan. GET /finished_goods/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"finished_good_id"
],
"properties": {
"finished_good_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Finished good row id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get finished goods row",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Recipe tags in use with the number of recipes carrying each, most used first. Use them to filter recipal_list_finished_goods. Needs an inventory plan. GET /finished_goods/tags.
No parameters.
{
"name": "recipal_list_finished_good_tags",
"title": "List recipe tags",
"description": "Recipe tags in use with the number of recipes carrying each, most used first. Use them to filter recipal_list_finished_goods. Needs an inventory plan. GET /finished_goods/tags.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List recipe tags",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}WRITE: create a new, empty recipe (add ingredient lines with recipal_add_recipe_ingredient, or use recipal_create_recipe_from_ingredients to do both at once). All fields are optional. Creates a record in your ReciPal account; it counts against the plan's recipe allowance. POST /recipes.
| Parameter | Type | Description |
|---|---|---|
| sku | string | Your SKU. |
| name | string | Recipe name. |
| packages | number | Number of packages the recipe yields per batch (0 or more). |
| servings | number | Servings per package (at least 1). |
| allergens | object | Allergens by name, e.g. {"Milk": true, "Almond": true, "other-shellfish": "Oyster"}. Standard names: Wheat, Peanuts, Soy, Sesame, Mustard, Sulfites, Milk (Goat milk, Sheep milk), Egg (Duck egg, Quail egg), Fish (Tuna, Cod, Salmon, Bass), Shellfish (Crab, Lobster, Shrimp), tree nuts (Almond, Cashew, … |
| labor_cost | number | Labor cost per batch. |
| preparation | string | Preparation instructions for staff. |
| overhead_cost | number | Overhead cost per batch (rent, electricity, equipment ...). |
| packaging_cost | number | Cost per package of direct and secondary packaging. |
| subrecipe_name | string | Name shown when this recipe is used as a subrecipe in another recipe's ingredient list. |
| ingredient_list | string | Ingredient list text for the label. |
| suggested_serving | string | Suggested serving in common terms, e.g. "1 piece or 1 cup". |
| package_yield_unit | string | Unit of the finished package weight: "grams" (default), "ounces", "mL" or "fluid ounces". |
| prepared_serving_note | string | Note after the serving size on FDA labels, e.g. "makes 1 cup prepared". |
| subrecipe_name_french | string | French name shown when used as a subrecipe. |
| package_yield_quantity | number | Net weight of each finished package, in package_yield_unit (default 0). |
| visual_unit_of_measure | string | Visual reference after the metric serving size on FDA labels, e.g. "5 chips". |
{
"name": "recipal_create_recipe",
"title": "Create recipe",
"description": "WRITE: create a new, empty recipe (add ingredient lines with recipal_add_recipe_ingredient, or use recipal_create_recipe_from_ingredients to do both at once). All fields are optional. Creates a record in your ReciPal account; it counts against the plan's recipe allowance. POST /recipes.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"sku": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Your SKU."
},
"name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Recipe name."
},
"packages": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "Number of packages the recipe yields per batch (0 or more)."
},
"servings": {
"type": "number",
"maximum": 100000,
"minimum": 1,
"description": "Servings per package (at least 1)."
},
"allergens": {
"type": "object",
"description": "Allergens by name, e.g. {\"Milk\": true, \"Almond\": true, \"other-shellfish\": \"Oyster\"}. Standard names: Wheat, Peanuts, Soy, Sesame, Mustard, Sulfites, Milk (Goat milk, Sheep milk), Egg (Duck egg, Quail egg), Fish (Tuna, Cod, Salmon, Bass), Shellfish (Crab, Lobster, Shrimp), tree nuts (Almond, Cashew, Hazelnut, Macadamia nut, Pecan, Pine nut, Pistachio, Walnut ...), Gluten (Barley, Oats, Rye, Triticale). other-milk/-egg/-fish/-shellfish/-treenut take a free-text source. An empty object {} clears all allergens.",
"propertyNames": {
"type": "string",
"maxLength": 60,
"minLength": 1
},
"additionalProperties": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "string",
"maxLength": 120,
"minLength": 1
}
]
}
},
"labor_cost": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "Labor cost per batch."
},
"preparation": {
"type": "string",
"maxLength": 5000,
"description": "Preparation instructions for staff."
},
"overhead_cost": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "Overhead cost per batch (rent, electricity, equipment ...)."
},
"packaging_cost": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "Cost per package of direct and secondary packaging."
},
"subrecipe_name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Name shown when this recipe is used as a subrecipe in another recipe's ingredient list."
},
"ingredient_list": {
"type": "string",
"maxLength": 5000,
"description": "Ingredient list text for the label."
},
"suggested_serving": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Suggested serving in common terms, e.g. \"1 piece or 1 cup\"."
},
"package_yield_unit": {
"enum": [
"grams",
"ounces",
"mL",
"fluid ounces"
],
"type": "string",
"description": "Unit of the finished package weight: \"grams\" (default), \"ounces\", \"mL\" or \"fluid ounces\"."
},
"prepared_serving_note": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Note after the serving size on FDA labels, e.g. \"makes 1 cup prepared\"."
},
"subrecipe_name_french": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "French name shown when used as a subrecipe."
},
"package_yield_quantity": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "Net weight of each finished package, in package_yield_unit (default 0)."
},
"visual_unit_of_measure": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Visual reference after the metric serving size on FDA labels, e.g. \"5 chips\"."
}
}
},
"annotations": {
"title": "Create recipe",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}WRITE: change fields of one recipe; fields you leave out stay unchanged. package_yield_quantity "default" sets the package weight to the total weight of the current ingredients (no moisture loss accounted for); ingredient_list "default" rebuilds the label ingredient list in descending weight order. Changes labels and costs of this recipe. Tags cannot be set here. PUT /recipes/{id}.
| Parameter | Type | Description |
|---|---|---|
| sku | string | Your SKU. |
| name | string | Recipe name. |
| packages | number | Number of packages the recipe yields per batch (0 or more). |
| servings | number | Servings per package (at least 1). |
| allergens | object | Allergens by name, e.g. {"Milk": true, "Almond": true, "other-shellfish": "Oyster"}. Standard names: Wheat, Peanuts, Soy, Sesame, Mustard, Sulfites, Milk (Goat milk, Sheep milk), Egg (Duck egg, Quail egg), Fish (Tuna, Cod, Salmon, Bass), Shellfish (Crab, Lobster, Shrimp), tree nuts (Almond, Cashew, … |
| recipe_id * | integer | ReciPal recipe id. |
| labor_cost | number | Labor cost per batch. |
| preparation | string | Preparation instructions for staff. |
| overhead_cost | number | Overhead cost per batch (rent, electricity, equipment ...). |
| packaging_cost | number | Cost per package of direct and secondary packaging. |
| subrecipe_name | string | Name shown when this recipe is used as a subrecipe in another recipe's ingredient list. |
| ingredient_list | string | Ingredient list text for the label, or "default" to rebuild it from the ingredients. |
| suggested_serving | string | Suggested serving in common terms, e.g. "1 piece or 1 cup". |
| package_yield_unit | string | Unit of the finished package weight: "grams" (default), "ounces", "mL" or "fluid ounces". |
| prepared_serving_note | string | Note after the serving size on FDA labels, e.g. "makes 1 cup prepared". |
| subrecipe_name_french | string | French name shown when used as a subrecipe. |
| package_yield_quantity | any | Net weight of each finished package in package_yield_unit, or "default" to total the ingredient weights. |
| visual_unit_of_measure | string | Visual reference after the metric serving size on FDA labels, e.g. "5 chips". |
{
"name": "recipal_update_recipe",
"title": "Update recipe",
"description": "WRITE: change fields of one recipe; fields you leave out stay unchanged. package_yield_quantity \"default\" sets the package weight to the total weight of the current ingredients (no moisture loss accounted for); ingredient_list \"default\" rebuilds the label ingredient list in descending weight order. Changes labels and costs of this recipe. Tags cannot be set here. PUT /recipes/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"recipe_id"
],
"properties": {
"sku": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Your SKU."
},
"name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Recipe name."
},
"packages": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "Number of packages the recipe yields per batch (0 or more)."
},
"servings": {
"type": "number",
"maximum": 100000,
"minimum": 1,
"description": "Servings per package (at least 1)."
},
"allergens": {
"type": "object",
"description": "Allergens by name, e.g. {\"Milk\": true, \"Almond\": true, \"other-shellfish\": \"Oyster\"}. Standard names: Wheat, Peanuts, Soy, Sesame, Mustard, Sulfites, Milk (Goat milk, Sheep milk), Egg (Duck egg, Quail egg), Fish (Tuna, Cod, Salmon, Bass), Shellfish (Crab, Lobster, Shrimp), tree nuts (Almond, Cashew, Hazelnut, Macadamia nut, Pecan, Pine nut, Pistachio, Walnut ...), Gluten (Barley, Oats, Rye, Triticale). other-milk/-egg/-fish/-shellfish/-treenut take a free-text source. An empty object {} clears all allergens.",
"propertyNames": {
"type": "string",
"maxLength": 60,
"minLength": 1
},
"additionalProperties": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "string",
"maxLength": 120,
"minLength": 1
}
]
}
},
"recipe_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "ReciPal recipe id.",
"exclusiveMinimum": 0
},
"labor_cost": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "Labor cost per batch."
},
"preparation": {
"type": "string",
"maxLength": 5000,
"description": "Preparation instructions for staff."
},
"overhead_cost": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "Overhead cost per batch (rent, electricity, equipment ...)."
},
"packaging_cost": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "Cost per package of direct and secondary packaging."
},
"subrecipe_name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Name shown when this recipe is used as a subrecipe in another recipe's ingredient list."
},
"ingredient_list": {
"type": "string",
"maxLength": 5000,
"description": "Ingredient list text for the label, or \"default\" to rebuild it from the ingredients."
},
"suggested_serving": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Suggested serving in common terms, e.g. \"1 piece or 1 cup\"."
},
"package_yield_unit": {
"enum": [
"grams",
"ounces",
"mL",
"fluid ounces"
],
"type": "string",
"description": "Unit of the finished package weight: \"grams\" (default), \"ounces\", \"mL\" or \"fluid ounces\"."
},
"prepared_serving_note": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Note after the serving size on FDA labels, e.g. \"makes 1 cup prepared\"."
},
"subrecipe_name_french": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "French name shown when used as a subrecipe."
},
"package_yield_quantity": {
"anyOf": [
{
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
{
"type": "string",
"const": "default"
}
],
"description": "Net weight of each finished package in package_yield_unit, or \"default\" to total the ingredient weights."
},
"visual_unit_of_measure": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Visual reference after the metric serving size on FDA labels, e.g. \"5 chips\"."
}
}
},
"annotations": {
"title": "Update recipe",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}WRITE: create a NEW recipe as a copy of an existing one, with every ingredient quantity and the yield multiplied by scale_amount (1 = plain copy; per-serving nutrition stays the same; scaling down cannot take packages below 1). Costs and tags carry over. The original is not changed. Without a name the copy is called "<name> (copy)" or "<name> <n>x". POST /recipes/{id}/scale.
| Parameter | Type | Description |
|---|---|---|
| name | string | Name of the new recipe. |
| recipe_id * | integer | Recipe to copy. |
| scale_amount | number | Multiplier for quantities and yield (default 1). |
{
"name": "recipal_scale_recipe",
"title": "Copy or scale recipe",
"description": "WRITE: create a NEW recipe as a copy of an existing one, with every ingredient quantity and the yield multiplied by scale_amount (1 = plain copy; per-serving nutrition stays the same; scaling down cannot take packages below 1). Costs and tags carry over. The original is not changed. Without a name the copy is called \"<name> (copy)\" or \"<name> <n>x\". POST /recipes/{id}/scale.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"recipe_id"
],
"properties": {
"name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Name of the new recipe."
},
"recipe_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Recipe to copy.",
"exclusiveMinimum": 0
},
"scale_amount": {
"type": "number",
"maximum": 1000000000000,
"description": "Multiplier for quantities and yield (default 1).",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Copy or scale recipe",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}WRITE: create a new recipe and its ingredient lines in one call. ingredients lists ingredient ids with the weight of each in grams. Optional yield, servings and packaging fields as in recipal_create_recipe. Creates a record in your ReciPal account. POST /recipes/shortcut.
| Parameter | Type | Description |
|---|---|---|
| sku | string | Your SKU. |
| name | string | Recipe name. |
| packages | number | Number of packages the recipe yields per batch (0 or more). |
| servings | number | Servings per package (at least 1). |
| allergens | object | Allergens by name, e.g. {"Milk": true, "Almond": true, "other-shellfish": "Oyster"}. Standard names: Wheat, Peanuts, Soy, Sesame, Mustard, Sulfites, Milk (Goat milk, Sheep milk), Egg (Duck egg, Quail egg), Fish (Tuna, Cod, Salmon, Bass), Shellfish (Crab, Lobster, Shrimp), tree nuts (Almond, Cashew, … |
| labor_cost | number | Labor cost per batch. |
| ingredients * | array | Ingredient ids with their weights in grams (1-100 lines). |
| preparation | string | Preparation instructions for staff. |
| overhead_cost | number | Overhead cost per batch (rent, electricity, equipment ...). |
| packaging_cost | number | Cost per package of direct and secondary packaging. |
| subrecipe_name | string | Name shown when this recipe is used as a subrecipe in another recipe's ingredient list. |
| ingredient_list | string | Ingredient list text for the label. |
| suggested_serving | string | Suggested serving in common terms, e.g. "1 piece or 1 cup". |
| package_yield_unit | string | Unit of the finished package weight: "grams" (default), "ounces", "mL" or "fluid ounces". |
| prepared_serving_note | string | Note after the serving size on FDA labels, e.g. "makes 1 cup prepared". |
| subrecipe_name_french | string | French name shown when used as a subrecipe. |
| package_yield_quantity | number | Net weight of each finished package, in package_yield_unit (default 0). |
| visual_unit_of_measure | string | Visual reference after the metric serving size on FDA labels, e.g. "5 chips". |
{
"name": "recipal_create_recipe_from_ingredients",
"title": "Create recipe with ingredients",
"description": "WRITE: create a new recipe and its ingredient lines in one call. ingredients lists ingredient ids with the weight of each in grams. Optional yield, servings and packaging fields as in recipal_create_recipe. Creates a record in your ReciPal account. POST /recipes/shortcut.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"ingredients"
],
"properties": {
"sku": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Your SKU."
},
"name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Recipe name."
},
"packages": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "Number of packages the recipe yields per batch (0 or more)."
},
"servings": {
"type": "number",
"maximum": 100000,
"minimum": 1,
"description": "Servings per package (at least 1)."
},
"allergens": {
"type": "object",
"description": "Allergens by name, e.g. {\"Milk\": true, \"Almond\": true, \"other-shellfish\": \"Oyster\"}. Standard names: Wheat, Peanuts, Soy, Sesame, Mustard, Sulfites, Milk (Goat milk, Sheep milk), Egg (Duck egg, Quail egg), Fish (Tuna, Cod, Salmon, Bass), Shellfish (Crab, Lobster, Shrimp), tree nuts (Almond, Cashew, Hazelnut, Macadamia nut, Pecan, Pine nut, Pistachio, Walnut ...), Gluten (Barley, Oats, Rye, Triticale). other-milk/-egg/-fish/-shellfish/-treenut take a free-text source. An empty object {} clears all allergens.",
"propertyNames": {
"type": "string",
"maxLength": 60,
"minLength": 1
},
"additionalProperties": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "string",
"maxLength": 120,
"minLength": 1
}
]
}
},
"labor_cost": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "Labor cost per batch."
},
"ingredients": {
"type": "array",
"items": {
"type": "object",
"required": [
"ingredient_id",
"grams"
],
"properties": {
"grams": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "Weight in grams."
},
"ingredient_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Ingredient id.",
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"maxItems": 100,
"minItems": 1,
"description": "Ingredient ids with their weights in grams (1-100 lines)."
},
"preparation": {
"type": "string",
"maxLength": 5000,
"description": "Preparation instructions for staff."
},
"overhead_cost": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "Overhead cost per batch (rent, electricity, equipment ...)."
},
"packaging_cost": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "Cost per package of direct and secondary packaging."
},
"subrecipe_name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Name shown when this recipe is used as a subrecipe in another recipe's ingredient list."
},
"ingredient_list": {
"type": "string",
"maxLength": 5000,
"description": "Ingredient list text for the label."
},
"suggested_serving": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Suggested serving in common terms, e.g. \"1 piece or 1 cup\"."
},
"package_yield_unit": {
"enum": [
"grams",
"ounces",
"mL",
"fluid ounces"
],
"type": "string",
"description": "Unit of the finished package weight: \"grams\" (default), \"ounces\", \"mL\" or \"fluid ounces\"."
},
"prepared_serving_note": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Note after the serving size on FDA labels, e.g. \"makes 1 cup prepared\"."
},
"subrecipe_name_french": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "French name shown when used as a subrecipe."
},
"package_yield_quantity": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "Net weight of each finished package, in package_yield_unit (default 0)."
},
"visual_unit_of_measure": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Visual reference after the metric serving size on FDA labels, e.g. \"5 chips\"."
}
}
},
"annotations": {
"title": "Create recipe with ingredients",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}WRITE: turn a recipe into an ingredient (a subrecipe) with its nutrition, costing and ingredient list, so it can be used inside other recipes. Later changes to the recipe flow through to the ingredient. Fails if the recipe is empty. Returns the new ingredient. POST /recipes/{id}/create_subrecipe.
| Parameter | Type | Description |
|---|---|---|
| recipe_id * | integer | Recipe to turn into a subrecipe. |
{
"name": "recipal_create_subrecipe",
"title": "Turn recipe into subrecipe",
"description": "WRITE: turn a recipe into an ingredient (a subrecipe) with its nutrition, costing and ingredient list, so it can be used inside other recipes. Later changes to the recipe flow through to the ingredient. Fails if the recipe is empty. Returns the new ingredient. POST /recipes/{id}/create_subrecipe.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"recipe_id"
],
"properties": {
"recipe_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Recipe to turn into a subrecipe.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Turn recipe into subrecipe",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}WRITE: add an ingredient line to a recipe, by unit and quantity (the unit must be one the ingredient offers, e.g. "1 cup" or "1 gram"; see units_and_grams from recipal_get_recipe_ingredient or valid_units from recipal_get_ingredient) or directly by total_grams (overrides unit and quantity). Changes the recipe's nutrition, label and cost. POST /recipes/{id}/recipe_ingredients.
| Parameter | Type | Description |
|---|---|---|
| unit | string | Unit of the ingredient (default: its first unit). |
| waste | number | Percent of the ingredient that does not go into the product (0-100). Costed in full, excluded from nutrition. |
| quantity | number | Amount of the unit (default 1). |
| recipe_id * | integer | ReciPal recipe id. |
| total_grams | number | Weight in grams; overrides unit and quantity. |
| ingredient_id * | integer | Ingredient to add. |
{
"name": "recipal_add_recipe_ingredient",
"title": "Add ingredient to recipe",
"description": "WRITE: add an ingredient line to a recipe, by unit and quantity (the unit must be one the ingredient offers, e.g. \"1 cup\" or \"1 gram\"; see units_and_grams from recipal_get_recipe_ingredient or valid_units from recipal_get_ingredient) or directly by total_grams (overrides unit and quantity). Changes the recipe's nutrition, label and cost. POST /recipes/{id}/recipe_ingredients.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"recipe_id",
"ingredient_id"
],
"properties": {
"unit": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Unit of the ingredient (default: its first unit)."
},
"waste": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "Percent of the ingredient that does not go into the product (0-100). Costed in full, excluded from nutrition."
},
"quantity": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "Amount of the unit (default 1)."
},
"recipe_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "ReciPal recipe id.",
"exclusiveMinimum": 0
},
"total_grams": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "Weight in grams; overrides unit and quantity."
},
"ingredient_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Ingredient to add.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Add ingredient to recipe",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}WRITE: change the AMOUNT of one ingredient line in a recipe (unit, quantity, waste or total_grams; total_grams overrides unit and quantity). It cannot swap the ingredient: remove the line and add another instead. Changes the recipe's nutrition, label and cost. PUT /recipes/{recipe_id}/recipe_ingredients/{id}.
| Parameter | Type | Description |
|---|---|---|
| unit | string | Unit, one of the ingredient's units. |
| waste | number | Waste percent (0-100). |
| quantity | number | Amount of the unit. |
| recipe_id * | integer | ReciPal recipe id. |
| total_grams | number | Weight in grams; overrides unit and quantity. |
| recipe_ingredient_id * | integer | Recipe ingredient (line) id from recipal_list_recipe_ingredients. |
{
"name": "recipal_update_recipe_ingredient",
"title": "Update recipe ingredient amount",
"description": "WRITE: change the AMOUNT of one ingredient line in a recipe (unit, quantity, waste or total_grams; total_grams overrides unit and quantity). It cannot swap the ingredient: remove the line and add another instead. Changes the recipe's nutrition, label and cost. PUT /recipes/{recipe_id}/recipe_ingredients/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"recipe_id",
"recipe_ingredient_id"
],
"properties": {
"unit": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Unit, one of the ingredient's units."
},
"waste": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "Waste percent (0-100)."
},
"quantity": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "Amount of the unit."
},
"recipe_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "ReciPal recipe id.",
"exclusiveMinimum": 0
},
"total_grams": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "Weight in grams; overrides unit and quantity."
},
"recipe_ingredient_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Recipe ingredient (line) id from recipal_list_recipe_ingredients.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Update recipe ingredient amount",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}WRITE (destructive): permanently remove one ingredient line from a recipe. It cannot be undone, but the same ingredient can be added back (with recipal_add_recipe_ingredient). Changes the recipe's nutrition, label and cost. The ingredient itself is not deleted. DELETE /recipes/{recipe_id}/recipe_ingredients/{id}.
| Parameter | Type | Description |
|---|---|---|
| recipe_id * | integer | ReciPal recipe id. |
| recipe_ingredient_id * | integer | Recipe ingredient (line) id from recipal_list_recipe_ingredients. |
{
"name": "recipal_remove_recipe_ingredient",
"title": "Remove ingredient from recipe",
"description": "WRITE (destructive): permanently remove one ingredient line from a recipe. It cannot be undone, but the same ingredient can be added back (with recipal_add_recipe_ingredient). Changes the recipe's nutrition, label and cost. The ingredient itself is not deleted. DELETE /recipes/{recipe_id}/recipe_ingredients/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"recipe_id",
"recipe_ingredient_id"
],
"properties": {
"recipe_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "ReciPal recipe id.",
"exclusiveMinimum": 0
},
"recipe_ingredient_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Recipe ingredient (line) id from recipal_list_recipe_ingredients.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Remove ingredient from recipe",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}WRITE: create a custom ingredient (private to your account) with its nutrition facts. For a food ingredient give nutrition_unit and nutrition_quantity (the serving the nutrients are entered for, e.g. 1 cup; for units beyond gram/oz/lb/kg add them in measures first) and all required nutrients. food and non_food cannot be changed later. Non-food items: set food=false and non_food to labor, packaging, safety, other_hourly or other_fixed. POST /ingredients.
| Parameter | Type | Description |
|---|---|---|
| food | boolean | true (default) for a food ingredient; false for a non-food item. |
| name * | string | Ingredient name (unique unless private). |
| brand | string | Brand name, mainly to verify data. |
| source | string | Data source: URL, supplier or recipe id. |
| measures | array | Custom units, e.g. [{quantity:1, unit:'cup', equivalent_quantity:240, equivalent_unit:'gram'}]. |
| non_food | string | Required when food=false. |
| allergens | object | Allergens by name, e.g. {"Milk": true, "Almond": true, "other-shellfish": "Oyster"}. Standard names: Wheat, Peanuts, Soy, Sesame, Mustard, Sulfites, Milk (Goat milk, Sheep milk), Egg (Duck egg, Quail egg), Fish (Tuna, Cod, Salmon, Bass), Shellfish (Crab, Lobster, Shrimp), tree nuts (Almond, Cashew, … |
| nutrients | object | Nutrition facts (food ingredients only). Amounts per serving (nutrition_quantity x nutrition_unit): calories; grams for protein, fat, fat_saturated, fat_trans, carbohydrate, fiber, uncounted_fiber, sugar, added_sugar, sugar_alcohol, fat_monounsaturated, fat_polyunsaturated, omega_3, omega_6, water, … |
| nutrition_unit | string | Required for food and safety ingredients. Food: the unit the nutrients are entered in (gram, oz, lb, kg, "100 grams", a unit from measures, or a volume unit such as cup once measures includes a volume). Safety: deg_f, deg_c, ph, brix, aw, seconds, minutes, hours, psi, ppm, percent, pass_fail or each… |
| ingredient_list | string | Ingredient list text as it appears on a label, e.g. "Curlies (Milk, Sugar)". |
| nutrition_quantity | number | Required for food ingredients: quantity of nutrition_unit the nutrients are for, e.g. 0.5 for 0.5 cup. |
{
"name": "recipal_create_ingredient",
"title": "Create ingredient",
"description": "WRITE: create a custom ingredient (private to your account) with its nutrition facts. For a food ingredient give nutrition_unit and nutrition_quantity (the serving the nutrients are entered for, e.g. 1 cup; for units beyond gram/oz/lb/kg add them in measures first) and all required nutrients. food and non_food cannot be changed later. Non-food items: set food=false and non_food to labor, packaging, safety, other_hourly or other_fixed. POST /ingredients.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"name"
],
"properties": {
"food": {
"type": "boolean",
"description": "true (default) for a food ingredient; false for a non-food item."
},
"name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Ingredient name (unique unless private)."
},
"brand": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Brand name, mainly to verify data."
},
"source": {
"type": "string",
"maxLength": 500,
"minLength": 1,
"description": "Data source: URL, supplier or recipe id."
},
"measures": {
"type": "array",
"items": {
"type": "object",
"required": [
"quantity",
"unit",
"equivalent_quantity",
"equivalent_unit"
],
"properties": {
"unit": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Name of the unit, e.g. \"cookie\" or \"cup\". Not gram, oz, lb or kg (every ingredient has those)."
},
"quantity": {
"type": "number",
"maximum": 1000000000000,
"description": "How many of `unit` the measure describes (e.g. 1).",
"exclusiveMinimum": 0
},
"equivalent_unit": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "gram, oz, lb, kg, or another measure's unit."
},
"equivalent_quantity": {
"type": "number",
"maximum": 1000000000000,
"description": "How much of equivalent_unit that many units equal (e.g. 20).",
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"maxItems": 15,
"description": "Custom units, e.g. [{quantity:1, unit:'cup', equivalent_quantity:240, equivalent_unit:'gram'}]."
},
"non_food": {
"enum": [
"labor",
"packaging",
"safety",
"other_hourly",
"other_fixed"
],
"type": "string",
"description": "Required when food=false."
},
"allergens": {
"type": "object",
"description": "Allergens by name, e.g. {\"Milk\": true, \"Almond\": true, \"other-shellfish\": \"Oyster\"}. Standard names: Wheat, Peanuts, Soy, Sesame, Mustard, Sulfites, Milk (Goat milk, Sheep milk), Egg (Duck egg, Quail egg), Fish (Tuna, Cod, Salmon, Bass), Shellfish (Crab, Lobster, Shrimp), tree nuts (Almond, Cashew, Hazelnut, Macadamia nut, Pecan, Pine nut, Pistachio, Walnut ...), Gluten (Barley, Oats, Rye, Triticale). other-milk/-egg/-fish/-shellfish/-treenut take a free-text source. An empty object {} clears all allergens.",
"propertyNames": {
"type": "string",
"maxLength": 60,
"minLength": 1
},
"additionalProperties": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "string",
"maxLength": 120,
"minLength": 1
}
]
}
},
"nutrients": {
"type": "object",
"properties": {
"ash": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"fat": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"iron": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"zinc": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"fiber": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"sugar": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"water": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"biotin": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"copper": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"folate": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"iodine": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"niacin": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"sodium": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"calcium": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"choline": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"omega_3": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"omega_6": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"protein": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"thiamin": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"calories": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"chloride": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"chromium": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"selenium": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"fat_trans": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"magnesium": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"manganese": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"potassium": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"vitamin_c": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"vitamin_e": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"vitamin_k": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"folic_acid": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"molybdenum": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"phosphorus": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"riboflavin": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"vitamin_b6": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"added_sugar": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"cholesterol": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"food_folate": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"vitamin_b12": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"carbohydrate": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"vitamin_a_IU": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"vitamin_d_IU": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"fat_saturated": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"sugar_alcohol": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"uncounted_fiber": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"pantothenic_acid": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"fat_monounsaturated": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"fat_polyunsaturated": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"folate_dietary_equivalent": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
}
},
"description": "Nutrition facts (food ingredients only). Amounts per serving (nutrition_quantity x nutrition_unit): calories; grams for protein, fat, fat_saturated, fat_trans, carbohydrate, fiber, uncounted_fiber, sugar, added_sugar, sugar_alcohol, fat_monounsaturated, fat_polyunsaturated, omega_3, omega_6, water, ash; milligrams for cholesterol, sodium, calcium, iron, potassium, vitamin_c, vitamin_e, thiamin, riboflavin, niacin, vitamin_b6, pantothenic_acid, phosphorus, magnesium, zinc, copper, manganese, chloride, choline; micrograms for vitamin_k, folate, vitamin_b12, biotin, iodine, selenium, chromium, molybdenum; IU for vitamin_d_IU and vitamin_a_IU. Required for a food ingredient: calories, protein, fat, fat_saturated, fat_trans, cholesterol, carbohydrate, fiber, sugar, added_sugar, sodium, calcium, iron, vitamin_a_IU, vitamin_c.",
"additionalProperties": false
},
"nutrition_unit": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Required for food and safety ingredients. Food: the unit the nutrients are entered in (gram, oz, lb, kg, \"100 grams\", a unit from measures, or a volume unit such as cup once measures includes a volume). Safety: deg_f, deg_c, ph, brix, aw, seconds, minutes, hours, psi, ppm, percent, pass_fail or each."
},
"ingredient_list": {
"type": "string",
"maxLength": 2000,
"description": "Ingredient list text as it appears on a label, e.g. \"Curlies (Milk, Sugar)\"."
},
"nutrition_quantity": {
"type": "number",
"maximum": 1000000000000,
"description": "Required for food ingredients: quantity of nutrition_unit the nutrients are for, e.g. 0.5 for 0.5 cup.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Create ingredient",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}WRITE: change fields of one of YOUR ingredients (public ingredients cannot be edited); fields you leave out stay unchanged. If nutrition_unit, nutrition_quantity or their measure change, nutrients you do not pass are rescaled to keep the same amount per serving. measures REPLACES the whole list of custom units, so send them all. Setting archived true hides the ingredient from lists; false restores it. The change flows into every recipe using the ingredient. PUT /ingredients/{id}.
| Parameter | Type | Description |
|---|---|---|
| name | string | Ingredient name. |
| brand | string | Brand name. |
| source | string | Data source. |
| archived | boolean | true to archive, false to restore. |
| measures | array | The FULL list of custom units (replaces the existing list). |
| allergens | object | Allergens by name, e.g. {"Milk": true, "Almond": true, "other-shellfish": "Oyster"}. Standard names: Wheat, Peanuts, Soy, Sesame, Mustard, Sulfites, Milk (Goat milk, Sheep milk), Egg (Duck egg, Quail egg), Fish (Tuna, Cod, Salmon, Bass), Shellfish (Crab, Lobster, Shrimp), tree nuts (Almond, Cashew, … |
| nutrients | object | Nutrition facts to change; others are kept. Amounts per serving (nutrition_quantity x nutrition_unit): calories; grams for protein, fat, fat_saturated, fat_trans, carbohydrate, fiber, uncounted_fiber, sugar, added_sugar, sugar_alcohol, fat_monounsaturated, fat_polyunsaturated, omega_3, omega_6, wate… |
| ingredient_id * | integer | ReciPal ingredient id (one you created). |
| nutrition_unit | string | Unit the nutrients are entered in. |
| ingredient_list | string | Ingredient list text for labels. |
| nutrition_quantity | number | Quantity of nutrition_unit the nutrients are for. |
{
"name": "recipal_update_ingredient",
"title": "Update ingredient",
"description": "WRITE: change fields of one of YOUR ingredients (public ingredients cannot be edited); fields you leave out stay unchanged. If nutrition_unit, nutrition_quantity or their measure change, nutrients you do not pass are rescaled to keep the same amount per serving. measures REPLACES the whole list of custom units, so send them all. Setting archived true hides the ingredient from lists; false restores it. The change flows into every recipe using the ingredient. PUT /ingredients/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"ingredient_id"
],
"properties": {
"name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Ingredient name."
},
"brand": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Brand name."
},
"source": {
"type": "string",
"maxLength": 500,
"minLength": 1,
"description": "Data source."
},
"archived": {
"type": "boolean",
"description": "true to archive, false to restore."
},
"measures": {
"type": "array",
"items": {
"type": "object",
"required": [
"quantity",
"unit",
"equivalent_quantity",
"equivalent_unit"
],
"properties": {
"unit": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Name of the unit, e.g. \"cookie\" or \"cup\". Not gram, oz, lb or kg (every ingredient has those)."
},
"quantity": {
"type": "number",
"maximum": 1000000000000,
"description": "How many of `unit` the measure describes (e.g. 1).",
"exclusiveMinimum": 0
},
"equivalent_unit": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "gram, oz, lb, kg, or another measure's unit."
},
"equivalent_quantity": {
"type": "number",
"maximum": 1000000000000,
"description": "How much of equivalent_unit that many units equal (e.g. 20).",
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"maxItems": 15,
"description": "The FULL list of custom units (replaces the existing list)."
},
"allergens": {
"type": "object",
"description": "Allergens by name, e.g. {\"Milk\": true, \"Almond\": true, \"other-shellfish\": \"Oyster\"}. Standard names: Wheat, Peanuts, Soy, Sesame, Mustard, Sulfites, Milk (Goat milk, Sheep milk), Egg (Duck egg, Quail egg), Fish (Tuna, Cod, Salmon, Bass), Shellfish (Crab, Lobster, Shrimp), tree nuts (Almond, Cashew, Hazelnut, Macadamia nut, Pecan, Pine nut, Pistachio, Walnut ...), Gluten (Barley, Oats, Rye, Triticale). other-milk/-egg/-fish/-shellfish/-treenut take a free-text source. An empty object {} clears all allergens.",
"propertyNames": {
"type": "string",
"maxLength": 60,
"minLength": 1
},
"additionalProperties": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "string",
"maxLength": 120,
"minLength": 1
}
]
}
},
"nutrients": {
"type": "object",
"properties": {
"ash": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"fat": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"iron": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"zinc": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"fiber": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"sugar": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"water": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"biotin": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"copper": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"folate": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"iodine": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"niacin": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"sodium": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"calcium": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"choline": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"omega_3": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"omega_6": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"protein": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"thiamin": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"calories": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"chloride": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"chromium": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"selenium": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"fat_trans": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"magnesium": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"manganese": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"potassium": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"vitamin_c": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"vitamin_e": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"vitamin_k": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"folic_acid": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"molybdenum": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"phosphorus": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"riboflavin": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"vitamin_b6": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"added_sugar": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"cholesterol": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"food_folate": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"vitamin_b12": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"carbohydrate": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"vitamin_a_IU": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"vitamin_d_IU": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"fat_saturated": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"sugar_alcohol": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"uncounted_fiber": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"pantothenic_acid": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"fat_monounsaturated": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"fat_polyunsaturated": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
},
"folate_dietary_equivalent": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0
}
},
"description": "Nutrition facts to change; others are kept. Amounts per serving (nutrition_quantity x nutrition_unit): calories; grams for protein, fat, fat_saturated, fat_trans, carbohydrate, fiber, uncounted_fiber, sugar, added_sugar, sugar_alcohol, fat_monounsaturated, fat_polyunsaturated, omega_3, omega_6, water, ash; milligrams for cholesterol, sodium, calcium, iron, potassium, vitamin_c, vitamin_e, thiamin, riboflavin, niacin, vitamin_b6, pantothenic_acid, phosphorus, magnesium, zinc, copper, manganese, chloride, choline; micrograms for vitamin_k, folate, vitamin_b12, biotin, iodine, selenium, chromium, molybdenum; IU for vitamin_d_IU and vitamin_a_IU.",
"additionalProperties": false
},
"ingredient_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "ReciPal ingredient id (one you created).",
"exclusiveMinimum": 0
},
"nutrition_unit": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Unit the nutrients are entered in."
},
"ingredient_list": {
"type": "string",
"maxLength": 2000,
"description": "Ingredient list text for labels."
},
"nutrition_quantity": {
"type": "number",
"maximum": 1000000000000,
"description": "Quantity of nutrition_unit the nutrients are for.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Update ingredient",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}WRITE: add a price for an ingredient that becomes active on effective_at (the active cost is the one with the latest effective_at not after the date; one cost per ingredient per date). price and shipping are per quantity x unit. Changes the cost of every recipe using the ingredient from that date. Not allowed for subrecipe ingredients. POST /ingredient_costs.
| Parameter | Type | Description |
|---|---|---|
| unit * | string | A unit of the ingredient, e.g. "1 cup", "1 lb". |
| price | number | Price for quantity x unit (default 0). |
| quantity | number | How much of the unit the price covers (default 0). |
| shipping | number | Shipping for quantity x unit (default 0). |
| effective_at * | string | Date the cost becomes active, yyyy-mm-dd. |
| ingredient_id * | integer | Ingredient id. |
{
"name": "recipal_create_ingredient_cost",
"title": "Add ingredient cost",
"description": "WRITE: add a price for an ingredient that becomes active on effective_at (the active cost is the one with the latest effective_at not after the date; one cost per ingredient per date). price and shipping are per quantity x unit. Changes the cost of every recipe using the ingredient from that date. Not allowed for subrecipe ingredients. POST /ingredient_costs.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"ingredient_id",
"effective_at",
"unit"
],
"properties": {
"unit": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "A unit of the ingredient, e.g. \"1 cup\", \"1 lb\"."
},
"price": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "Price for quantity x unit (default 0)."
},
"quantity": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "How much of the unit the price covers (default 0)."
},
"shipping": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "Shipping for quantity x unit (default 0)."
},
"effective_at": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Date the cost becomes active, yyyy-mm-dd."
},
"ingredient_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Ingredient id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Add ingredient cost",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}WRITE: change an existing ingredient cost entry (date, unit, quantity, price, shipping); fields you leave out stay unchanged. Changes recipe costs that depend on it. Not allowed for subrecipe ingredients. PUT /ingredient_costs/{id}.
| Parameter | Type | Description |
|---|---|---|
| unit | string | A unit of the ingredient. |
| price | number | Price for quantity x unit. |
| quantity | number | How much of the unit the price covers. |
| shipping | number | Shipping for quantity x unit. |
| effective_at | string | New effective date, yyyy-mm-dd (unique per ingredient). |
| ingredient_cost_id * | integer | Ingredient cost id. |
{
"name": "recipal_update_ingredient_cost",
"title": "Update ingredient cost",
"description": "WRITE: change an existing ingredient cost entry (date, unit, quantity, price, shipping); fields you leave out stay unchanged. Changes recipe costs that depend on it. Not allowed for subrecipe ingredients. PUT /ingredient_costs/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"ingredient_cost_id"
],
"properties": {
"unit": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "A unit of the ingredient."
},
"price": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "Price for quantity x unit."
},
"quantity": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "How much of the unit the price covers."
},
"shipping": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "Shipping for quantity x unit."
},
"effective_at": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "New effective date, yyyy-mm-dd (unique per ingredient)."
},
"ingredient_cost_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Ingredient cost id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Update ingredient cost",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}Tools for ReciPal, hosted by usefulapi.io. If the user is new or asks what this server can do, suggest requests such as: "Which of my recipes contain milk or tree nuts?"; "Copy my Granola Bar recipe, scale it 5x and call it Granola Bar Batch."; "Which raw materials will run out within three weeks?". Read-only tools never change data; ask the user before a tool that creates, changes or deletes ReciPal data. Free plan: 50 tool calls per month. Run recipal_usage_status to see the calls used this month. If the user asks for something none of these tools can do, tell the user and, with their OK, run recipal_request_feature to record the request. Paid plans: Pro (10,000 tool calls a month, $9/month or $90/year, for normal use) and Pro+ (100,000 tool calls a month, $39/month or $390/year, for automations and heavy use). A plan can be cancelled at any time and then runs to the end of the paid period, so it also suits a one-time job. When the user wants more calls or reaches the limit, run recipal_upgrade without a plan: it returns both plans, each with a payment link for the user to open. recipal_cancel_subscription cancels Pro at the end of the paid period.
Names, descriptions and schemas were written by the server and are shown as data.
Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators.