Skip to main content
Glama
Zotero MCP Server

Zotero MCP Server

by drxaibi

get_item_annotations

Retrieve PDF highlights, comments, and notes from a Zotero item's attachments to identify which parts of a paper the user marked as important.

Instructions

Get PDF annotations (highlights, comments, notes) from an item's attachments. Useful for understanding what parts of a paper the user found important.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "itemKey": "<itemKey>"
    },
    "name": "get_item_annotations"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemKeyYesThe unique key of the Zotero item

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?

With no annotations supplied, the description must carry the behavioral burden. It does disclose the data source (an item's attachments) and the kinds of records returned, implying a read-only operation, but it does not state what happens for items lacking PDF attachments, whether all attachments are traversed, or how results are structured.

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 short sentences, front-loaded with the action and resource, then the motivating use case. No filler, no repetition of the tool name, nothing that fails to earn its place.

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 simple one-parameter read tool with no output schema, the description covers source, content types, and intent, which is enough to call it correctly. Only minor details (aggregation across multiple attachments, handling of items with no PDFs) are absent.

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?

There is a single parameter (itemKey) and schema description coverage is 100%, so the schema already fully documents it. The description adds no format, key-shape, or lookup details beyond the schema, so the high-coverage baseline of 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 and resource ('Get PDF annotations') and enumerates the content types (highlights, comments, notes), plus the source ('from an item's attachments'). That parenthetical scope implicitly separates it from siblings like get_item_notes (item notes) and get_item_fulltext, though no sibling is named explicitly.

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?

The sentence 'Useful for understanding what parts of a paper the user found important' gives an implied use case, but there is no explicit when-to-use/when-not guidance and no routing against alternatives such as get_item_notes or search_fulltext. An agent must infer the choice from the purpose sentence alone.

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