Skip to main content
Glama

List the trash

zotero_list_trash
Read-onlyIdempotent

List the items currently in Zotero's trash, making it easy to identify which trashed items can be restored. Supports pagination, group libraries, and raw API output.

Instructions

List the items currently in Zotero's trash, which are the ones zotero_restore_items can bring back. Note that trashed collections do not appear here: Zotero's local API offers no way to enumerate them, so a trashed collection can only be restored by key or from the Zotero window.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of objects to return (1-500).
startNoZero-based offset for paging; pass the nextStart value from a previous call.
groupIdNoGroup library ID. Omit for the personal library ("My Library"), which is what almost every request wants. Group IDs come from zotero_list_libraries.
verboseNoReturn Zotero's raw API envelope (library block, self/alternate links, full meta) instead of the flattened object. Costs many extra tokens per object; only useful when a URL or the raw meta block is genuinely needed.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes
startYes
hasMoreYes
returnedYes
nextStartYes
totalResultsYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.1

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive behavior, so the safety profile is covered. The description adds meaningful behavioral detail beyond annotations: it reveals that only items appear, not collections, and explains a real API limitation. This is useful context an agent would not otherwise know.

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 sentences with no filler. The core purpose is front-loaded, and the critical limitation about collections is stated immediately after the main description, making the information easy to process.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only list operation with a complete input schema, an output schema, and safety annotations, the description is fully adequate. It covers the main use case, an important limitation, and how the results relate to restoration. Nothing essential is missing.

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 description coverage is 100%, with all four parameters already well documented in the input schema. The description adds no parameter-specific semantics, so a baseline score of 3 is appropriate.

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 states a specific verb and resource: 'List the items currently in Zotero's trash.' It also disambiguates from trashed collections, which is a key boundary that distinguishes this tool from collection-related siblings.

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?

It explicitly connects the output to zotero_restore_items ('which are the ones zotero_restore_items can bring back'), telling the agent when this tool is useful. It also provides an explicit exclusion for trashed collections and explains the only available restoration paths for those, preventing misuse.

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

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/dvdsosa/zotero-native-mcp'

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