Skip to main content
Glama

Search recipes

search_recipes
Read-onlyIdempotent

Start here for any recipe request: a recipe to cook or bake, dinner and meal ideas, breakfast, lunch, cakes, desserts and snacks, a dish built around a named ingredient, cooking for guests, a quick weeknight meal, a protein or calorie target, macros for a cut or a bulk, meal prep for the week. Returns real recipes personalized to the user's saved profile and household, ahead of writing one from memory. Every result links to its source. rating and rating_count average the source site's ratings with ask.recipes users' stars; my_rating is the user's own. Filters by time, rating, review count, diet (vegetarian, vegan, gluten_free, dairy_free, nut_free, judged from the ingredient list) and nutrition (calories, protein, fat, carbs, sugar, fiber per serving as reported by the source). A nutrition filter only returns recipes whose yield is stated in servings, so the numbers are per serving; recipes without nutrition data are excluded. Results rank by how closely they match the query; min_rating and min_reviews cut rated recipes below a threshold only when passed, and never drop a recipe nobody has rated or a private upload. exclude_ingredients leaves out recipes using any of the ingredients named, for building a week without repeats. main_protein keeps recipes whose main protein is one of the values passed, for week rules like one chicken, two fish and three vegetarian dinners; every result carries main_protein. The user's profile, once saved with update_profile, applies on top: allergens and dislikes are always excluded, its diets are on unless ignore_profile_diets is passed (cooking for a guest, a one-off outside the usual diet), and its time budget is the default when max_total_minutes is not passed; pass max_total_minutes=-1 to lift it. When people are saved on the profile, who names those eating tonight, by name or by role such as adults or kids, and only their allergens and dislikes apply, for "the kids aren't home"; empty means everyone. ask_user, when present, says no profile is saved yet and what to offer. check, present when the profile has allergens, reminds you that exclusions match whole words and a sauce or spice mix can hide one; read the ingredients with get_recipe before recommending.

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": {
      "query": "<query>"
    },
    "name": "search_recipes"
  }
}

Input Schema

NameRequiredDescriptionDefault
whoNowho is eating, by the names or roles saved as people on the profile, e.g. ['Dad','Ana'] or ['adults'] when the kids are out, ['kids'] when only they eat; only those people's allergens and dislikes apply on top of the household's; leave empty for everyone
siteNorestrict to one source site slug, e.g. budgetbytes
limitNomax results, default 10, max 50
queryYesthe dish or main ingredients, e.g. 'overnight oats' or 'chicken curry'; express time, rating and nutrition limits with the filters rather than in words
veganNoonly vegan recipes: vegetarian and no eggs, dairy or honey
feedingNohow many people are eating, e.g. 10 for a dinner party; from six up, dishes cooked in one vessel (stews, braises, tray bakes, casseroles, soups, roasts) rank ahead of dishes cooked per portion (steaks, burgers, pancakes, stir-fries); nothing is excluded
nut_freeNoonly recipes without tree nuts or peanuts; coconut counts as nut-free
max_fat_gNomaximum grams of fat per serving
dairy_freeNoonly recipes without milk, butter, cheese, cream or yogurt
min_ratingNoonly recipes rated at least this many stars, e.g. 4.5, source ratings and ask.recipes stars averaged together; recipes nobody has rated yet and private uploads stay in; off unless passed
vegetarianNoonly vegetarian recipes: no meat, poultry, fish, seafood or gelatin in the ingredients
gluten_freeNoonly recipes without wheat, barley, rye, oats or products made from them
max_carbs_gNomaximum grams of carbohydrates per serving
max_sugar_gNomaximum grams of sugar per serving
min_fiber_gNominimum grams of fiber per serving
min_reviewsNoonly recipes with at least this many ratings, source and ask.recipes together, e.g. 25; recipes with no rating at all and private uploads stay in; off unless passed
main_proteinNoonly recipes whose main protein is one of these: chicken, turkey, duck, goose, quail, pheasant, guinea_fowl, beef (with veal), pork (with ham, bacon and sausage), lamb (with mutton), goat, venison, bison, rabbit, fish, shrimp (with prawns), seafood (other shellfish, squid, octopus), egg, legume (beans, lentils, chickpeas, tofu), none; e.g. ['beef','pork','lamb'] for red meat or ['fish','shrimp','seafood']; judged from the ingredients, so chicken stock alone does not make a chicken dish
max_caloriesNoonly recipes with at most this many calories per serving, e.g. 300
min_caloriesNoonly recipes with at least this many calories per serving
min_protein_gNominimum grams of protein per serving, e.g. 10
batch_friendlyNotrue to leave out dishes cooked per portion, for a crowd; recipes not yet classified stay in
max_total_minutesNoonly recipes taking at most this many minutes total
exclude_ingredientsNoingredients to leave out for this search, whole-word match on the ingredient list, e.g. ['chicken','brussels sprouts'] to avoid repeating what the week already has; nuts, gluten and dairy as a word apply the matching diet filter; the profile's allergens and dislikes stay excluded on top
ignore_profile_dietsNotrue to switch off the diets saved on the profile for this search only, for cooking for a guest or when the user asks for something outside their usual diet; allergens and dislikes stay excluded

