Skip to main content
Glama

add_items

Add items to Zotero by supplying metadata directly, supporting all 37 item types. Ideal when no DOI exists or you need to override auto-filled fields.

Instructions

Add items to Zotero by providing metadata directly. Supports ALL 37 Zotero item types.

WHEN TO USE:

  • For items that do not have a DOI (books, theses, reports, etc.)

  • When you need full control over metadata (e.g., override a title, set a specific itemType, add custom fields) — even if a DOI exists, use add_items when the auto-resolved metadata would be incorrect or incomplete

  • Mixed batch: if some items have DOIs and others don't, call add_items_by_doi for the DOIs and add_items for the rest (two separate calls)

  • Prefer add_items_by_doi when DOIs are available AND you don't need to override metadata (it auto-resolves everything and attaches OA PDFs)

BATCH: Pass multiple items in the 'items' array (single API call).

COMMON FIELDS (available for most types): title, date, abstractNote, url, DOI, publisher, place, pages, volume, language, extra

ITEM TYPE QUICK REFERENCE:

  • journalArticle: publicationTitle, volume, issue, pages, DOI, ISSN

  • book: publisher, ISBN, edition, numPages, series, seriesNumber

  • bookSection: bookTitle, publisher, pages, ISBN, edition

  • conferencePaper: proceedingsTitle, conferenceName, publisher, DOI

  • thesis: thesisType ("PhD thesis"|"Master's thesis"), university

  • report: reportType, reportNumber, institution

  • webpage: websiteTitle, websiteType, accessDate

  • preprint: repository, archiveID, genre ("Preprint")

  • patent: patentNumber, assignee, issuingAuthority, filingDate

  • computerProgram: versionNumber, company, system, programmingLanguage

CREATORS: Array of {firstName, lastName, creatorType} or {name, creatorType} for institutional. Default creatorType is "author". Some types use different primary types (e.g., "director" for film, "inventor" for patent, "artist" for artwork).

Invalid fields or creatorTypes for a given type are rejected with helpful error messages listing the valid options.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagsNoTags to apply to all items
itemsYesArray of items to add. Each item must have itemType and title. Additional fields depend on the item type.
collection_keyNoZotero collection key to add all items to. Get this from create_collection or get_collections.
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It discloses batch behavior (single API call), validation behavior (invalid fields/creatorTypes rejected with helpful errors), default creatorType behavior, and the ability to add custom fields. It does not explicitly mention auth requirements, reversibility, or response format, but it covers the most important behavioral traits for correct invocation.

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?

The description is long but tightly structured with bold section headers, bullet lists, and a quick reference table. Every section serves a distinct purpose: purpose, when to use, batch behavior, common fields, type-specific fields, creators, and error handling. It is front-loaded with the main action and differentiators, and the length is justified by the complexity of covering 37 item types.

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 high-complexity tool with no output schema, the description is remarkably complete. It covers usage alternatives, parameter semantics, batch behavior, field validations, creator rules, and error reporting. The only minor omission is the exact success response shape, but given the scope of the description and the presence of schema details, the agent has enough context to correctly select and invoke the tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although schema coverage is 100%, the description goes far beyond the schema. It explains that 'items' is an array for batch operations, provides a quick reference of type-specific fields (journalArticle, book, thesis, etc.), and details the creators structure including institutional creators and primary creatorTypes per type. It also tells the user how to obtain collection_key from create_collection or get_collections. This significantly enriches parameter understanding.

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 opens with a specific verb and resource: 'Add items to Zotero by providing metadata directly.' It clearly distinguishes this from the sibling add_items_by_doi tool by explicitly stating when to use each, including a note that add_items supports all 37 Zotero item types. The purpose is unmistakable and well-differentiated.

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

Usage Guidelines5/5

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

The 'WHEN TO USE' section provides explicit guidance: use it for items without DOIs, when full metadata control is needed, and it even specifies a mixed-batch strategy calling add_items_by_doi for DOIs and add_items for the rest. It also names the preferred alternative (add_items_by_doi) when DOIs are available and no overrides are needed. This is exemplary usage guidance.

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/Xevos117/mcp-zotero'

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