Skip to main content
Glama

Tick off a shopping item

check_shopping_item
Idempotent

Tick an item off the shopping list (purchased=true) or put it back (purchased=false), by its name.

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": {
      "weekStart": "<weekStart>",
      "itemName": "<itemName>",
      "purchased": "<purchased>"
    },
    "name": "check_shopping_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemNameYesThe item's display name, e.g. 'melk'.
purchasedYestrue = bought it; false = back on the list.
weekStartYesAny date in the week whose list holds the item.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, so the mutation/idempotency profile is covered. The description adds that this is a reversible toggle keyed by item name, but says nothing about what happens when the item or week does not exist, or whether duplicate names are an issue.

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?

A single front-loaded sentence that pairs each operation with its parameter value, with no filler. It is perhaps slightly dense in that the week scope is omitted rather than misplaced, but nothing needs trimming.

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

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple three-parameter toggle with full schema descriptions, complete annotation coverage, and no output schema, the description covers the essential action and both directions. The only meaningful gap is failure behavior for a missing item or an ambiguous name.

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 coverage is 100%, so both purchased and itemName are already well documented in the schema. The description restates the purchased semantics ('purchased=true / purchased=false') rather than adding new meaning, and never mentions weekStart, which the schema has to carry on its own. Baseline 3 is appropriate.

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 names a specific verb pair ('tick off' / 'put back') and the resource ('shopping list item'), and clarifies it is identified by name. It does not name the nearby siblings (remove_shopping_item, add_shopping_item) to make the distinction explicit, so it lands just short of a 5.

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?

It states the two modes of use (purchased=true to tick off, purchased=false to restore), which implies when to call it. It never addresses alternatives — e.g. that removing an item entirely is remove_shopping_item's job, not this tool's — so the agent must infer that routing.

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