Skip to main content
Glama
CrossRef MCP Server

CrossRef MCP Server

BibTeX entries

fetch_bibtex
Read-only

Retrieve BibTeX entries for DOIs or arXiv IDs and format them for .bib files with unique citation keys and clear failure comments.

Instructions

BibTeX entries of one or more papers or books, ready for a .bib file: @article, @book, or @misc for a preprint; authors as "Family, Given" with accents in LaTeX; the journal abbreviated; title math in LaTeX; pages or article number; DOI, and the arXiv eprint when known. Citation keys are FamilyYearThreeTitleWords (Macri2022SpontaneousScatteringRaman), unique within the call and against taken_keys. Ids that fail, or name a work already listed, are % comments before the entries.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "ids": "<ids>"
    },
    "name": "fetch_bibtex"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYesOne or more ids, each a DOI (10.1103/PhysRevLett.129.273602, doi:…, https://doi.org/…) or arXiv id (2207.09470, arXiv:2207.09470v2, quant-ph/0101001, an arxiv.org link)
taken_keysNoCitation keys already in the .bib file: a new entry with the same key gets a letter (Keya)
expand_initialsNoWrite out initials ("J. R.") from the author's public ORCID record, when it is the same person

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.2

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, openWorldHint), but the description adds real behavior the annotations do not: failed or duplicate ids are emitted as % comments ahead of the entries rather than erroring, citation keys are guaranteed unique within the call, and keys colliding with taken_keys are disambiguated. That partial-failure contract is exactly the kind of detail an agent needs before calling. It stops short of stating rate limits or whether some ids can succeed while others fail wholesale.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Densely packed but front-loaded: the purpose leads, and the long clause enumerating output fields is a deliberate specification of the return format rather than filler. The final sentence about failed/duplicate ids as comments is slightly buried and would read better positioned before the formatting catalogue.

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?

There is no output schema, so the description carries the full burden of describing returns — and it does, listing entry types, name inversion with LaTeX accents, journal abbreviation, math handling, page/article number, DOI and eprint. Combined with the explicit partial-failure semantics and key-collision rules, an agent can predict both the payload and the edge-case behavior without trial calls.

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

Parameters3/5

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

Schema coverage is 100%, so the schema already documents all three parameters including the accepted id formats and the expand_initials ORCID behavior, putting this at the baseline. The description adds modest surplus: "unique within the call and against taken_keys" clarifies that collision handling happens automatically without the caller pre-resolving keys, but the letter-suffix outcome is already spelled out in the schema.

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?

Opens with a specific verb+resource+scope: "BibTeX entries of one or more papers or books, ready for a .bib file." The enumerated output facets (@article/@book/@misc, author formatting, journal abbreviation, math, DOI/arXiv) make it immediately distinguishable from fetch_metadata and fetch_references, which cannot promise .bib-ready output.

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?

Usage is strongly implied by "ready for a .bib file" and by the taken_keys collision behavior, which tells the agent this tool is meant to append to an existing bibliography. However, the description never names a condition that selects it over fetch_metadata or fetch_references, and gives no when-not guidance (e.g., how to get human-readable citation text).

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

Deploy Server

Other Tools