Skip to main content
Glama

Get a recipe in full

get_recipe
Read-onlyIdempotent

Get one recipe in full: ingredients, step-by-step instructions, times, yield, nutrition, rating (source ratings and ask.recipes stars averaged, with the user's own as my_rating) and its source link. For when the user picks a recipe from a search or asks how to make it. Pass servings to scale the ingredient quantities, e.g. for meal prep or a crowd; nutrition_for says whether the nutrition numbers are per serving or for the whole yield. Amounts come back in the units saved on the profile: metric turns cups and ounces into grams and millilitres (dry goods by weight, liquids by volume, spoons stay spoons) and oven temperatures and pan sizes in the steps into Celsius and centimetres; us does the reverse; units in the result says which applied, empty means as the source wrote it. Pass units to override for one call.

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": {
      "id": "<id>"
    },
    "name": "get_recipe"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesrecipe id from a previous search
unitsNometric or us; converts the ingredient amounts and the temperatures and pan sizes in the steps; defaults to the units saved on the profile, leave empty unless the user asks for the other system this once
servingsNoscale ingredient quantities to this many servings; when the recipe's yield does not state servings the recipe comes back unscaled with scale_note saying so, nutrition stays per serving

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. Changed2 schema fields changed
    • addedInput schema / properties / units
      Added value: +{
      +  "description": "metric or us; converts the ingredient amounts and the temperatures and pan sizes in the steps; defaults to the units saved on the profile, leave empty unless the user asks for the other system this once",
      +  "type": "string"
      +}
    • 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. Changed2 schema fields changed
    • changedInput schema / properties / servings / description
      Previous value: -"scale ingredient quantities to this many servings; only works when the recipe's yield states servings, nutrition stays per serving"New value: +"scale ingredient quantities to this many servings; when the recipe's yield does not state servings the recipe comes back unscaled with scale_note saying so, nutrition stays per serving"
    • 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. Changed2 schema fields changed
    • addedOutput schema / properties / diets
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": [
      +    "null",
      +    "array"
      +  ]
      +}
    • addedOutput schema / properties / image_url
      Added value: +{
      +  "type": "string"
      +}
  10. Changed4 schema fields changed
    • addedInput schema / properties / servings
      Added value: +{
      +  "description": "scale ingredient quantities to this many servings; only works when the recipe's yield states servings, nutrition stays per serving",
      +  "type": "integer"
      +}
    • addedOutput schema / properties / nutrition_for
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / scaled_from_servings
      Added value: +{
      +  "type": [
      +    "null",
      +    "integer"
      +  ]
      +}
    • addedOutput schema / properties / servings
      Added value: +{
      +  "type": [
      +    "null",
      +    "integer"
      +  ]
      +}
  11. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare that the tool is a safe, idempotent, closed-world read; the description adds substantial behavior beyond them: how rating is averaged with the user's own as my_rating, that servings scaling silently falls back to unscaled output with a scale_note when the yield doesn't state servings, and precisely how metric/us conversion applies to amount types, temperatures, pan sizes and spoons.

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?

Front-loaded with the core purpose and return payload, then the conversion and scaling semantics. It is long but every clause carries operational information; nothing is filler, though short sentences or a break before the units discussion would improve scanning slightly.

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 three-parameter read tool with an output schema and full schema coverage, this is nearly complete; the description focuses on the non-obvious semantics (conversion, scaling fallback, rating aggregation) rather than restating the schema. It does not mention pagination or failure modes for an invalid id, but an output schema and required id make those low-value additions.

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 100% schema coverage, the baseline is 3; the description earns extra by explaining the intent behind each parameter: servings for meal prep or a crowd, units as a one-call override of the profile default, and what empty units in the result means. The nutrition_for explanation adds meaning that the schema does not carry.

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 and resource ("Get one recipe in full") and enumerates what comes back: ingredients, instructions, times, yield, nutrition, rating, source link. It is clearly distinguishable from search-oriented siblings like search_recipes and find_by_ingredients, which the description implicitly references by saying the id comes from a search.

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 explicit trigger conditions: "when the user picks a recipe from a search or asks how to make it." This covers the main entry paths, but it does not explicitly name when not to use it (for example, to preview results, use search_recipes), so it stops short of full routing guidance.

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.