Skip to main content
Glama
Zotero MCP Server

Zotero MCP Server

by drxaibi

search_library

Search a Zotero library by query, tags, item type, or collection to retrieve item metadata like title, authors, abstract, publication info, and identifiers.

Instructions

Search the Zotero library for items by query, tags, item type, or collection. Returns metadata including title, authors, abstract, publication info, and identifiers.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_library"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNoFilter by tags (all must match)
limitNoMaximum number of results (default: 25)
queryNoSearch query for title, creators, abstract, or full text
itemTypeNoFilter by item type (e.g., 'journalArticle', 'book', 'thesis')
collectionNoCollection key to search within

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does add real value by listing returned metadata fields (title, authors, abstract, publication info, identifiers), which compensates for the absent output schema, but it says nothing about result ordering, pagination behavior beyond the schema's limit, or what an empty-parameter call returns.

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?

Two sentences, front-loaded with the searchable facets and followed by the return payload; every clause adds information and there is no padding or redundancy.

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 five-parameter, zero-required read tool with no output schema, the description covers both inputs (facets) and outputs (metadata fields), which is most of what an agent needs. The remaining gap is behavior with an unfiltered call and result ordering, which matters because nothing is required.

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 all five parameters (tags all-must-match, limit default 25, query scope, itemType examples, collection key) are already documented. The description only restates the parameter names as facets without adding format or precedence semantics, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource ('Search the Zotero library for items') and enumerates the four filter facets (query, tags, item type, collection). It does not explicitly distinguish itself from the sibling search_fulltext, whose territory overlaps with the 'full text' portion of the query parameter, so an agent must infer the boundary.

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

Usage Guidelines3/5

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

Usage is only implied by the filter list; there is no statement of when to choose this over search_fulltext, get_collection_items, or get_recent_items, and no exclusions or prerequisites. An agent can guess it is the general metadata search, but nothing confirms that.

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