Skip to main content
Glama

Get Annotations

get_annotations
Read-onlyIdempotent

List all highlights and annotations on a paper's PDF in Zotero. Use the item key to get annotations, with an optional limit for results.

Instructions

List all highlights and annotations on a paper's PDF.

Args: item_key: The Zotero item key (the parent item, not the attachment) limit: Maximum number of annotations to return (default 100)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
item_keyYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the description adds extra value by clarifying that item_key must be the parent item, not the attachment, and that limit caps the returned annotations. This is beyond what annotations provide.

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 one concise sentence followed by a clear Args list. No filler or repetition, and the key clarification about the parent item is front-loaded. Every sentence earns 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?

Given the output schema exists and the annotations are comprehensive, the description covers the essential aspects: purpose, parameters, and the parent-item nuance. Slight omission is that it says 'all' but the default limit is 100, which may confuse, though the parameter description mitigates this.

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%, but the description fully explains both parameters: item_key as 'the parent item, not the attachment' and limit as 'Maximum number of annotations to return (default 100)'. This completely compensates for the missing schema 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 'List all highlights and annotations on a paper's PDF' with a specific verb and resource. It distinguishes itself from siblings like update_annotation/delete_annotation by being the read operation, and the mention of 'PDF' clarifies it's about PDF annotations.

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 implied by the specific function description, but there is no explicit mention of alternatives or exclusions. It doesn't say 'use this instead of list_notes' or 'not for non-PDF items', leaving some ambiguity in a large sibling set.

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

Install Server

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

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