Skip to main content
Glama

Import a Cookidoo recipe

import_cookidoo_recipe
DestructiveIdempotent

Copy one Cookidoo recipe into the user's private ask.recipes collection, so the agent can read it in full, adapt it, build a shopping list, or compare it with other recipes. Imported recipes are visible only to this user and cannot be shared. Importing the same recipe again refreshes the copy.

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": {
      "cookidoo_id": "<cookidoo_id>"
    },
    "name": "import_cookidoo_recipe"
  }
}

Input Schema

NameRequiredDescriptionDefault
cookidoo_idYesCookidoo recipe id such as r123456 or a created-recipe id, from search_cookidoo, list_cookidoo_recipes or the recipe's Cookidoo URL

Output Schema

NameRequiredDescriptionDefault
idYes
nameYes
dietsNo
fat_gNo
unitsNo
yieldNo
ratingNo
carbs_gNo
fiber_gNo
sugar_gNo
caloriesNo
saved_inNo
servingsNo
image_urlNo
my_ratingNo
nutritionNo
protein_gNo
scale_noteNo
source_urlYes
attributionYes
descriptionNo
ingredientsYes
scale_classNo
source_siteYes
cook_minutesNo
instructionsYes
main_proteinNo
prep_minutesNo
rating_countYes
nutrition_forNo
total_minutesNo
askrecipes_ratingsNo
based_on_recipe_idNo
scaled_from_servingsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / based_on_recipe_id
      Added value: +{
      +  "minimum": 0,
      +  "type": [
      +    "null",
      +    "integer"
      +  ]
      +}
  2. Changed1 schema field changed
    • addedOutput schema / properties / saved_in
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": [
      +    "null",
      +    "array"
      +  ]
      +}
  3. Changed1 schema field changed
    • addedOutput schema / properties / units
      Added value: +{
      +  "type": "string"
      +}
  4. Changed2 schema fields changed
    • addedOutput schema / properties / askrecipes_ratings
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / properties / my_rating
      Added value: +{
      +  "properties": {
      +    "note": {
      +      "type": "string"
      +    },
      +    "stars": {
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "stars"
      +  ],
      +  "type": [
      +    "null",
      +    "object"
      +  ]
      +}
  5. Changed1 schema field changed
    • addedOutput schema / properties / main_protein
      Added value: +{
      +  "type": "string"
      +}
  6. Changed1 schema field changed
    • addedOutput schema / properties / scale_note
      Added value: +{
      +  "type": "string"
      +}
  7. Changed1 schema field changed
    • removedOutput schema / additionalProperties
      Removed value: -false
  8. Changed1 schema field changed
    • addedOutput schema / properties / scale_class
      Added value: +{
      +  "type": "string"
      +}
  9. Changed1 schema field changed
    • changedInput schema / properties / cookidoo_id / description
      Previous value: -"Cookidoo recipe id such as r123456, from search_cookidoo or the recipe's Cookidoo URL"New value: +"Cookidoo recipe id such as r123456 or a created-recipe id, from search_cookidoo, list_cookidoo_recipes or the recipe's Cookidoo URL"
  10. Added

TDQS

A4/5.0
Behavior4/5

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

Adds real context beyond the annotations: the copy is private to the user, cannot be shared, and re-importing refreshes the existing copy, which corroborates idempotentHint=true. It does not explain why destructiveHint=true is set (what is overwritten or replaced on refresh), leaving that annotation unexplained.

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 short sentences, front-loaded with the action and destination, then the privacy constraint, then refresh behavior. Every sentence carries distinct information with 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?

Return values are covered by the output schema, and the description covers purpose, privacy, and idempotency for a one-parameter tool. The notable gap is the unstated prerequisite of connecting a Cookidoo account, which the connect_cookidoo sibling implies is needed.

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 100% and the single cookidoo_id parameter is already documented in the schema with accepted formats and provenance. The description adds nothing about parameter meaning, so the baseline of 3 applies.

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?

States a specific verb and resource: "Copy one Cookidoo recipe into the user's private ask.recipes collection." The word "one" implicitly contrasts with the plural sibling import_recipes, but no sibling is named explicitly, so differentiation is inferential rather than stated.

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 downstream use cases (read in full, adapt, build a shopping list, compare) that tell the agent why to import rather than just fetch. It does not state when to prefer this over import_recipes for multiple recipes, nor that a Cookidoo connection is a prerequisite.

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.