Skip to main content
Glama

Remove items from a collection

zotero_remove_items_from_collection
Idempotent

Remove items from a Zotero collection while keeping them in the library and other collections. Items not in the collection are left unchanged.

Instructions

Remove items from one collection. The items stay in the library and in any other collection they belong to; nothing is deleted. Items that were not in the collection are reported as unchanged.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
groupIdNoGroup library ID. Omit for the personal library ("My Library"), which is what almost every request wants. Group IDs come from zotero_list_libraries.
itemKeysYesKeys of the items to remove.
collectionKeyYesCollection to remove them from.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
removedYes
notPresentYes
collectionKeyYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.1

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already mark destructiveHint=false and idempotentHint=true, and the description concretely substantiates both: it reveals that items persist in the library and other collections, and that non-members are 'reported as unchanged'. This adds specific operational meaning beyond the hints, though it stops short of covering edge cases such as invalid collection keys or partial failures.

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?

Two dense sentences with zero filler. The core action is front-loaded, and the two clarifying constraints — non-deletion and unchanged reporting for non-members — each earn their place and directly prevent misuse.

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

Completeness5/5

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

For a low-complexity mutation with full input-schema documentation, three annotations, and an output schema, the description covers every essential semantic fact: single-collection scope, non-destructive behavior, and idempotent outcome for absent items. Nothing an agent needs to select and invoke it correctly is missing.

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%: each parameter (groupId, itemKeys, collectionKey) is already documented, including the guidance to omit groupId for the personal library and the reference to zotero_list_libraries. The description adds no parameter-level detail, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb-resource pair ('Remove items from one collection') and immediately disambiguates the operation from deletion by stating that items 'stay in the library and in any other collection' and 'nothing is deleted'. This explicitly distinguishes it from siblings like zotero_delete_items and zotero_restore_items without ambiguity.

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?

The use case is implied rather than stated: it describes what the tool does (remove from a single collection, preserve elsewhere) but never explicitly names alternatives or gives when-to-use vs when-not-to-use conditions. The 'one collection' scope qualifier provides context, but the description does not route the agent away from deletion or add-to-collection siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dvdsosa/zotero-native-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server