Skip to main content
Glama

Add an item to Zotero from a DOI

zotero_add_by_doi

Resolve a DOI via Crossref and add the reference to your Zotero library, with optional collection, tags, and dry-run preview.

Instructions

Look a DOI up on Crossref and save the resulting item to Zotero.

Args: doi: The DOI, with or without the https://doi.org/ prefix. collection_key: Optional collection to file the new item in. tags: Optional comma-separated tags to apply. dry_run: Fetch and show the metadata without writing anything.

Returns: A confirmation carrying the new item key and an APA 7th rendering of what was saved.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
doiYes
tagsNo
dry_runNo
collection_keyNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

The description adds meaningful behavioral context beyond the annotations: it explains the Crossref lookup, the dry_run option that 'fetch and show the metadata without writing anything,' and the confirmation return with the new item key and APA rendering. This is helpful for an agent deciding whether a write will occur.

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 compact and well-structured: a one-sentence summary followed by a clear Args section and Returns section. Every sentence adds information, with the most important action stated first and parameter details neatly organized.

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 tool with four straightforward parameters and no nested objects, the description covers the purpose, parameter semantics, dry-run behavior, and return format. Nothing necessary for correct invocation is missing, and the output schema is also available for additional detail.

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

Parameters5/5

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

The input schema provides only parameter titles with 0% description coverage, but the description fully compensates by explaining every parameter: doi with or without the https://doi.org/ prefix, optional collection_key, tags as comma-separated, and dry_run as a fetch-only mode. This gives the agent all details needed to construct valid arguments.

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 uses a specific verb and resource: 'Look a DOI up on Crossref and save the resulting item to Zotero.' It clearly distinguishes this tool from the sibling zotero_add_item by identifying the DOI-lookup mechanism as the defining feature.

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 clearly implies the usage context: use when you have a DOI and want to add the corresponding item to Zotero. It does not explicitly name alternatives or exclusions, such as using zotero_add_item for manual entry, but the DOI-focused action provides clear context.

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