Skip to main content
Glama

Save private recipe

save_recipe
Idempotent

Use when the user explicitly asks to save a complete recipe privately. 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. Use content sections for recipes with components or cooking stages; omit flat ingredients and steps when content is present. Save exactly once. If the user asks for RecipeBee image generation, disclose that it may reserve existing image credits or consume a free-tier image allowance and wait for explicit acceptance before using save_recipe_with_image. If the user wants to attach an MCP client-generated or uploaded stage/action photo, save the recipe first, then use attach_instruction_image with the returned target ID and latest content revision. Use attach_recipe_image only for a hero/gallery photo. Do not publish or use browser control.

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

Input Schema

NameRequiredDescriptionDefault
tagsNo
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.

Output Schema

NameRequiredDescriptionDefault
recipeYes
duplicateYes
is_publicYes
persistedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • 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"
      +  }
      +]
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare write, non-destructive, idempotent, closed-world behavior; the description adds real context such as save exactly once, credit/free-tier disclosure for the image sibling, and the need for explicit acceptance. It does not cover failure or revision semantics, so it is not a 5.

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?

Short, front-loaded sentences with conditional branches in a logical order. Slight redundancy between the two time-estimation sentences, but no filler.

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 values need not be explained, and the description still references the returned target ID and latest content revision. For an 11-parameter nested tool it covers the decision points well, missing only guidance on partial saves and content/flat-field interaction.

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?

With 36% schema coverage, the description compensates only for the three required time fields and the content-vs-flat-structure rule, both of which largely restate the schema. Tags, notes, summary, servings, and nested step fields get no guidance.

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?

Names a specific verb and resource ('save a complete recipe privately') and distinguishes itself from image-related siblings, though the purpose is embedded in a usage trigger rather than stated declaratively.

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?

Gives an explicit trigger, explicit alternatives for three different image flows, ordered chaining with the returned target ID, and an explicit exclusion against publishing or browser control.

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.