Skip to main content
Glama

Update recipe

update_recipe
Destructive

Change anything about a recipe you own — its words, its model set, its document, its medium or its kind. Words apply to any row (a run row takes no cover focus points). An arm row takes model_id, allowed_models, recommended_model, config and suggested_params; a reprompt row takes those and writer; a run row takes definition. config, writer and definition are replaced WHOLE and re-validated whole — read get_own_recipe first and resend every slot, choice or step. To change the medium, pass model_kind (with the new medium's model_id, or its default model is used, and its settings reset). To change the kind, pass action: run needs a definition, reprompt needs a writer unless the row has one, and arm from a run row needs a config; the row keeps its words and its URL. Moving into or out of clips drops the cover. A published row is taken down before the edit and needs publish_recipe again.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
tagsNo
actionNo
configNo
writerNo
model_idNo
recipe_idYes
definitionNoThe whole workflow definition, replacing the stored one; read it with get_own_recipe first. Validated by the server like create_recipe's.
highlightsNo
model_kindNo
cover_focusNo
cover_shapeNo
descriptionNo
allowed_modelsNo
suggested_paramsNo
recommended_modelNo
cover_before_focusNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
recipeYes
messageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / config / properties / choices / items / properties / max_picks
      Added value: +{
      +  "default": 1,
      +  "maximum": 16,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / config / properties / choices / items / properties / shown_when
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "choice": {
      +          "maxLength": 40,
      +          "minLength": 1,
      +          "pattern": "^[a-z][a-z0-9_]*$",
      +          "type": "string"
      +        },
      +        "values": {
      +          "items": {
      +            "maxLength": 40,
      +            "minLength": 1,
      +            "pattern": "^[a-z][a-z0-9_]*$",
      +            "type": "string"
      +          },
      +          "maxItems": 16,
      +          "minItems": 1,
      +          "type": "array"
      +        }
      +      },
      +      "required": [
      +        "choice",
      +        "values"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
  2. Changed3 schema fields changed
    • changedInput schema / properties / config / properties / choices / items / properties / options / maxItems
      Previous value: -8New value: +16
    • changedInput schema / properties / config / properties / choices / maxItems
      Previous value: -4New value: +12
    • changedInput schema / properties / config / properties / preset_policies / properties / style / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "default": {
      -        "maxLength": 80,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "families": {
      -        "items": {
      -          "enum": [
      -            "photorealistic",
      -            "cinematic",
      -            "3d_animation",
      -            "cartoon",
      -            "anime"
      -          ],
      -          "type": "string"
      -        },
      -        "minItems": 1,
      -        "type": "array"
      -      },
      -      "helper_text": {
      -        "anyOf": [
      -          {
      -            "maxLength": 240,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "label": {
      -        "maxLength": 60,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "mode": {
      -        "const": "editable",
      -        "type": "string"
      -      },
      -      "required": {
      -        "default": false,
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "mode"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "mode": {
      -        "const": "fixed",
      -        "type": "string"
      -      },
      -      "preset": {
      -        "$ref": "#/properties/config/properties/preset_policies/properties/style/anyOf/0/properties/default"
      -      },
      -      "reason": {
      -        "maxLength": 240,
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "mode",
      -      "preset",
      -      "reason"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "mode": {
      -        "const": "unused",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "mode"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "default": {
      +        "maxLength": 80,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "families": {
      +        "items": {
      +          "enum": [
      +            "photorealistic",
      +            "cinematic",
      +            "3d_animation",
      +            "cartoon",
      +            "anime",
      +            "pan_tilt",
      +            "zoom_lens",
      +            "dolly_track",
      +            "slide_orbit",
      +            "handheld_body",
      +            "drone_crane",
      +            "specials"
      +          ],
      +          "type": "string"
      +        },
      +        "minItems": 1,
      +        "type": "array"
      +      },
      +      "helper_text": {
      +        "anyOf": [
      +          {
      +            "maxLength": 240,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "label": {
      +        "maxLength": 60,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "mode": {
      +        "const": "editable",
      +        "type": "string"
      +      },
      +      "required": {
      +        "default": false,
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "mode"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "mode": {
      +        "const": "fixed",
      +        "type": "string"
      +      },
      +      "preset": {
      +        "$ref": "#/properties/config/properties/preset_policies/properties/style/anyOf/0/properties/default"
      +      },
      +      "reason": {
      +        "maxLength": 240,
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "mode",
      +      "preset",
      +      "reason"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "mode": {
      +        "const": "unused",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "mode"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. Changed3 schema fields changed
    • changedInput schema / properties / allowed_models / items / enum
      Previous value: -[
      -  "seedream-5-lite",
      -  "nano-banana-2.1",
      -  "nano-banana-2",
      -  "gpt-image-2.5-flare",
      -  "gpt-image-2.5-sunburst",
      -  "gpt-image-2",
      -  "nano-banana-2-lite",
      -  "seedream-5-pro",
      -  "seedream-5-pro-spicy",
      -  "flux-schnell",
      -  "flux-2-flex",
      -  "flux-2-pro",
      -  "flux-2-max",
      -  "recraft-v4.1-svg",
      -  "recraft-v4.1-pro-svg",
      -  "p-image",
      -  "grok-imagine-image",
      -  "grok-imagine-image-quality",
      -  "soul-2",
      -  "seedance-2.5",
      -  "seedance-2.5-spicy",
      -  "seedance-2.0",
      -  "seedance-2.0-fast",
      -  "seedance-2.0-mini",
      -  "grok-imagine-video-1.5",
      -  "veo-3.1",
      -  "veo-3.1-fast",
      -  "veo-3.1-lite",
      -  "gemini-omni-1.1",
      -  "kling-v3-omni-video",
      -  "kling-v3-video",
      -  "happyhorse-1.0",
      -  "wan-3",
      -  "wan-3-prime",
      -  "gen-4.5",
      -  "p-video",
      -  "p-video-2",
      -  "flux-3",
      -  "minimax-h3-max",
      -  "p-video-avatar",
      -  "p-video-animate",
      -  "p-video-replace",
      -  "omni-human-1.5",
      -  "kling-avatar-v2",
      -  "kling-v3-motion-control",
      -  "sync-lipsync-2",
      -  "kling-lip-sync",
      -  "genjutsu-motion-transfer",
      -  "genjutsu-object-swap",
      -  "elevenlabs-tts",
      -  "eleven-v4",
      -  "gemini-3.1-flash-tts",
      -  "kokoro-82m",
      -  "minimax-speech-2.8-hd",
      -  "inworld-tts-2",
      -  "minimax-music-2.6",
      -  "eleven-music"
      -]New value: +[
      +  "seedream-5-lite",
      +  "nano-banana-2.1",
      +  "nano-banana-2",
      +  "gpt-image-2.5-flare",
      +  "gpt-image-2.5-sunburst",
      +  "gpt-image-2",
      +  "nano-banana-2-lite",
      +  "seedream-5-pro",
      +  "seedream-5-pro-spicy",
      +  "flux-schnell",
      +  "flux-2-flex",
      +  "flux-2-pro",
      +  "flux-2-max",
      +  "recraft-v4.1-svg",
      +  "recraft-v4.1-pro-svg",
      +  "p-image",
      +  "grok-imagine-image",
      +  "grok-imagine-image-quality",
      +  "krea-3",
      +  "qwen-image-3-pro",
      +  "soul-2",
      +  "seedance-2.5",
      +  "seedance-2.5-spicy",
      +  "seedance-2.0",
      +  "seedance-2.0-fast",
      +  "seedance-2.0-mini",
      +  "grok-imagine-video-1.5",
      +  "veo-3.1",
      +  "veo-3.1-fast",
      +  "veo-3.1-lite",
      +  "gemini-omni-1.1",
      +  "kling-v3-omni-video",
      +  "kling-v3-video",
      +  "happyhorse-1.0",
      +  "wan-3",
      +  "wan-3-prime",
      +  "gen-4.5",
      +  "p-video",
      +  "p-video-2",
      +  "flux-3",
      +  "minimax-h3-max",
      +  "p-video-avatar",
      +  "p-video-animate",
      +  "p-video-replace",
      +  "omni-human-1.5",
      +  "kling-avatar-v2",
      +  "kling-v3-motion-control",
      +  "sync-lipsync-2",
      +  "kling-lip-sync",
      +  "genjutsu-motion-transfer",
      +  "genjutsu-object-swap",
      +  "elevenlabs-tts",
      +  "eleven-v4",
      +  "gemini-3.1-flash-tts",
      +  "kokoro-82m",
      +  "minimax-speech-2.8-hd",
      +  "inworld-tts-2",
      +  "minimax-music-2.6",
      +  "eleven-music"
      +]
    • changedInput schema / properties / model_id / enum
      Previous value: -[
      -  "seedream-5-lite",
      -  "nano-banana-2.1",
      -  "nano-banana-2",
      -  "gpt-image-2.5-flare",
      -  "gpt-image-2.5-sunburst",
      -  "gpt-image-2",
      -  "nano-banana-2-lite",
      -  "seedream-5-pro",
      -  "seedream-5-pro-spicy",
      -  "flux-schnell",
      -  "flux-2-flex",
      -  "flux-2-pro",
      -  "flux-2-max",
      -  "recraft-v4.1-svg",
      -  "recraft-v4.1-pro-svg",
      -  "p-image",
      -  "grok-imagine-image",
      -  "grok-imagine-image-quality",
      -  "soul-2",
      -  "seedance-2.5",
      -  "seedance-2.5-spicy",
      -  "seedance-2.0",
      -  "seedance-2.0-fast",
      -  "seedance-2.0-mini",
      -  "grok-imagine-video-1.5",
      -  "veo-3.1",
      -  "veo-3.1-fast",
      -  "veo-3.1-lite",
      -  "gemini-omni-1.1",
      -  "kling-v3-omni-video",
      -  "kling-v3-video",
      -  "happyhorse-1.0",
      -  "wan-3",
      -  "wan-3-prime",
      -  "gen-4.5",
      -  "p-video",
      -  "p-video-2",
      -  "flux-3",
      -  "minimax-h3-max",
      -  "p-video-avatar",
      -  "p-video-animate",
      -  "p-video-replace",
      -  "omni-human-1.5",
      -  "kling-avatar-v2",
      -  "kling-v3-motion-control",
      -  "sync-lipsync-2",
      -  "kling-lip-sync",
      -  "genjutsu-motion-transfer",
      -  "genjutsu-object-swap",
      -  "elevenlabs-tts",
      -  "eleven-v4",
      -  "gemini-3.1-flash-tts",
      -  "kokoro-82m",
      -  "minimax-speech-2.8-hd",
      -  "inworld-tts-2",
      -  "minimax-music-2.6",
      -  "eleven-music"
      -]New value: +[
      +  "seedream-5-lite",
      +  "nano-banana-2.1",
      +  "nano-banana-2",
      +  "gpt-image-2.5-flare",
      +  "gpt-image-2.5-sunburst",
      +  "gpt-image-2",
      +  "nano-banana-2-lite",
      +  "seedream-5-pro",
      +  "seedream-5-pro-spicy",
      +  "flux-schnell",
      +  "flux-2-flex",
      +  "flux-2-pro",
      +  "flux-2-max",
      +  "recraft-v4.1-svg",
      +  "recraft-v4.1-pro-svg",
      +  "p-image",
      +  "grok-imagine-image",
      +  "grok-imagine-image-quality",
      +  "krea-3",
      +  "qwen-image-3-pro",
      +  "soul-2",
      +  "seedance-2.5",
      +  "seedance-2.5-spicy",
      +  "seedance-2.0",
      +  "seedance-2.0-fast",
      +  "seedance-2.0-mini",
      +  "grok-imagine-video-1.5",
      +  "veo-3.1",
      +  "veo-3.1-fast",
      +  "veo-3.1-lite",
      +  "gemini-omni-1.1",
      +  "kling-v3-omni-video",
      +  "kling-v3-video",
      +  "happyhorse-1.0",
      +  "wan-3",
      +  "wan-3-prime",
      +  "gen-4.5",
      +  "p-video",
      +  "p-video-2",
      +  "flux-3",
      +  "minimax-h3-max",
      +  "p-video-avatar",
      +  "p-video-animate",
      +  "p-video-replace",
      +  "omni-human-1.5",
      +  "kling-avatar-v2",
      +  "kling-v3-motion-control",
      +  "sync-lipsync-2",
      +  "kling-lip-sync",
      +  "genjutsu-motion-transfer",
      +  "genjutsu-object-swap",
      +  "elevenlabs-tts",
      +  "eleven-v4",
      +  "gemini-3.1-flash-tts",
      +  "kokoro-82m",
      +  "minimax-speech-2.8-hd",
      +  "inworld-tts-2",
      +  "minimax-music-2.6",
      +  "eleven-music"
      +]
    • changedInput schema / properties / recommended_model / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "seedream-5-lite",
      -      "nano-banana-2.1",
      -      "nano-banana-2",
      -      "gpt-image-2.5-flare",
      -      "gpt-image-2.5-sunburst",
      -      "gpt-image-2",
      -      "nano-banana-2-lite",
      -      "seedream-5-pro",
      -      "seedream-5-pro-spicy",
      -      "flux-schnell",
      -      "flux-2-flex",
      -      "flux-2-pro",
      -      "flux-2-max",
      -      "recraft-v4.1-svg",
      -      "recraft-v4.1-pro-svg",
      -      "p-image",
      -      "grok-imagine-image",
      -      "grok-imagine-image-quality",
      -      "soul-2",
      -      "seedance-2.5",
      -      "seedance-2.5-spicy",
      -      "seedance-2.0",
      -      "seedance-2.0-fast",
      -      "seedance-2.0-mini",
      -      "grok-imagine-video-1.5",
      -      "veo-3.1",
      -      "veo-3.1-fast",
      -      "veo-3.1-lite",
      -      "gemini-omni-1.1",
      -      "kling-v3-omni-video",
      -      "kling-v3-video",
      -      "happyhorse-1.0",
      -      "wan-3",
      -      "wan-3-prime",
      -      "gen-4.5",
      -      "p-video",
      -      "p-video-2",
      -      "flux-3",
      -      "minimax-h3-max",
      -      "p-video-avatar",
      -      "p-video-animate",
      -      "p-video-replace",
      -      "omni-human-1.5",
      -      "kling-avatar-v2",
      -      "kling-v3-motion-control",
      -      "sync-lipsync-2",
      -      "kling-lip-sync",
      -      "genjutsu-motion-transfer",
      -      "genjutsu-object-swap",
      -      "elevenlabs-tts",
      -      "eleven-v4",
      -      "gemini-3.1-flash-tts",
      -      "kokoro-82m",
      -      "minimax-speech-2.8-hd",
      -      "inworld-tts-2",
      -      "minimax-music-2.6",
      -      "eleven-music"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "seedream-5-lite",
      +      "nano-banana-2.1",
      +      "nano-banana-2",
      +      "gpt-image-2.5-flare",
      +      "gpt-image-2.5-sunburst",
      +      "gpt-image-2",
      +      "nano-banana-2-lite",
      +      "seedream-5-pro",
      +      "seedream-5-pro-spicy",
      +      "flux-schnell",
      +      "flux-2-flex",
      +      "flux-2-pro",
      +      "flux-2-max",
      +      "recraft-v4.1-svg",
      +      "recraft-v4.1-pro-svg",
      +      "p-image",
      +      "grok-imagine-image",
      +      "grok-imagine-image-quality",
      +      "krea-3",
      +      "qwen-image-3-pro",
      +      "soul-2",
      +      "seedance-2.5",
      +      "seedance-2.5-spicy",
      +      "seedance-2.0",
      +      "seedance-2.0-fast",
      +      "seedance-2.0-mini",
      +      "grok-imagine-video-1.5",
      +      "veo-3.1",
      +      "veo-3.1-fast",
      +      "veo-3.1-lite",
      +      "gemini-omni-1.1",
      +      "kling-v3-omni-video",
      +      "kling-v3-video",
      +      "happyhorse-1.0",
      +      "wan-3",
      +      "wan-3-prime",
      +      "gen-4.5",
      +      "p-video",
      +      "p-video-2",
      +      "flux-3",
      +      "minimax-h3-max",
      +      "p-video-avatar",
      +      "p-video-animate",
      +      "p-video-replace",
      +      "omni-human-1.5",
      +      "kling-avatar-v2",
      +      "kling-v3-motion-control",
      +      "sync-lipsync-2",
      +      "kling-lip-sync",
      +      "genjutsu-motion-transfer",
      +      "genjutsu-object-swap",
      +      "elevenlabs-tts",
      +      "eleven-v4",
      +      "gemini-3.1-flash-tts",
      +      "kokoro-82m",
      +      "minimax-speech-2.8-hd",
      +      "inworld-tts-2",
      +      "minimax-music-2.6",
      +      "eleven-music"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  4. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, and the description adds genuinely non-obvious behavior beyond them: 'config, writer and definition are replaced WHOLE and re-validated whole', 'Moving into or out of clips drops the cover', and 'A published row is taken down before the edit and needs publish_recipe again'. These disclose data loss and state transitions the annotations cannot express.

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 purpose is front-loaded and nearly every clause carries conditional logic that the schema cannot express, so the density is earned rather than padded. It is long and parenthetical-heavy, which slightly taxes scanning, but there is little true waste.

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 17-parameter tool with nested objects and conditional row semantics, the description supplies the key branching rules and the destructive side effects, and an output schema exists so return values need no explanation. Remaining gaps are the unaddressed top-level metadata fields (name, tags, highlights, cover_*), which leaves it just short of fully complete.

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?

With only 6% schema description coverage across 17 parameters, the description carries the burden and largely succeeds: it maps model_id/allowed_models/recommended_model/config/suggested_params to arm rows, adds writer for reprompt rows and definition for run rows, and explains model_kind (medium change, settings reset) and action (kind change). It does not explain name, tags, highlights, description, or the cover_* fields, so coverage is substantial but incomplete.

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 opening sentence states a specific verb ('Change') plus resource ('a recipe you own') and enumerates the editable surfaces (words, model set, document, medium, kind), which cleanly separates it from create_recipe, delete_recipe and get_own_recipe. An agent can identify the tool's role without opening 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 Guidelines4/5

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

It gives strong operational context: ownership requirement ('a recipe you own'), the prerequisite 'read get_own_recipe first', and which parameter set each row type requires. It stops short of naming alternatives or exclusions (e.g., when to use create_recipe or remix_recipe instead), so it is clear context without explicit routing.

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.

Resources