Skip to main content
Glama
arxiv-query-mcp

arxiv-query-mcp

by LWaetzig

Find related papers

arxiv_related_papers
Read-onlyIdempotent

Find papers similar to, cited by, or citing a known arXiv paper using Semantic Scholar, including non-arXiv results with authors, year, citations, and links.

Instructions

Find papers related to a known arXiv paper: similar, cited, or citing.

arXiv has no citation or similarity data, so this tool uses Semantic Scholar. Results can include papers that are not on arXiv (they have no arXiv ID and link to Semantic Scholar instead). Very new preprints may not be indexed yet.

Args: params (RelatedPapersInput): - paper_id (str): arXiv ID or URL, e.g. '1706.03762' - relation (str): similar | references | cited_by - max_results (int): Results per page (1 - 50, default 10) - start (int): Pagination offset (references and cited_by only) - response_format (str): markdown | json

Returns: str: List of related papers with authors, year, citation count, link and abstract snippet.

JSON schema when response_format='json':
{
  "paper_id": str, "relation": str, "source": "semantic_scholar",
  "start": int, "count": int, "has_more": bool,
  "next_start": int | null,
  "papers": [{ "title", "authors", "year", "published", "arxiv_id",
               "doi", "venue", "citation_count", "url", "abstract" }]
}

Examples: - Papers like Attention Is All You Need: paper_id='1706.03762' - What GPT-4's report builds on: paper_id='2303.08774', relation='references' - Follow-up work on Adam: paper_id='1412.6980', relation='cited_by'

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_related_papers"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.2.0

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the description is not obliged to cover safety. It instead adds exactly the context annotations cannot encode: the upstream data source is Semantic Scholar, results may include non-arXiv papers without arXiv IDs, and very new preprints may be unindexed. These are real coverage limitations an agent must know before reporting results as exhaustive.

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?

Purpose and source caveats are front-loaded in the first two paragraphs, which is the right ordering, and examples are placed last where they belong. The definition loses a point because the full JSON return schema plus the Args block duplicate structured data that already exists in the input and output schemas.

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 tool wrapping a third-party index, everything an agent needs is present: data provenance, known coverage gaps, pagination semantics per relation, output shape, and three intent-mapped examples. The presence of an output schema makes the return-value summary a convenience rather than a requirement, and nothing material is omitted.

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?

Reported schema description coverage is 0% at the wrapper level, so the description does have to carry the parameter burden, and its Args block names all five fields with types and the relation enum. However, it mostly restates what the nested schema already documents in more detail (the schema alone says 'similar' only accepts start=0 and that version suffixes are ignored), so it compensates for the gap without adding meaning.

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 plus the disambiguating scope: 'Find papers related to a known arXiv paper: similar, cited, or citing.' The three relation modes are enumerated immediately, so an agent can distinguish this from arxiv_get_paper (fetch one paper) or arxiv_search (find by query) without opening either schema.

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

Usage Guidelines4/5

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

The phrase 'known arXiv paper' establishes the precondition that an ID is already in hand, and the three worked examples show which relation to pick for each intent (topic-similar, references, cited_by). What is missing is an explicit exclusion — it never says to use arxiv_search when no paper ID is available — so it is a conditional 4 rather than a 5.

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