Skip to main content
Glama

Save recipe with image

save_recipe_with_image
Destructive

Save a complete recipe privately and request RecipeBee image generation. Image generation may reserve existing RecipeBee image credits or consume a free-tier image allowance. When the client declares form-elicitation support, the server requires an accepted signed confirmation form bound to these exact recipe and image options; image_generation_confirmed is ignored. When the client does not declare form-elicitation support, omit image_generation_confirmed until the user explicitly accepts, then set it to true on one retry. No recipe is saved before confirmation. Once confirmed, save privately and queue the moderated image pipeline once; the recipe remains saved if image generation fails or is unavailable. This tool never purchases credits or starts checkout. For an MCP client-generated or uploaded image, use save_recipe followed by attach_recipe_image instead. Do not call preview_recipe or save_recipe first. Include realistic integer prep_time_minutes, cook_time_minutes, and total_time_minutes values in every complete recipe. Estimate them when the user does not specify times; use 0 only when that part genuinely takes no time.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "title": "<title>",
      "prep_time_minutes": "<prep_time_minutes>",
      "cook_time_minutes": "<cook_time_minutes>",
      "total_time_minutes": "<total_time_minutes>"
    },
    "name": "save_recipe_with_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNo
imageNo
notesNo
stepsNo
titleYes
contentNoFor multi-component recipes, provide ingredient and instruction sections here and omit flat ingredients and steps.
summaryNo
servingsNo
ingredientsNo
cook_time_minutesYesEstimated cooking time in minutes. Use 0 only when no cooking is needed.
prep_time_minutesYesEstimated preparation time in minutes. Use 0 only when no preparation is needed.
total_time_minutesYesTotal elapsed time in minutes. Keep this consistent with the preparation and cooking steps.
image_generation_confirmedNoFor clients that do not declare form-elicitation support: set to true only after explaining possible credit or free-allowance use and receiving the user's explicit acceptance. Clients that declare form support collect consent in a signed form and ignore this value before saving or starting generation.

Output Schema

NameRequiredDescriptionDefault
imageYes
recipeYes
duplicateYes
is_publicYes
persistedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed16 schema fields changed
    • changedInput schema / properties / image_generation_confirmed / description
      Previous value: -"For pre-2026 MCP clients only: set to true after explaining possible credit or free-allowance use and receiving the user’s explicit acceptance. Protocol 2026-07-28 ignores this value and collects consent in a signed confirmation form before saving or starting generation."New value: +"For clients that do not declare form-elicitation support: set to true only after explaining possible credit or free-allowance use and receiving the user's explicit acceptance. Clients that declare form support collect consent in a signed form and ignore this value before saving or starting generation."
    • changedInput schema / properties / ingredients / items / anyOf
      Previous value: -[
      -  {
      -    "maxLength": 500,
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "group": {
      -        "anyOf": [
      -          {
      -            "maxLength": 120,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "name": {
      -        "maxLength": 500,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "optional": {
      -        "type": "boolean"
      -      },
      -      "preparation": {
      -        "anyOf": [
      -          {
      -            "maxLength": 500,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "quantity": {
      -        "anyOf": [
      -          {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "number"
      -              }
      -            ]
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "unit": {
      -        "anyOf": [
      -          {
      -            "maxLength": 64,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      }
      -    },
      -    "required": [
      -      "name"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "maxLength": 500,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "group": {
      +        "anyOf": [
      +          {
      +            "maxLength": 120,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "name": {
      +        "maxLength": 500,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "optional": {
      +        "type": "boolean"
      +      },
      +      "preparation": {
      +        "anyOf": [
      +          {
      +            "maxLength": 500,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "quantity": {
      +        "type": [
      +          "string",
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "unit": {
      +        "anyOf": [
      +          {
      +            "maxLength": 64,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      }
      +    },
      +    "required": [
      +      "name"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / properties / image / properties / aspect_ratio / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / image / properties / aspect_ratio / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / image / properties / error / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / image / properties / error / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / image / properties / generated_at / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / image / properties / generated_at / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / image / properties / job_id / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / image / properties / job_id / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / image / properties / media_asset_id / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / image / properties / media_asset_id / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / image / properties / prompt / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / image / properties / prompt / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / image / properties / style_preset / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / image / properties / style_preset / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Adds substantial behavior beyond the annotations: credit reservation or free-allowance consumption, the signed-confirmation requirement, the omit-then-retry rule for non-elicitation clients, 'No recipe is saved before confirmation,' queue-once semantics, and that the recipe survives an image-generation failure. It also states the tool never purchases credits or starts checkout. The one gap is that annotations declare destructiveHint=true, yet the description never explains what is destructive (e.g., replacing an existing recipe with the same title), leaving that trait unexplained.

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?

Dense but front-loaded: the core action and its confirm-before-save behavior come first, alternatives and field guidance follow. Some sentences restate schema descriptions, particularly the prep/cook/total time advice that duplicates the schema's own field descriptions, which is the only real waste in an otherwise tight block.

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?

Given a 13-parameter nested schema, a confirmation protocol, and an existing output schema (so return values need not be described), this is nearly complete: the consent flow, failure semantics, and sibling routing are all covered. Missing is any statement about what 'privately' entails and what triggers the declared destructive behavior.

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

Parameters3/5

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

Schema description coverage is 38%, so the schema carries limited help, but the description compensates only partially. It adds genuinely new guidance for the time fields ('Estimate them when the user does not specify times; use 0 only when that part genuinely takes no time') and explains the image_generation_confirmed retry semantics, though that field and the three time fields are already documented in the schema. The image sub-object options (style, aspect, seed, custom_prompt) and the flat-vs-sectioned ingredients/steps choice receive no explanation in the description.

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?

States a specific verb and resource ('Save a complete recipe privately and request RecipeBee image generation') and immediately distinguishes itself from save_recipe, attach_recipe_image, and preview_recipe. An agent can tell exactly what this tool does and what it does not do without reading the schema.

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?

Explicitly routes the agent: 'For an MCP client-generated or uploaded image, use save_recipe followed by attach_recipe_image instead' and 'Do not call preview_recipe or save_recipe first.' It also gives a conditional usage path based on whether the client declares form-elicitation support, so the when-to-use decision is fully specified rather than inferred.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.