Skip to main content
Glama

check_recipe

Sorts a recipe's ingredients against your home stock into what you have, what is running low, and what you need to buy before cooking.

Instructions

Can I cook this? Sorts a recipe's ingredients into what you have, what is running low, and what you would need to buy.

The model turns a recipe — pasted text, a URL, a photo of a cookbook — into this list of ingredient names. The server only does the set maths against stock, because that is the part that must be exactly right.

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": {
      "ingredients": "<ingredients>"
    },
    "name": "check_recipe"
  }
}

Input Schema

NameRequiredDescriptionDefault
ingredientsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description does carry the safety burden and does so partially: it makes clear the server only performs deterministic set math against stock, implying a pure read with no mutation or side effects. It does not define what 'running low' means (threshold source), whether unknown or aliased ingredient names are matched, or anything about the response shape.

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 core question and output grouping are front-loaded in the first sentence, with the caller/server responsibility split following. The closing rationale ('because that is the part that must be exactly right') is slightly decorative but does reinforce the determinism point, so it mostly earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 no annotations, so the description is the only source of truth about results; it names the three buckets but not the item-level format, thresholds, or matching behavior. Given 18 siblings that manage stock, aliases, and ordering, the definition is adequate but leaves the caller guessing about edge cases.

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 0% for the single `ingredients` parameter, so the description must compensate, and it largely does: it specifies that the array holds ingredient *names* extracted from the recipe rather than raw recipe text, quantities, or instructions. It leaves open whether quantities or aliases should be included, so it is not fully exhaustive.

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?

The description states a specific question ('Can I cook this?') and the exact transformation performed: sorting a recipe's ingredient names into have / running low / need to buy. That is a concrete verb-plus-resource plus output shape. It does not name or contrast any sibling (e.g. what_should_i_order, get_stock), so it stops short of explicit differentiation.

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?

It gives real usage context by telling the agent that the recipe (pasted text, URL, photo) must be converted into a plain list of ingredient names before calling, i.e. the caller does extraction and the server does not. There are no explicit when-not conditions or named alternatives, which keeps it out of 5 territory.

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