Skip to main content
Glama

Get recipe

get_recipe
Read-onlyIdempotent

Get one recipe by id — a look or a guided recipe, with its recommended models, creative guidance, and media slots. A guided recipe's provider prompt template remains private, and so do a reprompt recipe's rules: it says only whether the model that writes its prompt looks at your pictures. A run recipe answers its run_inputs and a step_count, never its steps; to author one, start from the definition in create_recipe's description.

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": "get_recipe"
  }
}

Input Schema

NameRequiredDescriptionDefault
recipe_idYes

Output Schema

NameRequiredDescriptionDefault
recipeYesA template that asks a few questions and makes something.
messageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed27 schema fields changed
    • addedOutput schema / properties / recipe / description
      Added value: +"A template that asks a few questions and makes something."
    • addedOutput schema / 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 / action / enum
      Previous value: -[
      -  "arm",
      -  "run",
      -  "reprompt"
      -]New value: +[
      +  "arm",
      +  "reprompt",
      +  "run"
      +]
    • removedOutput schema / properties / recipe / properties / allowed_models
      Removed value: -{
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • addedOutput schema / properties / recipe / properties / app_url / $ref
      Added value: +"#/properties/recipe/properties/cover_url/anyOf/0"
    • removedOutput schema / properties / recipe / properties / app_url / format
      Removed value: -"uri"
    • removedOutput schema / properties / recipe / properties / app_url / type
      Removed value: -"string"
    • removedOutput schema / properties / recipe / properties / arrangement
      Removed value: -{}
    • addedOutput schema / 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 / id
      Added value: +{
      +  "format": "uuid",
      +  "type": "string"
      +}
    • addedOutput schema / 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 / 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 / model_id
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / recipe / properties / model_kind
      Removed value: -{
      -  "enum": [
      -    "image",
      -    "video",
      -    "tts",
      -    "music"
      -  ],
      -  "type": "string"
      -}
    • addedOutput schema / properties / recipe / properties / object
      Added value: +{
      +  "const": "recipe",
      +  "type": "string"
      +}
    • addedOutput schema / 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_id
      Removed value: -{
      -  "format": "uuid",
      -  "type": "string"
      -}
    • removedOutput schema / properties / recipe / properties / recommended_model
      Removed value: -{
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • addedOutput schema / 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 / run_inputs / description
      Added value: +"What a `run` recipe takes, by key; empty on the others."
    • addedOutput schema / properties / recipe / properties / run_inputs / items / additionalProperties
      Added value: +true
    • addedOutput schema / properties / recipe / properties / run_inputs / items / properties
      Added value: +{
      +  "key": {
      +    "type": "string"
      +  },
      +  "label": {
      +    "type": "string"
      +  },
      +  "type": {
      +    "type": "string"
      +  }
      +}
    • addedOutput schema / properties / recipe / properties / run_inputs / items / required
      Added value: +[
      +  "type",
      +  "key",
      +  "label"
      +]
    • addedOutput schema / properties / recipe / properties / run_inputs / items / type
      Added value: +"object"
    • addedOutput schema / 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 / uses / type
      Previous value: -"number"New value: +"integer"
    • changedOutput schema / 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

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and non-destructive, so the safety profile is covered. The description adds real behavioral context beyond them: it discloses what is deliberately withheld (a guided recipe's provider prompt template, a reprompt recipe's rules, a run recipe's steps) and what a run recipe does return instead (run_inputs, step_count). That redaction behavior is exactly the non-obvious information an agent needs.

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 definition is front-loaded with the core verb and resource, then layered with type-specific detail. It is dense and somewhat clause-heavy (semicolons stacking caveats), but nearly every sentence conveys information an agent would otherwise have to discover by calling the tool.

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?

An output schema exists, so return-shape explanation is not required, and the description correctly focuses on what is and isn't visible. For a single-parameter, read-only lookup the coverage is strong; only the sibling differentiation and invalid-id behavior are left unaddressed.

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?

There is a single required parameter with 0% schema description coverage, but the description only says 'by id' without adding format or lookup semantics. With one obvious identifier the gap is minor, but the description does not compensate for the missing schema documentation.

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

Purpose4/5

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

The description names a specific verb and resource ('Get one recipe by id') and enumerates what comes back (recommended models, creative guidance, media slots) plus the recipe subtypes (look, guided, reprompt, run). It does not explicitly distinguish itself from close siblings like get_own_recipe or list_recipes, so it falls short of a full 5.

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

Usage Guidelines3/5

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

The closing clause routes authors to create_recipe's description, which is a genuine navigational hint, but there is no explicit statement of when to use this versus list_recipes, list_own_recipes, or get_own_recipe. Usage is implied by 'by id' rather than spelled out.

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