Skip to main content
Glama
arxiv-query-mcp

arxiv-query-mcp

by LWaetzig

Get arXiv paper metadata

arxiv_get_paper
Read-onlyIdempotent

Fetch full metadata for a specific arXiv paper by ID, including authors, abstract, categories, dates, DOI, journal reference, and direct abstract, PDF, and HTML links.

Instructions

Retrieve full metadata for a specific arXiv paper by its ID.

Returns complete information: title, all authors, full abstract, categories, dates, journal reference, DOI, and direct links to abstract, PDF, and HTML.

Args: params (GetPaperInput): - paper_id (str): arXiv ID, e.g. '2303.08774', '1706.03762v2', or old-style 'hep-th/9901001'. A version suffix selects that version; without one the latest version is returned. - response_format (str): markdown | json

Returns: str: Full paper metadata.

JSON schema when response_format='json':
{ "id", "version", "title", "authors", "abstract", "published",
  "updated", "primary_category", "categories", "abstract_url", "pdf_url",
  "html_url", "comment", "journal_ref", "doi" }

Examples: - Attention Is All You Need: paper_id='1706.03762' - GPT-4 technical report: paper_id='2303.08774' - AlphaFold: paper_id='2108.10991'

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": {
      "params": "<params>"
    },
    "name": "arxiv_get_paper"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.2.0
    • changedInput schema / $defs / GetPaperInput / properties / paper_id / description
      Previous value: -"arXiv paper ID, e.g. '2303.08774' or '2303.08774v2' or 'hep-th/9901001'"New value: +"arXiv paper ID or URL, e.g. '2303.08774', 'hep-th/9901001' or '2303.08774v2'. A version suffix selects that version; without one the latest version is returned."
  2. First observedv0.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world, so the safety profile is covered. The description adds genuinely useful behavior beyond that: the version-suffix rule ('a version suffix selects that version; without one the latest version is returned') and a full enumeration of the returned fields, which annotations alone do not convey.

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?

It is front-loaded with purpose, then args, returns, and examples in a scannable structure, and the examples are genuinely helpful for ID formatting. There is mild redundancy: the return fields are enumerated both in prose and in a JSON key list, and an output schema already exists to supply that shape.

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?

For a single-purpose, read-only lookup with rich annotations and an output schema, the definition covers everything needed to invoke it correctly: ID formats, version behavior, and output format selection. The only excess is restating the JSON return shape that the output schema presumably defines.

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?

The reported schema coverage is low, so the description must carry the burden, and it does: paper_id is explained with three concrete ID styles plus the versioning rule, and response_format is documented as markdown | json. The paper_id explanation largely duplicates the schema text rather than extending it, keeping this below a 5.

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 opens with a specific verb+resource+scope: 'Retrieve full metadata for a specific arXiv paper by its ID.' That clearly separates it from arxiv_fetch_paper_text (which returns text, not metadata) and from search/list tools, although it never names a sibling explicitly, leaving the differentiation implicit.

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 'use this when you already have a paper ID and want metadata rather than full text,' but the description never says when to prefer this over arxiv_fetch_paper_text, arxiv_related_papers, or arxiv_search, nor does it state prerequisites such as needing a valid ID or URL form.

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