Skip to main content
Glama

search_items

Read-only

Search Zotero library items by title, creator, year, or full text, with filters for type, tag, and collection, returning keys for updates.

Instructions

Search the Zotero library. Read-only.

query: substring match against title/creator/year (Zotero's quick search), or omit to list items. item_type: filter to one Zotero item type, e.g. "journalArticle", "book", "report", "webpage". tag: filter to items carrying this exact tag. collection_key: filter to items filed in this collection (see list_collections). limit/start: pagination (default limit 25). full_text: also match query against the indexed content of attached files and notes, not just title/creator/year (Zotero's qmode="everything"). Slower than the default search. Requires a non-empty query -- raises a validation error otherwise.

Each result includes key and version -- pass both to update_item, add_tags/remove_tags/set_tags, add_to_collection/remove_from_collection, delete_item_permanently, or move_item_to_different_library. creators is a list of {creatorType, firstName, lastName} (or {creatorType, name} for single-field/institutional creators) entries, preserving each creator's role (author, editor, seriesEditor, translator, contributor, ...) -- the same shape create_item/update_item accept, so it can be passed straight back in.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagNo
limitNo
queryNo
startNo
full_textNo
item_typeNo
collection_keyNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Beyond the readOnlyHint annotation, the description discloses that full_text search is slower, requires a non-empty query, and raises a validation error otherwise. It also details the return shape (key/version/creators) and how to pass results to other tools, which is valuable behavioral context beyond the annotation.

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-structured with an opening sentence, a parameter-by-parameter breakdown, and a result-usage section. It is longer than a simple two-liner but every sentence earns its place, providing essential details without redundancy or filler.

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's complexity (7 parameters, filters, pagination, full-text behavior) and the presence of an output schema, the description covers all parameters, explains return fields necessary for chaining (key/version/creators), and references related tools (list_collections, update_item, etc.). It is complete for an AI agent to select and invoke correctly.

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?

Schema description coverage is 0%, so the description fully compensates by explaining every parameter: query does substring match on title/creator/year, item_type provides examples, tag is an exact match, collection_key references list_collections, limit/start define pagination with default, and full_text has specific constraints. This goes well beyond the bare 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 a specific verb+resource combination ('Search the Zotero library') and clearly distinguishes itself from siblings like get_item or list_collections by focusing on search/filter capabilities. It also states 'Read-only', reinforcing the operation type.

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 for when to use the tool ('Search the Zotero library' or 'omit to list items') and references a sibling (list_collections) for a parameter. It does not explicitly state exclusions or alternatives like 'use get_item when you have a specific key', but the usage patterns are implied through parameter semantics.

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/herbertkokholm/cite-caddy'

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