Skip to main content
Glama

Export citations for selected items

zotero_export_citations
Read-only

Generate formatted citations from Zotero item keys in APA, BibTeX, or CSL-JSON, ready to paste into manuscripts or reference managers.

Instructions

Render one or more items as formatted citations.

Args: item_keys: One item key, or several separated by commas. style: "apa" for an alphabetised APA 7th reference list with hyperlinked DOIs, "apa-intext" for parenthetical citations, "bibtex" for a .bib fragment, or "csl-json" for CSL-JSON.

Returns: The formatted citations, ready to paste into a manuscript or a reference manager.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
styleNoapa
item_keysYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, covering the safety profile. The description adds useful behavioral context by specifying the exact citation formats produced, including APA 7th with hyperlinked DOIs, in-text parentheticals, BibTeX, and CSL-JSON.

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, front-loaded with the core purpose, and organized clearly into Args and Returns. Every sentence contributes necessary information, with no filler or repetition.

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 two-parameter read-only tool with an output schema, this description is complete: it explains both parameters, gives valid style values, states the return purpose, and is consistent with the read-only annotations. No important calling-time information is missing.

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 description coverage is 0%, but the description fully compensates: item_keys is defined as one key or comma-separated keys, and style is defined with every supported value and its meaning. An agent can construct valid calls without needing additional external knowledge.

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?

The lead sentence 'Render one or more items as formatted citations' names a concrete action and resource, and the style list makes the purpose tangible. It does not explicitly differentiate from the sibling zotero_export_collection_bibliography, but the item_keys focus implies item-level rather than collection-level export.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description clearly implies the tool is for producing ready-to-paste citations from specific item keys, and it enumerates style choices. However, it does not explicitly state when to prefer this over zotero_export_collection_bibliography or give any when-not-to-use guidance, leaving the alternative selection to inference.

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