Skip to main content
Glama

Zotero Get Collection Items

zotero_get_collection_items

Retrieve all items in a Zotero collection, including PDF and note indicators. Page through large collections with limit and offset, and optionally include nested subcollection items.

Instructions

Get all items in a specific Zotero collection. Supports detail='keys_only' (minimal), 'summary' (default, no abstracts), or 'full' (with abstracts). Includes PDF/notes indicators. include_subcollections=True also returns items filed in collections nested beneath this one (default False, matching Zotero's own 'Search subcollections' checkbox). For a collection larger than limit, page through it with offset (the response names the next offset to pass). TIP: To find papers on a specific topic, use zotero_semantic_search instead — it's faster and returns only relevant results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of items to return
detailNosummary
offsetNoIndex of the first item to return, for paging through a collection larger than `limit`.
collection_keyYesThe collection key/ID
include_subcollectionsNoAlso return items in collections nested beneath this one. Defaults to False, matching Zotero's own "Search subcollections" checkbox and this tool's previous behaviour.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

There are no annotations, so the description carries the full behavioral burden. It discloses the three detail levels, the presence of PDF/notes indicators, the subcollection expansion behavior, and the pagination convention where 'the response names the next offset to pass.' This is rich, concrete behavioral information that goes well beyond the input 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?

The description is well-organized, front-loading the core purpose before covering options, pagination, and a routing tip. Every sentence adds information, and the TIP earns its place by pointing to a faster sibling tool. No redundant or verbose language is used.

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?

Given the tool has an output schema and moderately complex behavior, the description covers purpose, detail modes, subcollection semantics, paging, and the key alternative tool. An agent has everything needed to call this tool correctly without consulting additional documentation.

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 80%, so the schema already documents most parameters. The description adds value beyond that by explaining the meaning of the detail enum values ('keys_only', 'summary', 'full'), the pagination naming convention for offset, and the practical consequence of include_subcollections. This is useful, though some parameter semantics are already present in 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?

The description opens with 'Get all items in a specific Zotero collection,' which is a specific verb-resource pair that clearly states the action and scope. It further distinguishes the tool from sibling search tools by describing its collection-based focus and by mentioning the alternative zotero_semantic_search for topic-based discovery.

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 TIP explicitly provides a when-not-to-use condition: for finding papers on a specific topic, use zotero_semantic_search instead, and gives the reason ('faster and returns only relevant results'). The description also clarifies the default subcollection behavior relative to Zotero's own 'Search subcollections' checkbox, giving agents clear context for when include_subcollections matters.

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