Skip to main content
Glama

consume_items

Record cooking usage to deplete kitchen inventory and mark items finished so depleted stock moves to the shopping list.

Instructions

Record cooking. Each item: {name, quantity?, unit?, finished?}.

Cooking is the largest real depletion event in a kitchen and nothing else models it — without this, stock only ever drains by inference. Set finished: true for anything you used the last of; that also records a correction to zero, which is what actually moves it onto the shopping list. Unknown items are reported, not invented.

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": {
      "items": "<items>"
    },
    "name": "consume_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description still discloses two non-obvious behaviors: `finished: true` also writes a correction to zero and thereby pushes the item onto the shopping list, and unknown items are reported rather than invented. That is real side-effect and error-handling disclosure. Gaps remain on atomicity (what happens if some items are unknown), idempotency, and permissions.

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 lead sentence and the item shape are front-loaded, and the `finished` semantics arrive before the trailing caveat. The motivational clause about cooking being the largest depletion event is slightly padded but earns its place by justifying use of this tool over inference. No redundant repetition of schema fields.

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?

For a tool with zero schema documentation, no annotations, no output schema, and a nested free-form parameter, the description covers purpose, the item contract, one side effect, and unknown-item handling. It still leaves return shape, quantity/unit conventions, and partial-failure semantics undefined, which is a meaningful gap at this complexity level.

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% and `items` is a free-form array of objects with additionalProperties, so the schema alone says nothing. The description supplies the item shape and optionality markers ({name, quantity?, unit?, finished?}) plus the important semantics of `finished`, which is the field most likely to be misused. Quantity/unit types, formats, and defaults are still unexplained.

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?

"Record cooking" names a specific action and the body clarifies the resource: depletion of stock items. The line "nothing else models it — without this, stock only ever drains by inference" implicitly separates it from inference-based siblings, though it never names an alternative. Purpose is clear without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied (call it when you cooked and used items), and the `finished: true` guidance covers one concrete branch condition. There is no explicit when-not guidance or named alternative such as discard_item or correct_stock for the case of spoiled versus consumed stock, so the agent must infer routing.

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