Skip to main content
Glama

Metis · Librarian — Sync Zotero Local

sync_zotero_local

Reads your local Zotero database to import library items without an API key or network. Works offline by directly accessing zotero.sqlite.

Instructions

Import a local Zotero library by reading zotero.sqlite directly (no API key).

The offline alternative to sync_zotero_library: reads your local Zotero
database file, so it works with no ZOTERO_API_KEY and no network. Items are
imported into literature_metadata (library_source='zotero-local'), the same
table the Librarian and search_library use.

Args:
    db_path: Path to zotero.sqlite. If empty, Metis searches common locations
             (~/Zotero/zotero.sqlite, and /mnt/c/Users/*/Zotero on WSL).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
db_pathNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description must fully disclose behavior. It notes that the tool reads the database directly (no modifications stated) and imports into literature_metadata with library_source='zotero-local'. However, it does not mention whether imports are appended or deduplicated, nor error handling or side effects.

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?

The description is brief (three sentences) and front-loaded with the core action. It includes a separate 'Args' section for parameter details, making it easy to scan.

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?

Given a single parameter and the presence of an output schema (not shown), the description covers the essential: purpose, alternative, parameter behavior, and target table. It could mention overwrite vs. append, but overall it is complete enough.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 0% description coverage with only type and default. The description compensates by explaining db_path meaning and fallback behavior when empty, adding significant value beyond the schema.

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 clearly states the tool imports a local Zotero library by reading zotero.sqlite directly, with no API key or network needed. It explicitly distinguishes the tool from its sibling sync_zotero_library by calling it 'the offline alternative'.

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?

The description explains when to use this tool (no network, no API key) and contrasts it with sync_zotero_library. It also details the db_path parameter and the fallback search behavior. It lacks an explicit 'when NOT to use' but the context is implied.

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

Install Server

Other Tools

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/SVerITG/Metis'

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