Skip to main content
Glama
arxiv-query-mcp

arxiv-query-mcp

by LWaetzig

Search arXiv

arxiv_search
Read-onlyIdempotent

Search arXiv academic papers using field-specific boolean queries and date filters, returning paginated metadata and direct links.

Instructions

Search arXiv for academic papers using full query syntax.

Supports field-specific search and boolean operators. Returns paginated results with title, authors, abstract snippet, and direct links.

Args: params (SearchInput): - query (str): Query string, e.g. 'ti:attention AND cat:cs.LG' - max_results (int): Results per page (1 - 50, default 10) - start (int): Pagination offset (default 0) - sort_by (str): relevance | lastUpdatedDate | submittedDate - sort_order (str): descending | ascending - date_from (str): Only papers submitted on/after YYYY-MM-DD - date_to (str): Only papers submitted on/before YYYY-MM-DD - response_format (str): markdown | json

Returns: str: Paginated list of matching papers with metadata and links.

JSON schema when response_format='json':
{
  "total": int,
  "count": int,
  "start": int,
  "has_more": bool,
  "next_start": int | null,
  "papers": [{ "id", "version", "title", "authors", "abstract", "published",
               "updated", "primary_category", "categories",
               "abstract_url", "pdf_url", "html_url",
               "comment", "journal_ref", "doi" }]
}

Examples: - 'ti:large language model AND cat:cs.LG' — LLM papers in ML - 'au:lecun AND cat:cs.CV' — LeCun's vision papers - 'abs:diffusion AND abs:image generation' — diffusion image gen - 'ti:attention is all you need' — search by title phrase - query='abs:agents', date_from='2026-10-01' — recent papers only

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

Input Schema

NameRequiredDescriptionDefault
paramsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv2.2.0
    • addedInput schema / $defs / SearchInput / properties / date_from
      Added value: +{
      +  "anyOf": [
      +    {
      +      "format": "date",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Only papers submitted on or after this date (YYYY-MM-DD, UTC). Combine with date_to for a range.",
      +  "title": "Date From"
      +}
    • addedInput schema / $defs / SearchInput / properties / date_to
      Added value: +{
      +  "anyOf": [
      +    {
      +      "format": "date",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Only papers submitted on or before this date (YYYY-MM-DD, UTC).",
      +  "title": "Date To"
      +}
    • changedInput schema / $defs / SearchInput / properties / query / description
      Previous value: -"arXiv search query. Supports field prefixes: ti: (title), au: (author), abs: (abstract), cat: (category), all: (all fields). Combine with AND, OR, ANDNOT. Examples: 'ti:transformer AND cat:cs.LG', 'au:hinton', 'abs:diffusion model'"New value: +"arXiv search query. Supports field prefixes: ti: (title), au: (author), abs: (abstract), cat: (category), all: (all fields). Combine with AND, OR, ANDNOT. To restrict by submission date use date_from / date_to. Examples: 'ti:transformer AND cat:cs.LG', 'au:hinton', 'abs:diffusion model'"
  2. First observedv0.0.0

TDQS

A4.4/5.0
Behavior4/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 safety profile is covered. The description adds useful behavioral context about pagination, response formats, and returned metadata, though it does not mention rate limits or authentication.

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?

The description is structured and front-loaded with purpose, then args, returns, and examples. It is somewhat long and repeats schema-level parameter details, but the examples and return-shape summary earn their place for a complex search tool.

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?

Given the query complexity, pagination, and multiple response formats, the description is complete enough for an agent to call the tool correctly. It also explains the JSON return shape, so the output schema need not carry that burden alone.

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 description enumerates every nested parameter with meaning and examples, including query syntax, date bounds, sorting, pagination, and response format. The schema also documents these fields, so the description mainly reinforces and illustrates rather than revealing undocumented semantics.

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?

The description states a specific verb and resource: search arXiv for academic papers using full query syntax. It clearly distinguishes a query-based search from sibling tools like arxiv_get_paper and arxiv_list_by_category.

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?

It provides clear query examples and explains field prefixes, boolean operators, and date filtering, which gives strong usage context. However, it does not explicitly say when to prefer this tool over siblings such as arxiv_list_by_category or arxiv_related_papers.

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