Skip to main content
Glama
edouardArmit

Zotero MCP Server

by edouardArmit

get_item_fulltext

Extract full text from a Zotero item's PDF attachments with page markers, optionally limiting to a page range or character count. Use it to retrieve cited passages from long documents.

Instructions

Extract the full text of an item's PDF attachment(s), with [p. N] page markers so you can cite specific pages back to the user. Optionally restrict to a page range with page_start/page_end (1-indexed, inclusive) — useful for a long document where you only need a section. max_chars caps the response size (defaults to a safe per-item limit); the result says so and suggests narrowing the page range if truncated. This extracts on demand — it does not require the search index to have been built first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
item_keyYes
page_endNo
max_charsNo
page_startNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose the on-demand nature, absence of a search-index prerequisite, page-marker format, and truncation behavior with max_chars. It does not cover multi-PDF aggregation or error/permission cases, but the core side effects and result caveats are present.

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?

Four sentences front-load the core purpose and then layer parameter and behavior details without redundant filler. Each sentence adds value, so it is efficiently structured.

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?

Despite no annotations and no output schema, the description covers what the tool returns (full text with page markers), how to constrain output, and how truncation is signaled. It is slightly incomplete about the exact shape when an item has multiple PDF attachments and about failure modes, but it is enough for correct invocation.

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 descriptions are 0%, so the prose must compensate, and it does: page_start/page_end are documented as 1-indexed and inclusive, max_chars is documented as a cap with a default and truncation cue. item_key is left obvious from the tool name, but all optional parameters receive meaning beyond 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 uses a specific action verb ('Extract') and names the exact resource ('an item's PDF attachment(s)'), and it adds page-marker behavior that distinguishes it from metadata/notes/search siblings. An agent can confidently choose this over get_item, get_item_notes, or get_item_annotations.

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?

It explains when a page range is useful and clarifies that extraction is on-demand and does not depend on the search index, which routes usage away from rebuild_search_index/search_library. It does not explicitly name alternative tools for metadata or notes, but the context is clear enough.

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