Skip to main content
Glama
LWaetzig

arxiv-query-mcp

by LWaetzig

arxiv_search

Search arXiv for academic papers using field-specific queries and boolean operators. Returns paginated results with titles, authors, abstracts, 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 - 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", "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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

No annotations provided; description fully discloses pagination, result format, and supported operators. No contradictions.

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?

Well-structured with clear sections: purpose, parameters, returns, examples. Slightly verbose but no unnecessary content.

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?

Covers query syntax, pagination, sort options, response formats, and output schema. Complete given tool complexity.

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 already includes detailed descriptions for all parameters. Description adds value with examples and output JSON schema, but schema already covers semantics well.

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?

Clearly states 'Search arXiv for academic papers' and explains query syntax. Distinguishes from sibling tools like arxiv_fetch_paper_text which focus on fetching full text.

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?

Provides examples and parameter details but does not explicitly state when to use this tool vs siblings. Guidance is implied through examples and description.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/LWaetzig/arxiv-query-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server