Skip to main content
Glama

Change list items

update_list_items
DestructiveIdempotent

Change items of a list or detail_list preference, found by label: rename one with new_label, or set some of a detail_list item's fields, such as its rating or note. Fields left out keep their values; null clears one.

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": {
      "key": "<key>",
      "items": "<items>",
      "reason": "<reason>"
    },
    "name": "update_list_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesthe list's key, such as food.pizza_places
itemsYesthe changes, at most 100
reasonYesone sentence on why, usually what the user said

Output Schema

NameRequiredDescriptionDefault
pendingNoset when the change waits for the user's approval
updatedYes
not_foundNolabels that matched no item

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered. The description contributes genuinely new behavioral context: partial update semantics and null-as-clear, which is exactly the destructive detail an agent needs before calling. It does not say what happens when a label matches nothing.

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?

Two dense sentences, front-loaded with the operation and scope, with no filler. Slightly crammed — the rename and field-set modes plus null semantics are packed into one sentence — but every clause carries information.

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?

Rich annotations plus an output schema mean the description needn't explain returns, and 100% schema coverage handles parameters. The remaining gap is failure behavior for unmatched labels and confirmation of the 100-item batch cap (which the schema carries), so the definition is nearly complete but not fully self-sufficient.

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?

With 100% schema coverage the baseline is 3, but the description earns more by explaining the interaction between new_label and fields and by stating that omitted fields are preserved while null clears them — meaning that is not obvious from the schema's additionalProperties:true block.

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 (change) and resource (items of a list or detail_list preference), and spells out the two mutation modes: rename via new_label, or set fields on a detail_list item. It implicitly distinguishes itself from add/remove siblings by being about modification of existing matched items, though it never names those siblings.

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 by 'fields left out keep their values; null clears one', which tells the agent how to express a partial update versus a deletion. There is no explicit when-to-use or when-not guidance and no pointer to add_list_items for items that do not yet exist, which is the most likely confusion point given the sibling set.

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