Skip to main content
Glama

Remove list items

remove_list_items
DestructiveIdempotent

Remove items from a list or detail_list preference by label.

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>",
      "labels": "<labels>",
      "reason": "<reason>"
    },
    "name": "remove_list_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesthe list's key, such as media.watched_movies
labelsYeslabels of the items to remove, matched ignoring case, accents, punctuation and a leading "the"; at most 100
reasonYesone sentence on why, usually what the user said

Output Schema

NameRequiredDescriptionDefault
pendingNoset when removing waits for the user's approval
removedYes
not_foundNolabels that matched no item

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description adds only the label-based selection model and does not say what happens when a label matches nothing, whether removal is reversible, or whether the supplied reason is persisted — useful context that is missing for a destructive tool.

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 with no filler or redundancy. It is efficient, though its brevity is also the source of the missing behavioral detail rather than a sign of completeness.

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?

With an output schema present and full annotation coverage, the description need not explain return values or safety. However, for a destructive, idempotent mutation the description should at least address partial matches and non-matching labels, which it does not.

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 description coverage is 100%, so the schema already explains key, labels (with the case/accent/punctuation-insensitive matching and 100-item cap) and reason. The description's phrase "by label" merely restates the schema, so the baseline 3 applies.

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 gives a specific verb and resource ("Remove items") plus the target scope ("a list or detail_list preference") and the selection mechanism ("by label"). It is clear what the tool does, though it does not name a sibling such as add_list_items or update_list_items to sharpen the boundary.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no mention of alternatives among the many list/preference siblings. The agent must infer from the name and the word "remove" that this is the deletion counterpart to add_list_items, which is thin guidance for a destructive operation.

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