Skip to main content
Glama

create_recipe_from_image

Upload an image of a meal to automatically generate a recipe, with optional translation to a specified language.

Instructions

Create Recipe From Image [POST /api/recipes/create/image] Create a recipe from an image using OpenAI. Optionally specify a language for it to translate the recipe to.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYesFile fields (images) must be absolute paths to local files to upload.
translateLanguageNo
Behavior3/5

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

With no annotations, the description must disclose behavioral traits. It states the tool creates a recipe using OpenAI and optionally translates, but does not describe outcomes (e.g., whether the recipe is stored, side effects, auth needs, or rate limits). The schema adds a note on file paths, but overall transparency is minimal.

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

Conciseness5/5

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

The description is extremely concise—two lines with no filler. It includes the endpoint, the action, the input type, and the optional parameter. Every word serves a purpose.

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

Completeness3/5

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

Given no output schema and a simple two-parameter tool, the description is somewhat complete for the input side but lacks any mention of the return value or outcome (e.g., returns created recipe object). It also does not specify prerequisites like OpenAI configuration, which could be critical.

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 coverage is 50%, and the description adds value by explaining the translateLanguage parameter (optional translation). The body parameter's description in the schema already states images must be absolute paths, so the tool description reinforces but does not add much for images. Overall, it compensates for missing schema descriptions.

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 clearly states the verb (Create), resource (recipe), and method (from image using OpenAI). It differentiates from siblings like create_recipe_from_html_or_json and create_recipe_from_zip by specifying the input is an image.

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

Usage Guidelines4/5

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

The description implies usage for recipes from images by stating 'create a recipe from an image'. It mentions optional translation, but does not explicitly state when not to use it or provide alternatives. However, the context is clear enough given the sibling tools.

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/2fst4u/mealie-mcp'

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