Skip to main content
Glama
edouardArmit

Zotero MCP Server

by edouardArmit

rebuild_search_index

Rebuild the full-text search index to make new or changed PDFs and notes searchable. Use incremental mode for quick top-ups or full mode to reindex everything from scratch.

Instructions

(Re)build the full-text search index used by search_library's 'fulltext' and 'notes' scopes. Indexes every library — personal plus every group/shared library — by default, so shared libraries become full-text searchable automatically; pass library_id (see list_libraries) to index just one. Incremental by default (full=False): only new or changed PDFs/notes since the last run are processed, which is fast. Pass full=True to wipe and rebuild everything from scratch. For a large library, prefer running python scripts/build_index.py in a terminal the first time, since that gives you progress output; this tool is best for small incremental top-ups from within a conversation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fullNo
library_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A5/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so thoroughly. It discloses incremental-by-default behavior, the full=True wipe-and-rebuild mode, cross-library indexing, and the practical tradeoff about progress output for large libraries.

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 front-loaded with the tool's core purpose and is dense with useful behavior, usage, and parameter guidance. Every sentence contributes actionable information without 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?

For a complex operation with no output schema and no annotations, the description is remarkably complete. It covers default behavior, parameter effects, performance characteristics, and when an alternative approach is preferable, leaving little ambiguity for an agent deciding how to invoke it.

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 must explain the parameters itself. It explains both parameters: library_id scopes indexing to a single library and references list_libraries, while full controls incremental versus full rebuild. This fully compensates for the schema's lack of descriptions.

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 specific action—rebuilding the full-text search index—and connects it to the exact scopes ('fulltext' and 'notes') of the sibling search_library tool. This makes the tool's role unmistakable and distinguishes it from other tools.

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 description provides explicit when-to-use guidance: it is best for small incremental top-ups within a conversation, and for large libraries it recommends running 'python scripts/build_index.py' in a terminal instead. It also clarifies when to use library_id versus the default all-libraries behavior.

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