Skip to main content
Glama
Zotero MCP
by 54yyyu

Zotero Get Notes

zotero_get_notes

List notes for a library or item, search note and annotation text, and retrieve full bodies or raw HTML for editing.

Instructions

Read notes in the active library. Without query it LISTS notes: an item's child notes with item_key, else notes library-wide. With query it SEARCHES note and annotation text (case-insensitive substring, library-wide, so not with item_key). limit: default 20. truncate=False returns whole bodies (list mode). raw_html=True returns the note's HTML, for editing and passing back to zotero_manage_note(action='update').

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "zotero_get_notes"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo
item_keyNo
raw_htmlNo
truncateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.17.3
    • removedInput schema / properties / item_key / default
      Removed value: -null
    • removedInput schema / properties / query / default
      Removed value: -null
  2. Changed7 schema fields changedv0.16.0
    • removedInput schema / properties / item_key / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / item_key / type
      Added value: +"string"
    • removedInput schema / properties / limit / anyOf
      Removed value: -[
      -  {
      -    "type": "integer"
      -  },
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / limit / type
      Added value: +"integer"
    • removedInput schema / properties / query / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / query / type
      Added value: +"string"
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "result": {
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "result"
      -  ],
      -  "type": "object",
      -  "x-fastmcp-wrap-result": true
      -}New value: +null
  3. Changed5 schema fields changedv0.9.0
    • removedInput schema / properties / item_key / description
      Removed value: -"Optional Zotero item key/ID to filter notes by parent item"
    • removedInput schema / properties / limit / description
      Removed value: -"Maximum number of notes to return"
    • addedInput schema / properties / query
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
    • removedInput schema / properties / raw_html / description
      Removed value: -"If True, return the note's raw HTML instead of stripped text.\nUseful for fetching exact content to pass to zotero_update_note."
    • removedInput schema / properties / truncate / description
      Removed value: -"Whether to truncate long notes for display"
  4. Addedv0.4.1

TDQS

A4.6/5.0
Behavior4/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 well: it discloses case-insensitive substring matching, library-wide search scope, the mutual exclusivity of query and item_key, the default limit of 20, and that truncate=False returns whole bodies only in list mode. It omits result ordering, pagination behavior, and any permission/auth context, which keeps it short of a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core purpose, then mode selection, then parameter notes. No filler sentences. It is dense and slightly telegraphic ('limit: default 20'), which hurts readability marginally but not correctness.

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 five-parameter read tool with no annotations and no output schema, the description covers nearly everything needed to invoke it correctly, including the interaction between query and item_key. Minor gaps remain: whether limit applies in search mode, result ordering, and what an empty result looks like.

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 compensate for all five parameters, and it does: query (substring search over note and annotation text, library-wide), item_key (an item's child notes), limit (default 20), truncate (default truncates; False returns full bodies in list mode), and raw_html (returns HTML intended for editing/re-submission). Each parameter gains meaning beyond its type.

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?

States a specific verb and resource ('Read notes in the active library') and immediately distinguishes the two operating modes: listing child notes of an item_key versus listing library-wide, and searching versus listing. An agent can tell this apart from zotero_get_annotations or zotero_manage_note without opening the schema.

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?

Explicit conditional guidance: 'Without query it LISTS... With query it SEARCHES', plus the exclusion that query is library-wide 'so not with item_key'. It also names the downstream use case for raw_html, routing the agent to zotero_manage_note(action='update'). Little is left to inference about mode selection.

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