Skip to main content
Glama
bitmonster

Mealie MCP Server

by bitmonster

mealie_create_recipe_from_text

Turn extracted recipe text into a structured Mealie recipe after user confirmation. Handles ingredients, steps, tags, and cover image crops from scanned cookbook photos.

Instructions

Create a Mealie recipe from OCR/vision-extracted text and optional images.

Requires mutations enabled AND confirmed_by_user=True. Use this after showing the user a preview of title, ingredients, steps, tags, and asking for explicit confirmation. Ingredient lines are stored in display and note so Mealie mobile renders them correctly.

For cookbook/photo imports, the agent may choose a title-image crop itself: pass cover_crop_box=[left, top, right, bottom] with cover_crop_units="percent" (default, 0..100; fractional 0..1 is accepted too) or "pixels". The crop is taken from cover_crop_source_url, otherwise main_image_url, otherwise source_image_url, and uploaded as the Mealie recipe cover. The full source_image_url can still be uploaded as the original cookbook asset.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
tagsNo
servingsNo
cook_timeNo
prep_timeNo
total_timeNo
descriptionNo
ingredientsYes
source_noteNoImported from a cookbook photo or screenshot via Mealie MCP.
instructionsYes
recipe_yieldNo
cover_crop_boxNo
main_image_urlNo
cover_crop_unitsNopercent
source_image_urlNo
confirmed_by_userNo
source_asset_nameNoOriginal-Kochbuchfoto
overwrite_existingNo
cover_crop_source_urlNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description carries the burden, and it discloses key behavioral traits: confirmation requirement, ingredient storage in display/note for mobile rendering, and the cover crop fallback chain. It doesn't detail overwrite_existing behavior, but the self-explanatory default and output schema mitigate this.

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

Conciseness4/5

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

The description is front-loaded with purpose and uses concise paragraph breaks for prerequisites, workflow, and crop logic. It is longer than ideal but every section covers distinct useful behavior without repetition.

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

Completeness4/5

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

For a 19-param mutation tool with no annotations, the description gives enough context about prerequisites, workflow, and image handling to invoke correctly. The presence of an output schema covers return values, so the remaining gaps are minor.

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

Parameters4/5

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

Schema description coverage is 0%, but the description explains the non-obvious parameters including confirmed_by_user, cover_crop_box, cover_crop_units, cover_crop_source_url, and source image fallback order. It leaves basic fields like cook_time and servings to their self-explanatory names, which is reasonable given the complexity.

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

Purpose5/5

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

The description opens with a specific verb and resource: 'Create a Mealie recipe from OCR/vision-extracted text and optional images.' This clearly differentiates it from sibling tools like mealie_create_recipe_from_url and describes the transformation.

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

Usage Guidelines5/5

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

It explicitly states when to use: after showing a preview and getting confirmation, and requires mutations enabled AND confirmed_by_user=True. It also gives crop guidance for cookbook/photo imports, providing enough context to choose this tool over URL-based import.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bitmonster/mealie-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server