Skip to main content
Glama

Tick off the shopping list

check_shopping_items
Idempotent

Tick things off a list (bought), or untick them with done: false: itemIds from household_info (part list). Only when the person says they bought them. Their own list (to: me): done at once. The household's: a card they tap in Hem.

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": {
      "itemIds": "<itemIds>"
    },
    "name": "check_shopping_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNome = their own list; default the household's.
doneNotrue = bought (default), false = back on the list.
itemIdsYesitemIds from household_info, e.g. ["3fa9c1b2d4e6"].
householdNoThe household's name or householdId from list_households, e.g. "Hemma". Leave out when the person has only one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / itemIds / description
      Previous value: -"itemIds from read_shopping_list, e.g. [\"3fa9c1b2d4e6\"]."New value: +"itemIds from household_info, e.g. [\"3fa9c1b2d4e6\"]."
    • addedInput schema / properties / to
      Added value: +{
      +  "description": "me = their own list; default the household's.",
      +  "enum": [
      +    "me",
      +    "home"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": false,
      -  "properties": {
      -    "changed": {
      -      "type": "number"
      -    },
      -    "done": {
      -      "type": "boolean"
      -    },
      -    "household": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "householdId": {
      -          "type": "string"
      -        },
      -        "name": {
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "householdId",
      -        "name"
      -      ],
      -      "type": "object"
      -    },
      -    "itemId": {
      -      "description": "The Stream card, when it's a draft.",
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "itemIds": {
      -      "items": {
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    "items": {
      -      "items": {
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    "note": {
      -      "type": "string"
      -    },
      -    "status": {
      -      "enum": [
      -        "done",
      -        "draft"
      -      ],
      -      "type": "string"
      -    },
      -    "why": {
      -      "description": "Why it's a draft (said to the person).",
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    }
      -  },
      -  "required": [
      -    "status",
      -    "household",
      -    "itemIds",
      -    "items",
      -    "done",
      -    "note"
      -  ],
      -  "type": "object"
      -}New value: +null
  2. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare mutating-but-not-destructive and idempotent. The description adds real behavior beyond that: own-list ticks apply immediately, while household ticks produce a card the person must tap in Hem, meaning the change is not final. That nuance is valuable but phrased so telegraphically ('a card they tap in Hem') that the agent must infer the pending-confirmation model.

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?

It is short and front-loads the core action before the conditions. The clipped, fragment-heavy phrasing ('part list', 'a card they tap in Hem') is efficient but occasionally reads ambiguously.

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?

With no output schema and a mutation that has a two-stage outcome, the description supplies the key context: where itemIds come from, how 'to' and 'done' behave, and the household confirmation step. The main remaining gap is what the tool returns when a change is queued rather than applied.

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 'to', 'done', 'itemIds', and 'household' are already documented in the schema. The description reinforces itemId provenance (household_info) and the default/unset behavior for household, but adds no syntax or format detail beyond that baseline.

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 verb pair and resource: tick off (bought) or untick (done: false) items on a shopping list. It also says where itemIds come from (household_info part list), which separates it from add_to_list, though it never names that sibling explicitly.

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 an explicit precondition — 'Only when the person says they bought them' — and explains the two target modes (own list vs household list). It doesn't name add_to_list as the alternative for adding items, so the routing guidance is contextual rather than complete.

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.