Skip to main content
Glama
Zotero MCP
by 54yyyu

Zotero Export Bibliography

zotero_export_bibliography

Export reference lists, in-text citations, or BibTeX from Zotero using CSL styles, selecting items by key or collection.

Instructions

Format references with Zotero's CSL engine. item_keys: up to 100 item keys (takes precedence); or collection_key; neither exports the active library's top-level items. style: a CSL style short name (default 'apa'; e.g. 'modern-language-association', 'chicago-note-bibliography', 'ieee'). export_format: 'bib' (reference list, default), 'citation' (in-text citations) or 'bibtex'.

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

Input Schema

NameRequiredDescriptionDefault
styleNoapa
item_keysNo
export_formatNobib
collection_keyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.17.3
    • removedInput schema / properties / collection_key / default
      Removed value: -null
    • removedInput schema / properties / item_keys / default
      Removed value: -null
  2. Changed10 schema fields changedv0.16.0
    • removedInput schema / properties / collection_key / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / collection_key / description
      Removed value: -"Optional collection to export."
    • addedInput schema / properties / collection_key / type
      Added value: +"string"
    • removedInput schema / properties / export_format / description
      Removed value: -"\"bib\", \"citation\", or \"bibtex\"."
    • removedInput schema / properties / item_keys / anyOf
      Removed value: -[
      -  {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / item_keys / description
      Removed value: -"Optional list of item keys (or JSON/comma string)."
    • addedInput schema / properties / item_keys / items
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / item_keys / type
      Added value: +"array"
    • removedInput schema / properties / style / description
      Removed value: -"CSL style short name (default \"apa\")."
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "result": {
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "result"
      -  ],
      -  "type": "object",
      -  "x-fastmcp-wrap-result": true
      -}New value: +null
  3. Addedv0.6.0

TDQS

A4.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose the formatting engine, defaults (apa, bib), the 100-key cap, and the fallback scope of the active library's top-level items. It never explicitly characterizes this as a read-only, non-destructive operation, nor does it describe what comes back (a formatted string, a list, per-item output).

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?

A single dense block that front-loads the action and then walks each parameter in a compact label:value rhythm. Nothing is repeated and no sentence is filler, despite the definition being packed with operational detail.

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 four-parameter, no-annotation, no-output-schema tool, the description covers everything an agent needs to construct a valid call, including precedence and defaults. The only real gap is the absence of any hint about the response shape for the three export formats.

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?

Schema coverage is 0%, so the description must compensate, and it does: all four parameters are explained with meaning beyond the bare types, including item_keys' precedence and 100-item ceiling, style's default and example short names, and the meaning of each export_format enum value.

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?

States a specific verb and resource: format references with Zotero's CSL engine. No sibling tool performs bibliography export, so the purpose is unambiguous, and the description goes on to name the three output shapes (reference list, in-text citation, BibTeX).

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?

It gives precise selection logic among the two item sources: item_keys takes precedence, otherwise collection_key, and with neither the active library's top-level items are used. What it does not do is say when to reach for this tool rather than a search/read sibling, so there is context but no explicit exclusions.

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