Skip to main content
Glama

The Meal Plan Vault

Find recipes with ingredients

find_recipes_with_ingredients
Read-only

Find the household's saved recipes that use ingredients they already have, fewest missing ingredients first. Salt, pepper, oil, water, flour, sugar and dried spices are treated as always on hand and never listed. Each result lists what's on hand (have) and what's still needed (missing, with the recipe's amounts). Without ingredients, what's on hand is the household's pantry. Recipes that use pantry items about to expire rank ahead of ties, and uses_expiring names those items. With expiring_within_days, only recipes using a pantry item that expires within that many days come back, and expiring lists those items.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "find_recipes_with_ingredients"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
ingredientsNoWhat's on hand, one ingredient per item ("chicken thighs", "lemon"). Defaults to the pantry
expiring_within_daysNoOnly recipes that use a pantry item expiring within this many days

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Goes well past the readOnlyHint/openWorldHint annotations: it discloses the always-on-hand staple exclusion list (salt, pepper, oil, water, flour, sugar, dried spices), the ranking order, the tie-break on expiring pantry items, and the `have`/`missing`/`uses_expiring`/`expiring` result fields. An agent knows exactly how results are ordered and shaped before calling.

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?

Front-loaded with purpose and ranking, then parameter behavior, then result shape — a logical order with no filler sentences. Individual sentences are long and parenthetical-heavy, which slightly raises reading cost, but every clause carries information.

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?

There is no output schema, and the description compensates by naming each returned field and what it contains, including that `missing` carries the recipe's amounts. Combined with the pantry default and staple assumptions, an agent has everything needed to call it and interpret the response.

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?

Schema coverage is 67%, and the description adds real meaning beyond it — the pantry fallback for `ingredients`, the filtering semantics of `expiring_within_days`, and the corresponding `expiring` output field. `limit` is never mentioned, though its min/max/default are self-documenting in the schema.

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 precisely scoped resource: 'the household's saved recipes that use ingredients they already have', plus the ranking rule (fewest missing first). The scope implicitly separates it from list_recipes and find_recipes_on_sale, but no sibling is named, so differentiation is inferred 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?

Explains the two operating modes clearly: with no `ingredients` the tool uses the household pantry, and with `expiring_within_days` it restricts to recipes consuming soon-to-expire items. It gives no explicit when-not or named alternatives, but the mode conditions are unambiguous.

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