Skip to main content
Glama
Paper Distill MCP Server

Paper Distill MCP Server

by Eclipse-Cj

Collect To Zotero

collect_to_zotero

Add papers to your Zotero library by DOI or paper ID, automatically enriching metadata and mapping items to topic-based collections.

Instructions

Add papers to Zotero library by their IDs/DOIs.

IMPORTANT: Always use this tool to add papers to Zotero. NEVER call the Zotero Web API directly or generate scripts (PowerShell, curl, etc.) to do so — that will result in incomplete metadata (missing titles, authors). This tool handles full metadata enrichment automatically.

Looks up papers in papers.jsonl, creates Zotero journal article items and maps them to collections based on topic tags.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "paper_ids": "<paper_ids>"
    },
    "name": "collect_to_zotero"
  }
}

Input Schema

NameRequiredDescriptionDefault
paper_idsYesList of paper DOIs or IDs to add to Zotero

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removedv0.2.2
  3. First observedv0.2.4

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does disclose real behavior: automatic metadata enrichment, creation of journal article items, and side-effect mapping into collections by topic tag. It omits duplicate handling, permission/auth requirements, and what happens when an ID is not found in papers.jsonl, which keeps it from a 5.

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?

Purpose is front-loaded in the first line, and the anti-pattern warning is separated into its own block so it does not bury the core statement. The multi-sentence justification for the warning is somewhat padded, but every part is actionable.

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?

For a one-parameter mutation tool without annotations, the description covers what it creates and how items are filed, and an output schema exists so return values need no explanation. Gaps around duplicate behavior and missing-ID failure modes are the main remaining holes.

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?

Single required parameter with 100% schema description coverage, so the schema already documents 'paper DOIs or IDs'. The description echoes that vocabulary but adds no format, batch-size, or validation detail beyond the schema, making the baseline 3 appropriate.

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 and resource — 'Add papers to Zotero library by their IDs/DOIs' — plus the mechanism (papers.jsonl lookup, journal article creation, collection mapping). It does not explicitly distinguish itself from siblings like 'collect' or 'add_topic', so it falls short of a 5.

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?

'Always use this tool to add papers to Zotero' plus the explicit warning against calling the Web API or generating scripts gives strong when-to-use guidance. It implicitly requires the paper to already exist in papers.jsonl, but never states that prerequisite or any when-not condition (e.g., deduplication).

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