Skip to main content
Glama

build_index

Build or update Zotero library indexes after adding new papers, enabling citation graph analytics and full-text search.

Instructions

Build or update indexes for your Zotero library. Use this after adding new papers to enable graph queries and full-text search. Types: 'graph' (citation network + analytics via OpenAlex — enables query_knowledge_graph, query_authors, export_knowledge_graph), 'fulltext' (PDF text extraction + FTS5 index — enables search_fulltext), 'both' (runs graph then fulltext). Auto-detects full build vs incremental sync. Set full_rebuild=true to force a complete rebuild.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNograph
limitNo
full_rebuildNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

TDQS

A4.2/5.0
Behavior4/5

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

The description adds behavioral context beyond the annotations by explaining that the tool auto-detects full build vs incremental sync, that 'both' runs graph then fulltext in sequence, and that full_rebuild forces a complete rebuild. It does not overpromise safety, consistent with readOnlyHint=false and destructiveHint=false.

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 compact, front-loaded with the core purpose, and each sentence carries distinct useful information. The type breakdown and rebuild guidance are structured clearly without 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?

The description covers the main decision points: which type to choose, when to use the tool, and how to force a rebuild. The presence of an output schema covers return-value expectations. The only notable completeness gap is the undocumented 'limit' parameter.

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?

With 0% schema description coverage, the description must carry parameter meaning. It does a good job explaining 'type' values and 'full_rebuild', but it never explains the 'limit' parameter, which remains undocumented in both schema and description. This is a real gap for an agent deciding how to parameterize the call.

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 verb 'Build or update' and the resource 'indexes for your Zotero library'. It also enumerates the specific index types and what each enables, making the tool's role unambiguous relative to the sibling tools.

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 explicitly says when to use it: 'after adding new papers to enable graph queries and full-text search.' It also distinguishes the effects of each type option, but does not explicitly state when not to use it or which sibling might be an alternative, though no direct alternative exists among siblings.

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

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

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