Skip to main content
Glama

Search every saved library object

list_library_objects
Read-only

Search and paginate across the account's saved items, standalone notes, and highlights through one corpus. Uses the same Postgres matching as the app and REST API; approximate=true identifies spelling recovery. Returns stable refs for get_library_object. Use list_library when you specifically need item lifecycle filters or reading history.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum objects to return in this page, from 1 to 100. Defaults to 50.
queryNoFull-text search across saved items, notes, and highlights; omit to list the whole corpus.
typesNo
cursorNoOpaque page token: pass the previous response's nextCursor verbatim and never construct one.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
totalYes
objectsYes
partialYes
nextCursorYes
approximateNo
matchedTermsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / cursor / description
      Added value: +"Opaque page token: pass the previous response's nextCursor verbatim and never construct one."
    • addedInput schema / properties / limit / description
      Added value: +"Maximum objects to return in this page, from 1 to 100. Defaults to 50."
    • addedInput schema / properties / query / description
      Added value: +"Full-text search across saved items, notes, and highlights; omit to list the whole corpus."
  2. Changed2 schema fields changed
    • addedInput schema / properties / limit / multipleOf
      Added value: +1
    • changedInput schema / properties / limit / type
      Previous value: -"integer"New value: +"number"
  3. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/destructiveHint=false. Description adds valuable context: same Postgres matching as the app and REST API, approximate=true for spelling recovery, and stable refs for downstream retrieval. Goes beyond annotation-level safety info.

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?

Three dense sentences, front-loaded with the core action, followed by behavioral context and sibling routing. No filler, though slightly packed.

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?

Output schema exists, so return values need not be described. Covers corpus scope, matching semantics, cursor stability, and sibling routing. The types enum values remain unexplained, a minor gap for a 4-param tool.

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?

Schema coverage is 75%, and cursor/limit/query are well-documented in the schema. The types parameter lacks a schema-level description and the description does not explain the item/note/highlight values. Baseline 3 given the schema carries most of the load.

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 (search/paginate) and resource (corpus of saved items, notes, highlights). The sibling routing sentence distinguishes it from list_library, though several other siblings (search_saved_item, get_library_object) are not addressed.

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?

Explicitly names the alternative list_library and the condition that selects it (lifecycle filters/reading history), and references get_library_object as the follow-up for returned refs. No explicit when-not guidance beyond list_library, but the routing is clear.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources