Skip to main content
Glama

Submit recipe

submit_recipe
Destructive

Offer a recipe you own to the official catalog, or withdraw the offer with submitted: false. Submitting changes nothing about the row and does not publish it; a curator reads it and accepts or declines, which submission on get_own_recipe reports. A resubmission clears a previous decline.

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": {
      "recipe_id": "<recipe_id>"
    },
    "name": "submit_recipe"
  }
}

Input Schema

NameRequiredDescriptionDefault
recipe_idYes
submittedNo

Output Schema

NameRequiredDescriptionDefault
recipeYes
messageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed27 schema fields changed
    • addedOutput schema / properties / recipe / properties / recipe / description
      Added value: +"A template that asks a few questions and makes something."
    • addedOutput schema / properties / recipe / properties / recipe / properties / action / description
      Added value: +"`arm` makes one generation from your answers; `reprompt` does too, with a model writing the prompt from them; `run` starts a multi-step run (`GET /v1/runs/{id}`). New values may be added."
    • changedOutput schema / properties / recipe / properties / recipe / properties / action / enum
      Previous value: -[
      -  "arm",
      -  "run",
      -  "reprompt"
      -]New value: +[
      +  "arm",
      +  "reprompt",
      +  "run"
      +]
    • removedOutput schema / properties / recipe / properties / recipe / properties / allowed_models
      Removed value: -{
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • addedOutput schema / properties / recipe / properties / recipe / properties / app_url / $ref
      Added value: +"#/properties/recipe/properties/recipe/properties/cover_url/anyOf/0"
    • removedOutput schema / properties / recipe / properties / recipe / properties / app_url / format
      Removed value: -"uri"
    • removedOutput schema / properties / recipe / properties / recipe / properties / app_url / type
      Removed value: -"string"
    • removedOutput schema / properties / recipe / properties / recipe / properties / arrangement
      Removed value: -{}
    • addedOutput schema / properties / recipe / properties / recipe / properties / choices
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "help": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "key": {
      +        "type": "string"
      +      },
      +      "label": {
      +        "type": "string"
      +      },
      +      "max_picks": {
      +        "type": "integer"
      +      },
      +      "options": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "label": {
      +              "type": "string"
      +            },
      +            "value": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "value",
      +            "label"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "shown_when": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "choice": {
      +                "type": "string"
      +              },
      +              "values": {
      +                "items": {
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              }
      +            },
      +            "required": [
      +              "choice",
      +              "values"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Asked only when that earlier choice holds one of these values."
      +      }
      +    },
      +    "required": [
      +      "key",
      +      "label",
      +      "help",
      +      "options",
      +      "max_picks",
      +      "shown_when"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / recipe / properties / recipe / properties / id
      Added value: +{
      +  "format": "uuid",
      +  "type": "string"
      +}
    • addedOutput schema / properties / recipe / properties / recipe / properties / inputs
      Added value: +{
      +  "description": "The media an `arm` or `reprompt` recipe takes, by key.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "help": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "key": {
      +        "type": "string"
      +      },
      +      "label": {
      +        "type": "string"
      +      },
      +      "max_items": {
      +        "type": "integer"
      +      },
      +      "media": {
      +        "description": "\"image\", \"video\" or \"audio\".",
      +        "type": "string"
      +      },
      +      "required": {
      +        "type": "boolean"
      +      },
      +      "takes_subject": {
      +        "description": "Whether this input takes one of your Subjects as `{ \"type\": \"subject\", \"subject_id\" }`.",
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "key",
      +      "label",
      +      "help",
      +      "media",
      +      "required",
      +      "max_items",
      +      "takes_subject"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / recipe / properties / recipe / properties / model
      Added value: +{
      +  "description": "The default model; null on a `run` recipe, whose steps choose their own.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • removedOutput schema / properties / recipe / properties / recipe / properties / model_id
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / recipe / properties / recipe / properties / model_kind
      Removed value: -{
      -  "enum": [
      -    "image",
      -    "video",
      -    "tts",
      -    "music"
      -  ],
      -  "type": "string"
      -}
    • addedOutput schema / properties / recipe / properties / recipe / properties / object
      Added value: +{
      +  "const": "recipe",
      +  "type": "string"
      +}
    • addedOutput schema / properties / recipe / properties / recipe / properties / prompt
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "label": {
      +          "type": "string"
      +        },
      +        "max_length": {
      +          "type": "integer"
      +        },
      +        "placeholder": {
      +          "type": "string"
      +        },
      +        "required": {
      +          "type": "boolean"
      +        }
      +      },
      +      "required": [
      +        "label",
      +        "placeholder",
      +        "required",
      +        "max_length"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "What `prompt` asks for when you run it; null when it asks for none."
      +}
    • removedOutput schema / properties / recipe / properties / recipe / properties / recipe_id
      Removed value: -{
      -  "format": "uuid",
      -  "type": "string"
      -}
    • removedOutput schema / properties / recipe / properties / recipe / properties / recommended_model
      Removed value: -{
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • addedOutput schema / properties / recipe / properties / recipe / properties / recommended_models
      Added value: +{
      +  "description": "Models its author tested. Any model of its medium that can take its inputs runs it too.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / recipe / properties / recipe / properties / run_inputs / description
      Added value: +"What a `run` recipe takes, by key; empty on the others."
    • addedOutput schema / properties / recipe / properties / recipe / properties / run_inputs / items / additionalProperties
      Added value: +true
    • addedOutput schema / properties / recipe / properties / recipe / properties / run_inputs / items / properties
      Added value: +{
      +  "key": {
      +    "type": "string"
      +  },
      +  "label": {
      +    "type": "string"
      +  },
      +  "type": {
      +    "type": "string"
      +  }
      +}
    • addedOutput schema / properties / recipe / properties / recipe / properties / run_inputs / items / required
      Added value: +[
      +  "type",
      +  "key",
      +  "label"
      +]
    • addedOutput schema / properties / recipe / properties / recipe / properties / run_inputs / items / type
      Added value: +"object"
    • addedOutput schema / properties / recipe / properties / recipe / properties / type
      Added value: +{
      +  "description": "What it makes. New values may be added.",
      +  "enum": [
      +    "image",
      +    "clip",
      +    "voiceover",
      +    "music"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / properties / recipe / properties / recipe / properties / uses / type
      Previous value: -"number"New value: +"integer"
    • changedOutput schema / properties / recipe / properties / recipe / required
      Previous value: -[
      -  "recipe_id",
      -  "model_kind",
      -  "action",
      -  "name",
      -  "description",
      -  "visibility",
      -  "featured",
      -  "tags",
      -  "uses",
      -  "cover_url",
      -  "app_url"
      -]New value: +[
      +  "object",
      +  "id",
      +  "name",
      +  "description",
      +  "action",
      +  "type",
      +  "model",
      +  "recommended_models",
      +  "prompt",
      +  "inputs",
      +  "choices",
      +  "run_inputs",
      +  "tags",
      +  "uses",
      +  "cover_url",
      +  "app_url",
      +  "visibility",
      +  "featured"
      +]
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Adds real behavior beyond the annotations: the curator review flow, that the row is unchanged, that nothing is published, that a resubmission clears a prior decline, and where the status surfaces. Mild tension with destructiveHint=true, but the description is clarifying scope (no content mutation) rather than contradicting a write operation, since withdrawal does alter submission state.

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?

Three tight sentences, front-loaded with the action and its inverse, then the behavioral caveat, then the status pointer. No filler.

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

Completeness5/5

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

An output schema exists so return values need no explanation, and the description still covers the async curator decision, the reversal path, and the status lookup — everything an agent needs to call this correctly and set expectations.

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 0%, so the description carries the burden and does: it defines the non-obvious `submitted: false` as a withdrawal and implies that resubmitting (true) clears a decline. recipe_id is only covered indirectly by "a recipe you own", leaving ownership/ID sourcing to the schema.

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 pair (offer / withdraw) on a specific resource (a recipe you own) targeted at the official catalog, and explicitly contrasts with publishing ("does not publish it"), which separates it from siblings like publish_recipe and update_recipe.

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?

Gives clear when-to-use (offer your recipe to the catalog) and how to reverse it (`submitted: false`), plus where to check the outcome via get_own_recipe. It implies but never names publish_recipe as the follow-on step for actual publication, so the alternative is only half-explicit.

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