Skip to main content
Glama
djwmarcx

Better Mealie MCP

Patch Recipes

patch_recipes

Patch Many

Instructions

Patch Many

Input Schema

NameRequiredDescriptionDefault
bodyYes
accept-languageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changedv3.29.0
    • addedInput schema / $defs / IngredientFood-Input / properties / recipeCount
      Added value: +{
      +  "type": "integer"
      +}
    • removedInput schema / $defs / Recipe-Input / properties / lastMade
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "format": "date-time",
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ]
      -}
    • addedInput schema / $defs / Recipe-Input / properties / performTimeSeconds
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maximum": 2147483647,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedInput schema / $defs / Recipe-Input / properties / prepTimeSeconds
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maximum": 2147483647,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedInput schema / $defs / Recipe-Input / properties / totalTimeSeconds
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maximum": 2147483647,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedInput schema / $defs / RecipeCategoryIn
      Added value: +{
      +  "properties": {
      +    "groupId": {
      +      "anyOf": [
      +        {
      +          "format": "uuid",
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "id": {
      +      "anyOf": [
      +        {
      +          "format": "uuid",
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "name": {
      +      "type": "string"
      +    },
      +    "recipeCount": {
      +      "type": "integer"
      +    },
      +    "slug": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    }
      +  },
      +  "required": [
      +    "name"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / $defs / RecipeIn
      Added value: +{
      +  "description": "Recipe as accepted on the write path only (create/update/patch request bodies).\n\nUnlike Recipe -- which is also used for responses and must guarantee real ids/slugs on\nits organizers -- this allows a client (e.g. hand-edited or re-imported JSON) to submit\ntags/categories/tools that omit id/slug, to be resolved or generated server-side.",
      +  "properties": {
      +    "assets": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "$ref": "#/$defs/RecipeAsset"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "comments": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "$ref": "#/$defs/RecipeCommentOut-Input"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "cookTime": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "createdAt": {
      +      "anyOf": [
      +        {
      +          "format": "date-time",
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "dateAdded": {
      +      "anyOf": [
      +        {
      +          "format": "date",
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "dateUpdated": {
      +      "anyOf": [
      +        {
      +          "format": "date-time",
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "description": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "extras": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": true,
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "groupId": {
      +      "format": "uuid",
      +      "type": "string"
      +    },
      +    "householdId": {
      +      "format": "uuid",
      +      "type": "string"
      +    },
      +    "id": {
      +      "anyOf": [
      +        {
      +          "format": "uuid",
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "image": {
      +      "anyOf": [
      +        {},
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "name": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "notes": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "$ref": "#/$defs/RecipeNote"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "nutrition": {
      +      "anyOf": [
      +        {
      +          "$ref": "#/$defs/Nutrition"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "orgURL": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "performTime": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "performTimeSeconds": {
      +      "anyOf": [
      +        {
      +          "maximum": 2147483647,
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "prepTime": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "prepTimeSeconds": {
      +      "anyOf": [
      +        {
      +          "maximum": 2147483647,
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "rating": {
      +      "anyOf": [
      +        {
      +          "type": "number"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "recipeCategory": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "$ref": "#/$defs/RecipeCategoryIn"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "recipeIngredient": {
      +      "items": {
      +        "$ref": "#/$defs/RecipeIngredient-Input"
      +      },
      +      "type": "array"
      +    },
      +    "recipeInstructions": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "$ref": "#/$defs/RecipeStep"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "recipeServings": {
      +      "type": "number"
      +    },
      +    "recipeYield": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "recipeYieldQuantity": {
      +      "type": "number"
      +    },
      +    "settings": {
      +      "anyOf": [
      +        {
      +          "$ref": "#/$defs/RecipeSettings"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "slug": {
      +      "type": "string"
      +    },
      +    "tags": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "$ref": "#/$defs/RecipeTagIn"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "tools": {
      +      "items": {
      +        "$ref": "#/$defs/RecipeToolIn"
      +      },
      +      "type": "array"
      +    },
      +    "totalTime": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "totalTimeSeconds": {
      +      "anyOf": [
      +        {
      +          "maximum": 2147483647,
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "update_at": {
      +      "anyOf": [
      +        {
      +          "format": "date-time",
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "userId": {
      +      "format": "uuid",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / $defs / RecipeTagIn
      Added value: +{
      +  "description": "Lenient variant of RecipeTag accepted only on the recipe write path (JSON import/edit),\nwhere a client may omit id/slug and expect them to be resolved or generated server-side.\nNever used for responses -- RecipeTag itself stays strictly required there.\n\nDeliberately does not subclass RecipeTag: narrowing id/slug from required to optional in a\nsubclass would be an unsound field override (mypy correctly rejects it), so this is built as\nan independent sibling with the same fields instead, matching how RecipeToolCreate/Save/Out\nare already kept as separate classes elsewhere in this module rather than narrowing each other.",
      +  "properties": {
      +    "groupId": {
      +      "anyOf": [
      +        {
      +          "format": "uuid",
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "id": {
      +      "anyOf": [
      +        {
      +          "format": "uuid",
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "name": {
      +      "type": "string"
      +    },
      +    "recipeCount": {
      +      "type": "integer"
      +    },
      +    "slug": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    }
      +  },
      +  "required": [
      +    "name"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / $defs / RecipeToolIn
      Added value: +{
      +  "description": "Lenient variant of RecipeTool accepted only on the recipe write path. See RecipeTagIn.",
      +  "properties": {
      +    "groupId": {
      +      "anyOf": [
      +        {
      +          "format": "uuid",
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "householdsWithTool": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "id": {
      +      "anyOf": [
      +        {
      +          "format": "uuid",
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "name": {
      +      "type": "string"
      +    },
      +    "recipeCount": {
      +      "type": "integer"
      +    },
      +    "slug": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    }
      +  },
      +  "required": [
      +    "name"
      +  ],
      +  "type": "object"
      +}
    • changedInput schema / properties / body / items / $ref
      Previous value: -"#/$defs/Recipe-Input"New value: +"#/$defs/RecipeIn"
  2. Changed1 schema field changedv3.28.0
    • changedInput schema / $defs / RecipeCommentOut-Input / required
      Previous value: -[
      -  "recipeId",
      -  "text",
      -  "id",
      -  "createdAt",
      -  "update_at",
      -  "userId",
      -  "user"
      -]New value: +[
      +  "id",
      +  "recipeId",
      +  "text",
      +  "createdAt",
      +  "update_at",
      +  "userId",
      +  "user"
      +]
  3. Changed10 schema fields changedv3.26.0
    • addedInput schema / $defs / CreateIngredientFood / properties / substitutions
      Added value: +{
      +  "items": {
      +    "$ref": "#/$defs/CreateIngredientFoodSubstitution"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / $defs / CreateIngredientFoodSubstitution
      Added value: +{
      +  "properties": {
      +    "note": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "substituteFoodId": {
      +      "anyOf": [
      +        {
      +          "format": "uuid",
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / $defs / IngredientFood-Input / properties / substitutions
      Added value: +{
      +  "items": {
      +    "$ref": "#/$defs/IngredientFoodSubstitution"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / $defs / IngredientFoodSubstitution
      Added value: +{
      +  "properties": {
      +    "note": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "substituteFood": {
      +      "anyOf": [
      +        {
      +          "$ref": "#/$defs/IngredientFoodSummary"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "substituteFoodId": {
      +      "anyOf": [
      +        {
      +          "format": "uuid",
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / $defs / IngredientFoodSummary
      Added value: +{
      +  "description": "A trimmed projection of a food, with nothing on it that can recurse.\n\nSubstitutions reference this rather than the full IngredientFood, which would make\nPydantic walk food -> substitutions -> food forever and generate an equally circular\nTypeScript type.",
      +  "properties": {
      +    "id": {
      +      "format": "uuid",
      +      "type": "string"
      +    },
      +    "name": {
      +      "type": "string"
      +    },
      +    "pluralName": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    }
      +  },
      +  "required": [
      +    "id",
      +    "name"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / $defs / NoteReference
      Added value: +{
      +  "properties": {
      +    "referenceId": {
      +      "anyOf": [
      +        {
      +          "format": "uuid",
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / $defs / RecipeIngredient-Input / properties / substitutions
      Added value: +{
      +  "items": {
      +    "$ref": "#/$defs/RecipeIngredientSubstitution"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / $defs / RecipeIngredientSubstitution
      Added value: +{
      +  "properties": {
      +    "note": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "substituteFood": {
      +      "anyOf": [
      +        {
      +          "$ref": "#/$defs/IngredientFoodSummary"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "substituteFoodId": {
      +      "anyOf": [
      +        {
      +          "format": "uuid",
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / $defs / RecipeNote / properties / referenceId
      Added value: +{
      +  "format": "uuid",
      +  "type": "string"
      +}
    • addedInput schema / $defs / RecipeStep / properties / noteReferences
      Added value: +{
      +  "items": {
      +    "$ref": "#/$defs/NoteReference"
      +  },
      +  "type": "array"
      +}
  4. Changed3 schema fields changedv3.25.1
    • addedInput schema / $defs / RecipeCategory / properties / recipeCount
      Added value: +{
      +  "type": "integer"
      +}
    • addedInput schema / $defs / RecipeTag / properties / recipeCount
      Added value: +{
      +  "type": "integer"
      +}
    • addedInput schema / $defs / RecipeTool / properties / recipeCount
      Added value: +{
      +  "type": "integer"
      +}
  5. First observedv3.20.1

TDQS

D1.5/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full burden of disclosure, yet it says nothing. For a mutation tool taking an array body, an agent is not told whether it is partial vs full replacement, whether omitted fields are cleared, whether it is idempotent, whether the whole batch is atomic, or what permissions are needed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is not verbose, but it is under-specified rather than concise — two words with no front-loaded statement of action, scope, or effect. Nothing here earns its place because nothing substantive is conveyed.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given a deeply nested write schema (RecipeIn with tags, ingredients, tools, categories), no annotations, and no output schema, the description leaves every behavioral and structural question unanswered. It is not remotely sufficient for an agent to invoke this bulk mutation correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the description explains neither the required `body` array of `RecipeIn` objects nor the optional `accept-language` header. With two parameters and zero schema-level documentation, the description must compensate and instead contributes nothing about shape, matching key (id vs slug), or ordering.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Patch Many" only restates the tool name in shorter form (patch + many); it never states the resource (recipes) or what a bulk patch changes. An agent could infer part of this from the name `patch_recipes`, but the description itself adds no distinguishing information versus `update_recipes` or `patch_recipes_by_slug`.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance at all. The single word "Many" hints at a bulk variant versus the singular siblings, but it never says when to prefer this over `update_recipes` (full replace) or `patch_recipes_by_slug` (single-record partial update), nor any prerequisite such as ownership or auth.

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

Deploy Server

Other Tools