Skip to main content
Glama

get_bibtex

Returns a correct BibTeX entry for a given DOI, built from Crossref or OpenAlex metadata, so you can fix or replace erroneous references in your bibliography.

Instructions

Return a correct BibTeX entry for a DOI, built from Crossref (or OpenAlex) metadata.

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": {
      "doi": "<doi>"
    },
    "name": "get_bibtex"
  }
}

Input Schema

NameRequiredDescriptionDefault
doiYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/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 disclosure burden; it does usefully reveal the underlying data sources (Crossref with OpenAlex fallback), which hints at resolution behavior and resilience. It is silent on failure modes for unresolvable DOIs, authentication or rate-limit constraints, and whether results are cached, leaving meaningful gaps for a network-backed lookup tool.

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 front-loaded sentence with the action, output artifact, input, and data source; no filler or redundancy.

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?

An output schema exists, so return-value detail is unnecessary, and the description covers purpose, input role, and metadata source for a one-parameter tool. The remaining omission is error/edge-case behavior for invalid or unfound DOIs.

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 0%, so the description must compensate for the single 'doi' parameter. It adds real meaning by indicating the DOI identifies a work whose metadata is fetched from Crossref/OpenAlex, but it does not specify the expected DOI form (bare '10.x/...' versus a URL) or whether prefixes are tolerated.

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 description gives a specific verb and artifact ("Return a correct BibTeX entry") plus the key input ("for a DOI"), which is clearly distinct from sibling tasks like verify_reference or search_literature. It does not explicitly contrast itself with those siblings, so it stops short of a 5.

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 only implied: an agent can infer this is the tool for turning a known DOI into a BibTeX record. There is no explicit statement of when to prefer it over check_references or verify_reference, and no stated preconditions (e.g., DOI must already be resolved or valid).

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