Skip to main content
Glama
zotero-local-api-mcp

zotero-local-api-mcp

by Matcraft94

search_items

Search a local Zotero library by text, tag, item type, or collection to locate references and metadata; leave the query empty to list recent items.

Instructions

Search the local Zotero library by text (q), tag, item type and/or collection. Empty q lists recent items.

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": "search_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNo
tagNo
limitNo
item_typeNo
collection_keyNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description must carry the full burden; it does disclose the scope limitation ('local' library) and the empty-q fallback behavior, which are genuinely useful. It omits the mutation/read-only profile, result ordering, and what role the limit parameter plays, so behavioral disclosure is partial.

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 short sentences, front-loaded with the core action and filter set, with the edge-case behavior appended. No filler, no restatement of the tool name.

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

Completeness3/5

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

An output schema exists, so return values needn't be explained, and the description covers the primary filters adequately. For a five-parameter tool with zero annotation and zero schema-description coverage, the unexplained limit parameter and filter-combination semantics leave a real gap.

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 0% — parameters carry only bare titles like 'Q' and 'Collection Key' with defaults. The description rescues four of five by mapping q to text search, plus tag, item_type, and collection filters, but says nothing about limit or about collection_key expecting a key rather than a collection name.

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?

Names a specific verb+resource ('Search the local Zotero library') and enumerates the four filter dimensions (text, tag, item type, collection), which is far more informative than a bare name. It stops short of explicitly distinguishing itself from siblings like list_collection_items or list_tags, leaving that boundary to be inferred.

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 filter list, and the note 'Empty q lists recent items' gives one concrete usage pattern for browsing. There is no explicit guidance on when to prefer get_item / list_collection_items over this search, nor on how the filters combine (AND vs OR).

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