Skip to main content
Glama

Create or update Zotero items

zotero_create_items

Batch create or update Zotero items with schema validation. Writes to your cloud library using the Web API.

Instructions

Create new items or update existing ones in a single batch (the server auto-chunks into groups of 50). Each entry in items is a Zotero item-data object: include itemType plus its valid fields, creators (each {creatorType, firstName, lastName} or {creatorType, name}), tags ([{tag}]), and collections (array of collection keys). To UPDATE an existing item, also include its key and current version; to CREATE, omit both. Every item is validated against the Zotero schema before anything is sent — if any item is invalid, nothing is written and the problems are returned. Use zotero_schema to discover valid fields/creator types for an itemType. Writes go to the cloud Web API (requires ZOTERO_API_KEY).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYesArray of Zotero item-data objects (itemType + fields; include key+version to update).
library_idNo
library_typeNo
Behavior4/5

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

The description adds behavioral details beyond annotations: server auto-chunks into groups of 50, all-or-nothing validation, and requires ZOTERO_API_KEY. Annotations only indicate it's not read-only (readOnlyHint=false) and accepts arbitrary data (openWorldHint=true). No contradictions.

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?

The description is a single, well-structured paragraph. It front-loads the main action and then details structure and behavior. Every sentence adds value, though it could be slightly shorter. No waste, but room for minor tightening.

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?

Given the tool has 3 parameters and no output schema, the description covers the essential aspects: batch size, update vs create, validation, and external schema reference. It does not describe return values or error details beyond 'problems are returned', but for a data entry tool this is acceptable.

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?

Schema coverage is low (33%), so the description must compensate. It explains the structure of the `items` array: itemType, creators, tags, collections, and the distinction between create and update (key+version). It does not describe `library_id` or `library_type`, but these are less critical. Overall, it adds meaningful meaning beyond the sparse 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?

The description clearly states the tool's purpose: 'Create new items or update existing ones in a single batch'. It specifies the resource (Zotero items) and the action (create/update batch). This distinguishes it from siblings like zotero_update_item (singular update) and zotero_schema (schema discovery).

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?

The description provides clear context: it's for batch operations, with auto-chunking, and refers to zotero_schema for field discovery. It explains when to use update vs create by including key+version. However, it doesn't explicitly mention alternatives like zotero_update_item for single updates, leaving some ambiguity about when not to use this tool.

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

Install Server

Other Tools

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/oscardvs/zoteus'

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