Skip to main content
Glama
blazickjp

ArXiv MCP Server

by blazickjp

search_papers

Read-only

Find and retrieve academic papers from arXiv using keyword queries, category filters, and date ranges, with sort and pagination options.

Instructions

Search arXiv by query with optional categories, date range, sort, and pagination.

Query: prefer quoted phrases; ti:/au:/abs:/cat:; AND/OR/ANDNOT. Unprefixed terms match title+abstract (not authors). Use categories (cs.AI, cs.LG, cs.CL, cs.CV, cs.MA, cs.RO, stat.ML, quant-ph). Catalog/examples: README 'search_papers query guide'.

Dates YYYY-MM-DD (date_from/date_to). sort_by relevance|date. max_results default 5 (cap 50). abstract_mode none|snippet|full (default snippet). start default 0; response: total_results, returned, has_more, next_start, abstract_mode. Pass next_start with same abstract_mode. Use get_abstract after compact search — not after abstract_mode=full.

arXiv ~3s between requests (server-side). Transient 429/503 are retried with backoff; persistent rate limits return status=rate_limited.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesarXiv query string. Prefer quoted phrases and ti:/au:/abs:/cat: field prefixes; AND/OR/ANDNOT supported.
startNoZero-based result offset (default: 0). Pass next_start from a previous response to fetch the next page.
date_toNoInclusive end date (YYYY-MM-DD).
sort_byNoSort by 'relevance' (default) or 'date' (newest first).
date_fromNoInclusive start date (YYYY-MM-DD).
categoriesNoarXiv category filters (e.g. ['cs.LG', 'cs.AI']). Strongly improves relevance.
max_resultsNoMaximum results to return (default: 5, max: 50).
abstract_modeNoAbstract projection (default snippet ~280 chars, marked if truncated; full=complete; none=omit).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changedv0.7.0
    • addedInput schema / properties / abstract_mode
      Added value: +{
      +  "description": "Abstract projection (default snippet ~280 chars, marked if truncated; full=complete; none=omit).",
      +  "enum": [
      +    "none",
      +    "snippet",
      +    "full"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / categories / description
      Previous value: -"Strongly recommended: arXiv categories to focus search (e.g., ['cs.AI', 'cs.MA'] for agent research, ['cs.LG'] for ML, ['cs.CL'] for NLP, ['cs.CV'] for vision). Greatly improves relevance."New value: +"arXiv category filters (e.g. ['cs.LG', 'cs.AI']). Strongly improves relevance."
    • changedInput schema / properties / date_from / description
      Previous value: -"Start date for papers (YYYY-MM-DD format). Use to find recent work, e.g., '2023-01-01' for last 2 years."New value: +"Inclusive start date (YYYY-MM-DD)."
    • changedInput schema / properties / date_to / description
      Previous value: -"End date for papers (YYYY-MM-DD format). Use with date_from to find historical work, e.g., '2020-12-31' for older research."New value: +"Inclusive end date (YYYY-MM-DD)."
    • changedInput schema / properties / max_results / description
      Previous value: -"Maximum number of results to return (default: 10, max: 50). Use 15-20 for comprehensive searches."New value: +"Maximum results to return (default: 5, max: 50)."
    • changedInput schema / properties / query / description
      Previous value: -"Search query using quoted phrases for exact matches (e.g., '\"machine learning\" OR \"deep learning\"') or specific technical terms. Avoid overly broad or generic terms."New value: +"arXiv query string. Prefer quoted phrases and ti:/au:/abs:/cat: field prefixes; AND/OR/ANDNOT supported."
    • changedInput schema / properties / sort_by / description
      Previous value: -"Sort results by 'relevance' (most relevant first, default) or 'date' (newest first). Use 'relevance' for focused searches, 'date' for recent developments."New value: +"Sort by 'relevance' (default) or 'date' (newest first)."
    • addedInput schema / properties / start
      Added value: +{
      +  "description": "Zero-based result offset (default: 0). Pass next_start from a previous response to fetch the next page.",
      +  "minimum": 0,
      +  "type": "integer"
      +}
  2. Addedv0.6.3
  3. Removedv0.5.1
  4. Addedv1.0.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations indicate readOnlyHint=true, and the description aligns by stating this is a search operation. It goes beyond annotations by disclosing arXiv rate limiting (~3s between requests), retry behavior for transient 429/503 errors, persistent rate limits returning status=rate_limited, and pagination behavior via next_start. It also documents default abstract_mode and truncation behavior.

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 dense but well-organized, with key behavioral details front-loaded. It covers many aspects (syntax, categories, dates, sorting, defaults, pagination, rate limits) without excessive verbosity. Some details like the rate-limit note could arguably be moved to a 'Notes' section, but overall it's efficiently structured and every sentence provides actionable information.

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?

Given the tool has 8 parameters, no output schema, and a rich behavioral profile, the description is quite complete. It covers query construction, pagination, result metadata fields, and error/rate-limit behavior. It doesn't explicitly describe the full response shape beyond those fields, but given the lack of an output schema, this is a minor gap. The description leaves little room for an agent to call incorrectly.

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 description coverage is 100%, so all parameters are individually documented. The tool description adds value beyond the schema by explaining the overall query behavior (unprefixed terms match title+abstract, not authors) and by reinforcing the pagination contract (pass next_start with same abstract_mode). The description doesn't introduce new parameter dimensions but meaningfully supplements the schema.

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 clearly states the tool's function: searching arXiv by query with optional filters and pagination. It explicitly covers the search syntax, categories, date range, sorting, and output controls. This distinguishes it from sibling tools like semantic_search, get_abstract, and list_papers, which serve different retrieval purposes.

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?

The description provides explicit usage guidance including query syntax tips (prefer quoted phrases, field prefixes), category recommendations, date format expectations, and default/limit values. It also directs use of get_abstract after compact search rather than after abstract_mode=full, giving clear when-to-use context. Sibling differentiation is implicit through this comprehensive guidance.

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