Skip to main content
Glama
ARHashemi

zotero-claude-mcp

by ARHashemi

zotero_add_to_collection

File Zotero items into a collection using their keys, with batch support and option to create the collection if missing. Items can belong to multiple collections.

Instructions

File existing items into a collection via the web API (items can be in several collections at once; this does not remove them from others). Works in batches, so pass all the keys in one call. Set create=true to make the collection if it doesn't exist.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keysYesItem keys to file.
createNoCreate the collection (top level, or under the path's parent) if missing. Default false.
libraryNoLibrary to use. Local: omit for My Library, or give a group name/ID. Web: omit for your user library, or give a group ID (or 'group:12345').
collectionYesCollection key, name, or 'Parent/Child' path.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and covers key behaviors: items can belong to multiple collections, the operation does not remove from other collections, and batching is supported. It does not disclose write-permission requirements or error behavior, but the described traits are the most decision-relevant ones for this additive tool.

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?

Three short sentences, all carrying distinct value: what it does, non-destructive scope, batching, and create behavior. No filler or redundant restatement of the schema.

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?

For a 4-parameter tool with 100% schema coverage and no output schema, the description covers the operation's core semantics and key usage tips. It could mention what happens when a key is already in the collection or what the API returns, but these are not essential for invoking the tool correctly.

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 baseline is 3. The description adds a batching hint for 'keys' and clarifies the effect of 'create=true', but it does not add new meaning for 'library' or 'collection' beyond the schema.

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?

Description opens with a specific verb and resource: 'File existing items into a collection via the web API.' It also clarifies additive semantics ('this does not remove them from others'), which differentiates it from zotero_remove_from_collection and indicates it operates on existing items rather than creating items.

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?

Provides concrete usage guidance: 'Works in batches, so pass all the keys in one call' and 'Set create=true to make the collection if it doesn't exist.' It does not explicitly name sibling alternatives or state when not to use it, so it stops short of a 5.

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