Skip to main content
Glama

Run a saved search

zotero_run_saved_search
Read-onlyIdempotent

Run a saved Zotero search and retrieve matching items from your local library. Results match what Zotero shows in its interface.

Instructions

Execute a saved search and return the matching items. The search runs against the local database using Zotero's own engine, so the results match what the saved search shows in the Zotero UI.

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.
searchKeyYesSaved search key, from zotero_list_saved_searches.

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

A3.9/5.0
Behavior4/5

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

Annotations already declare the operation read-only and idempotent. The description adds useful behavioral context beyond that: the search executes against the local database using Zotero's own engine, and results match what the saved search shows in the Zotero UI. This helps set expectations about fidelity and scope.

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 wasted words. The first sentence states the core operation, and the second provides the key behavioral guarantee. Information is front-loaded and easy to scan.

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?

Given the strong annotations, complete parameter schema, and existence of an output schema, the description is sufficient. It adds the only context not already represented in structured metadata: local execution and UI-matching results. Nothing essential is missing for an agent to invoke this tool correctly.

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%, and each parameter already has a meaningful description, including searchKey origin, paging semantics, and verbose token cost. The description adds no parameter-level information, which is acceptable given the rich schema.

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?

The description clearly states the verb ('Execute') and resource ('a saved search'), and clarifies that it returns matching items. It distinguishes from ad-hoc searching by focusing on saved searches and Zotero's own search engine, though it does not explicitly name a sibling alternative.

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 intended use is implied: run this when you want to execute an existing saved search and get its results. However, there is no explicit statement about when to use this tool versus zotero_search_items, nor any when-not guidance beyond the existence of a saved search key.

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