Skip to main content
Glama

Look up cited works

look_up_citations
Read-only

Verifies cited bibliography entries against public catalogues to catch broken, mismatched, or fabricated references, and finds BibTeX entries from DOIs, arXiv IDs, or title queries.

Instructions

Look up bibliography entries in public catalogues; action picks what. verify, the default, looks up the entries a document cites, or the keys given, to catch references that point at the wrong work or at nothing, such as a mistyped DOI or a citation made up by a model. An entry with a DOI is resolved through doi.org (Crossref, DataCite and mEDRA DOIs), one with an arXiv id through arXiv's API, and any other through a Crossref title search; the registered title must match the entry's. verify sends each looked-up entry's DOI, arXiv id, or title, first author and year to those services, and nothing else from the project. It returns a verdict line, then entries whose DOI or arXiv id does not resolve or names a different title, then entries no search could confirm, which is weaker evidence because books, theses and web pages are often not in Crossref, then the confirmed ones. check_references finds cited keys with no entry at all; verify checks the entries that exist. find turns each query into a BibTeX entry: a DOI through doi.org, an arXiv id through arXiv, and words through a Crossref search that offers up to 3 matches to choose from. find sends the queries as given and nothing from the project. Its keys avoid every key in the project's .bib files, and a work the bibliography already holds is named with its key. find writes nothing; add the entries chosen with edit_file. arXiv allows one request every three seconds, so arXiv lookups are slow, and a call stops starting lookups after 45 seconds and names what it did not reach. Both actions pull from Overleaf first and read the project's files in the clone.

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

Input Schema

NameRequiredDescriptionDefault
keysNoverify only: citation keys to look up, cited or not. Omit to look up the cited entries in citation order.
actionNoWhat to do (default "verify"): verify checks the entries a document cites against public catalogues; find turns DOIs, arXiv ids or words from a title into BibTeX entries.verify
projectNoWhich project to use: its Overleaf address, its 24-character id, or a registered project name. Omit to use the default project.
queriesNofind, required: 1 to 20 works to find, each a DOI, an arXiv id, or words from the title, optionally with an author and a year.
mainTexFileNoverify only: root document whose citations to look up, as a path in the project, e.g. main.tex. Omit for the main document.
maximumEntriesNoverify only: look up at most this many entries, between 1 and 100 (default 30); the reply says how many were left.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds substantial context beyond them — exactly what leaves the machine (DOI, arXiv id, title, first author, year, "and nothing else from the project"), the per-service routing (doi.org for Crossref/DataCite/mEDRA, arXiv API, Crossref title search), the rate limit (one arXiv request every three seconds), and the 45-second cap that names what was not reached. It also discloses the return ordering and that unconfirmed entries are weaker evidence because books, theses and web pages are often not in Crossref.

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

Conciseness3/5

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

Purpose is front-loaded, but the body is a single dense block of semicolon-chained sentences covering verify, find, side effects, rate limits and truncation in one wall of prose. Nearly every clause carries information, yet the lack of structure (no separation of the two actions or the constraints) makes it harder to scan than its content warrants.

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 six-parameter, two-mode tool with no output schema, the description covers everything an agent needs: mode selection, data sent externally, result ordering, failure modes, timeouts, and the fact that nothing is written. No return-shape explanation is required since it describes the verdict-line ordering in prose.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description goes modestly further by tying parameters to action semantics — keys as "the entries a document cites, or the keys given" under verify, queries as "the queries as given" under find, and the truncation behavior behind maximumEntries ("names what it did not reach"). It does not add syntax or format detail beyond the schema, so it does not reach a 5.

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 and resource ("Look up bibliography entries in public catalogues") and immediately splits it into the two concrete modes, verify and find, with what each does. It also explicitly distinguishes itself from the sibling check_references ("check_references finds cited keys with no entry at all; verify checks the entries that exist"), so an agent can route without opening a schema.

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

Usage Guidelines5/5

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

States the when for both actions and names the alternative for the adjacent job: verify for catching wrong/mistyped/fabricated references on entries that exist, check_references for cited keys with no entry, find for turning DOIs/arXiv ids/titles into BibTeX. It also gives the follow-up step ("find writes nothing; add the entries chosen with edit_file"), which closes the loop on the workflow.

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