Output Schema

NameRequiredDescriptionDefault
checkNo
recipesYes
ask_userNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / recipes / items / properties / based_on_recipe_id
      Added value: +{
      +  "minimum": 0,
      +  "type": [
      +    "null",
      +    "integer"
      +  ]
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / ignore_profile_diets
      Added value: +{
      +  "description": "true to switch off the diets saved on the profile for this search only, for cooking for a guest or when the user asks for something outside their usual diet; allergens and dislikes stay excluded",
      +  "type": "boolean"
      +}
  3. Changed1 schema field changed
    • changedInput schema / properties / main_protein / description
      Previous value: -"only recipes whose main protein is one of these: chicken, turkey, duck, goose, quail, pheasant, guinea_fowl, beef (with veal), pork (with ham, bacon and sausage), lamb (with mutton), goat, venison, bison, rabbit, fish, seafood (shellfish, squid, octopus), egg, legume (beans, lentils, chickpeas, tofu), none; e.g. ['beef','pork','lamb'] for red meat or ['fish','seafood']; judged from the ingredients, so chicken stock alone does not make a chicken dish"New value: +"only recipes whose main protein is one of these: chicken, turkey, duck, goose, quail, pheasant, guinea_fowl, beef (with veal), pork (with ham, bacon and sausage), lamb (with mutton), goat, venison, bison, rabbit, fish, shrimp (with prawns), seafood (other shellfish, squid, octopus), egg, legume (beans, lentils, chickpeas, tofu), none; e.g. ['beef','pork','lamb'] for red meat or ['fish','shrimp','seafood']; judged from the ingredients, so chicken stock alone does not make a chicken dish"
  4. Changed2 schema fields changed
    • changedInput schema / properties / min_rating / description
      Previous value: -"only recipes rated at least this many stars, e.g. 4.5, source ratings and ask.recipes stars averaged together; off unless passed"New value: +"only recipes rated at least this many stars, e.g. 4.5, source ratings and ask.recipes stars averaged together; recipes nobody has rated yet and private uploads stay in; off unless passed"
    • changedInput schema / properties / min_reviews / description
      Previous value: -"only recipes with at least this many ratings, source and ask.recipes together, e.g. 25; off unless passed"New value: +"only recipes with at least this many ratings, source and ask.recipes together, e.g. 25; recipes with no rating at all and private uploads stay in; off unless passed"
  5. Changed1 schema field changed
    • addedOutput schema / properties / check
      Added value: +{
      +  "type": "string"
      +}
  6. Changed1 schema field changed
    • addedInput schema / properties / who
      Added value: +{
      +  "description": "who is eating, by the names or roles saved as people on the profile, e.g. ['Dad','Ana'] or ['adults'] when the kids are out, ['kids'] when only they eat; only those people's allergens and dislikes apply on top of the household's; leave empty for everyone",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": [
      +    "null",
      +    "array"
      +  ]
      +}
  7. Changed1 schema field changed
    • addedOutput schema / properties / ask_user
      Added value: +{
      +  "type": "string"
      +}
  8. Changed4 schema fields changed
    • changedInput schema / properties / min_rating / description
      Previous value: -"only recipes the source rates at least this many stars, e.g. 4.5; off unless passed"New value: +"only recipes rated at least this many stars, e.g. 4.5, source ratings and ask.recipes stars averaged together; off unless passed"
    • changedInput schema / properties / min_reviews / description
      Previous value: -"only recipes with at least this many source ratings, e.g. 25; off unless passed"New value: +"only recipes with at least this many ratings, source and ask.recipes together, e.g. 25; off unless passed"
    • addedOutput schema / properties / recipes / items / properties / askrecipes_ratings
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / properties / recipes / items / properties / my_rating
      Added value: +{
      +  "properties": {
      +    "note": {
      +      "type": "string"
      +    },
      +    "stars": {
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "stars"
      +  ],
      +  "type": [
      +    "null",
      +    "object"
      +  ]
      +}
  9. Changed2 schema fields changed
    • addedInput schema / properties / main_protein
      Added value: +{
      +  "description": "only recipes whose main protein is one of these: chicken, turkey, duck, goose, quail, pheasant, guinea_fowl, beef (with veal), pork (with ham, bacon and sausage), lamb (with mutton), goat, venison, bison, rabbit, fish, seafood (shellfish, squid, octopus), egg, legume (beans, lentils, chickpeas, tofu), none; e.g. ['beef','pork','lamb'] for red meat or ['fish','seafood']; judged from the ingredients, so chicken stock alone does not make a chicken dish",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": [
      +    "null",
      +    "array"
      +  ]
      +}
    • addedOutput schema / properties / recipes / items / properties / main_protein
      Added value: +{
      +  "type": "string"
      +}
  10. Changed2 schema fields changed
    • removedOutput schema / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / recipes / items / additionalProperties
      Removed value: -false
  11. Changed3 schema fields changed
    • addedInput schema / properties / batch_friendly
      Added value: +{
      +  "description": "true to leave out dishes cooked per portion, for a crowd; recipes not yet classified stay in",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / feeding
      Added value: +{
      +  "description": "how many people are eating, e.g. 10 for a dinner party; from six up, dishes cooked in one vessel (stews, braises, tray bakes, casseroles, soups, roasts) rank ahead of dishes cooked per portion (steaks, burgers, pancakes, stir-fries); nothing is excluded",
      +  "type": "integer"
      +}
    • addedOutput schema / properties / recipes / items / properties / scale_class
      Added value: +{
      +  "type": "string"
      +}
  12. Changed1 schema field changed
    • addedInput schema / properties / exclude_ingredients
      Added value: +{
      +  "description": "ingredients to leave out for this search, whole-word match on the ingredient list, e.g. ['chicken','brussels sprouts'] to avoid repeating what the week already has; nuts, gluten and dairy as a word apply the matching diet filter; the profile's allergens and dislikes stay excluded on top",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": [
      +    "null",
      +    "array"
      +  ]
      +}
  13. Changed8 schema fields changed
    • addedInput schema / properties / dairy_free
      Added value: +{
      +  "description": "only recipes without milk, butter, cheese, cream or yogurt",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / gluten_free
      Added value: +{
      +  "description": "only recipes without wheat, barley, rye, oats or products made from them",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / min_rating / description
      Previous value: -"minimum source star rating, default 4.2; pass a lower value to loosen"New value: +"only recipes the source rates at least this many stars, e.g. 4.5; off unless passed"
    • changedInput schema / properties / min_reviews / description
      Previous value: -"minimum number of source ratings, default 25; pass a lower value to loosen"New value: +"only recipes with at least this many source ratings, e.g. 25; off unless passed"
    • addedInput schema / properties / nut_free
      Added value: +{
      +  "description": "only recipes without tree nuts or peanuts; coconut counts as nut-free",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / vegan
      Added value: +{
      +  "description": "only vegan recipes: vegetarian and no eggs, dairy or honey",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / vegetarian
      Added value: +{
      +  "description": "only vegetarian recipes: no meat, poultry, fish, seafood or gelatin in the ingredients",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / recipes / items / properties / diets
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": [
      +    "null",
      +    "array"
      +  ]
      +}
  14. Changed2 schema fields changed
    • addedOutput schema / properties / recipes / items / properties / nutrition_for
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / recipes / items / properties / servings
      Added value: +{
      +  "type": [
      +    "null",
      +    "integer"
      +  ]
      +}
  15. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/non-destructive annotations, the description discloses personalization behavior, ranking, source links, rating averaging, nutrition-filter caveats, profile exclusion defaults, and how min_rating/min_reviews preserve unrated and private recipes. It also explains ask_user and check runtime fields, which are behavioral details not captured by annotations.

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 description is long and dense but front-loads the core purpose and then groups filtering, profile, and runtime guidance. It is appropriately sized for a 24-parameter tool, though some clauses repeat facts already present in the schema and could be tightened.

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?

With annotations, a full input schema, and an output schema present, the description still covers the critical context an agent needs: profile-driven defaults, guest overrides, nutrition filter limitations, exclusion matching, and the presence of ask_user/check fields. Nothing important for correct invocation appears missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the description still adds material meaning: max_total_minutes=-1 lifts the profile time budget, empty 'who' means everyone, exclude_ingredients uses whole-word matching and can trigger diet filters, main_protein is judged from ingredients so chicken stock does not count, and nutrition filters only apply to recipes with stated serving yields. These are semantics beyond the schema text.

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?

The description opens with 'Start here for any recipe request' and names the resource (recipes) plus a wide range of concrete use cases, from dinner ideas to macros to meal prep. It clearly positions itself against 'writing one from memory' and points to get_recipe for ingredient reading, so an agent can distinguish its role from siblings.

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?

It explicitly says when to use this tool ('Start here for any recipe request') and names adjacent tools and behaviors: use update_profile to save the profile, get_recipe to read ingredients before recommending, and ask_user when no profile is saved. It also explains the profile-based defaults and the ignore_profile_diets escape hatch for guest cooking.

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.