Skip to main content
Glama

export_bibliography

Read-only

Generate formatted reference lists or in-text citations, plus portable CSL-JSON or BibTeX exports, from Zotero item keys using a chosen citation style.

Instructions

Generate formatted bibliography/citation entries or portable export data for one or more items. Read-only.

keys: item keys (see search_items/get_item). Keys not found in the library are simply absent from the result -- not an error. style: a Zotero/CSL style ID (e.g. "apa", "modern-language-association", "chicago-note-bibliography") -- only used when format is "bibliography" or "citation"; ignored otherwise. An unknown style raises an error naming the problem. format: "bibliography" (default) -- HTML reference-list entries, one per found key, in style. "citation" -- HTML in-text citations, one per found key, in style. "csljson" -- structured CSL-JSON, one object per found key -- portable, importable into other reference managers or format converters. "bibtex" -- one combined BibTeX text blob covering all found keys, ready to paste into a LaTeX project.

Returns content, whose type depends on format: a list of strings for "bibliography"/"citation", a list of objects for "csljson", or a single string for "bibtex".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keysYes
styleNoapa
formatNobibliography
Behavior5/5

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

Beyond the readOnlyHint annotation, the description discloses important behaviors: missing keys are silently omitted, unknown styles raise an error, and the return type varies by format. This adds substantial context about error handling and output structure, going well beyond the annotations.

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-organized with a clear opening summary followed by a structured breakdown of each parameter. It is detailed yet every sentence adds value, and the formatting makes it easy to scan. The length is appropriate for the tool's complexity.

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?

Given the absence of an output schema, the description thoroughly explains the output content for each format, including types and examples. It covers edge cases (missing keys, unknown styles) and the tool's behavior in different contexts, making it complete for an agent to select and invoke correctly.

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?

With 0% schema description coverage, the description fully compensates by explaining each parameter: keys (with source reference), style (with examples and ignored conditions), and format (with detailed behavior for each value). It also clarifies the return structure, making the parameters highly understandable.

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's function: 'Generate formatted bibliography/citation entries or portable export data for one or more items.' It uses a specific verb and resource, and the read-only nature is explicitly noted. This distinguishes it from sibling tools like create_item or get_item.

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 provides clear usage context by explaining the available formats and when style is used/ignored. It also references search_items/get_item for obtaining keys, implying a workflow. However, it doesn't explicitly mention when not to use this tool or compare it to alternatives, so it falls short of a perfect score.

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/herbertkokholm/cite-caddy'

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