Skip to main content
Glama
xbghc

@xbghc/zotero-mcp

by xbghc

Export Bibliography

export_bibliography

Export Zotero items as formatted bibliographies or citation data in BibTeX, RIS, or CSL JSON, with styles like APA or IEEE. Select items by collection, tag, query, or keys; output is saved to a file.

Instructions

Export items as formatted bibliography or citation data.

Selection methods (use ONE):

  • itemKeys: Export specific items by their keys

  • collectionKey: Export all items in a collection

  • tag: Export all items with a specific tag

  • query: Export items matching a search query

  • exportAll: Export entire library (use with caution for large libraries)

Formats:

  • bibtex: BibTeX format for LaTeX

  • ris: RIS format for reference managers

  • csljson: CSL JSON for citation processors

  • bibliography: Formatted citation text (use 'style' parameter)

Common styles for bibliography: apa, chicago-author-date, ieee, vancouver, harvard

Output: Content is always saved to a file (to avoid flooding the conversation with large exports). Returns file path and summary.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagNoExport all items with this tag
limitNoMaximum items to export (default 100, max 500, ignored when exportAll=true)
queryNoExport items matching this search query
styleNoCitation style for bibliography format (e.g., apa, chicago-author-date, ieee)
formatYesExport format
itemKeysNoSpecific item keys to export
exportAllNoExport entire library (may be slow for large libraries)
outputPathNoFile path to save the export. If not specified, saves to /tmp/zotero-export-{timestamp}{ext}
collectionKeyNoExport all items in this collection
Behavior4/5

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

No annotations are provided, so the description carries the burden. It discloses a key behavioral trait: 'Content is always saved to a file... Returns file path and summary.' It also warns about exportAll being slow. However, it does not state whether the operation is read-only or mention any side effects beyond file creation.

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 well-structured with bold section headers and bullet lists. Every sentence adds useful context, and it is front-loaded with the purpose. The length is appropriate for a tool with nine parameters and several format options.

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?

The description covers selection methods, formats, common styles, and the file-output behavior, which is comprehensive for an export tool. It lacks details about what happens when multiple selection methods are supplied or what the 'summary' contains, but the schema handles parameter defaults and constraints.

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?

Schema coverage is 100%, providing baseline 3. The description adds value by grouping parameters into 'Selection methods' and 'Formats', and by giving common bibliography styles. It does not describe the coins, refer, or tei format options from the schema enum, but the main parameters are enriched with practical usage guidance.

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 first sentence states 'Export items as formatted bibliography or citation data', which is a specific verb+resource+result. It clearly distinguishes this tool from sibling tools like get_item or search_items by focusing on formatted output creation.

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 explicitly says 'Selection methods (use ONE)' and lists the available methods, plus cautions 'use with caution for large libraries' for exportAll. It provides clear context for when to use each selection method, though it does not explicitly mention alternative sibling tools or exclusions.

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/xbghc/zotero-mcp'

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