Skip to main content
Glama

search_recipes

Read-only

Find a store's own recipes by dish name and return recipe names and links, so you can locate a recipe when a user names a dish.

Instructions

Find the stores' own recipes, e.g. "kylling karry". Returns name and link. Use it when the human names a dish; to browse by tag or category, use list_recipes. Use get_recipe for time, persons and the products to buy. nemlig only: BilkaToGo has no recipe search, use list_recipes with category there.

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
limitNoRecipes per store, 1-25.
queryYesWords to search for, e.g. "kylling karry".
storesNoStores to ask, e.g. ["nemlig", "rema1000"]. Leave out to ask every store.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.7.1
    • addedInput schema / properties / limit / description
      Added value: +"Recipes per store, 1-25."
    • addedInput schema / properties / query / description
      Added value: +"Words to search for, e.g. \"kylling karry\"."
    • addedInput schema / properties / stores / description
      Added value: +"Stores to ask, e.g. [\"nemlig\", \"rema1000\"]. Leave out to ask every store."
  2. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already establish read-only, non-destructive, open-world behavior, so the bar is lower; the description still adds real value by stating the return shape (name and link) and the important limitation that recipe search does not exist for BilkaToGo. It does not discuss result ordering or empty-result behavior, which keeps it off 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the purpose and example, then alternatives, then the store caveat. Every sentence carries distinct routing or behavioral information with no repetition of the schema.

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 no output schema, the description supplies the return fields and, with only three fully documented parameters and clear annotations, nothing an agent needs to invoke it correctly is absent. The added BilkaToGo caveat closes the main correctness risk for this tool.

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%, with query, limit, and stores all documented in the schema (including the per-store limit semantics and the leave-out-for-all-stores default). The description adds only the example phrase, so it sits at the baseline rather than compensating for anything missing.

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 (find the stores' own recipes) with a concrete example query, and explicitly contrasts itself with list_recipes (browse by tag/category) and get_recipe (time, persons, products). An agent can distinguish this from all named siblings without opening a schema.

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 ('when the human names a dish'), routes browsing intents to list_recipes and detail intents to get_recipe, and adds a store-specific exception telling the agent to use list_recipes with `category` on BilkaToGo. When-to-use, when-not-to-use, and alternatives are all present.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.