Skip to main content
Glama

Remove List Items

remove_list_item
DestructiveIdempotent

Use this when you need to permanently remove an item or clear completed items; it never deletes a list.

Input Schema

NameRequiredDescriptionDefault
modeYesRemove one item, or clear every completed item.
listRefYesOpaque list reference returned by ComingUp.
listItemRefNoRequired for item mode; omit for completed mode.
idempotencyKeyYesUnique key that safely replays this removal.
expectedVersionYesCurrent list version returned by a read or list write.

Output Schema

NameRequiredDescriptionDefault
nameYes
listRefYes
versionYes
categoryYes
itemCountYes
removedCountYes
uncheckedItemCountYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description still earns credit by adding two facts not in annotations: the removal is permanent/irreversible, and it cannot cascade to the parent list. It does not address the expectedVersion conflict behavior, leaving that to the schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single sentence with the use-case trigger front-loaded and the scope caveat trailing it. Nothing is redundant or padded.

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 a fully documented schema, an output schema, and rich annotations, the description covers purpose, permanence, and scope limitation adequately. It leaves conditional-parameter nuance (listItemRef required only in item mode) and concurrency handling entirely to the schema, which is acceptable here.

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 mode, listRef, listItemRef, idempotencyKey and expectedVersion. The description only echoes the two modes at a high level and adds no format, precedence, or conditional-requirement detail beyond what the schema states.

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 and resource ("permanently remove an item or clear completed items") and adds a scope boundary ("never deletes a list") that separates it from list-level siblings like change_list or rename_list. It does not explicitly differentiate from edit_list_item or set_list_item_checked, which are the closest neighbors, so it falls 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 Guidelines4/5

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

"Use this when you need to permanently remove an item or clear completed items" gives a clear trigger condition covering both enum modes. The clause "it never deletes a list" rules out one mis-invocation. No alternative tool is named for the edit-vs-remove decision, so no explicit exclusions beyond that.

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