Skip to main content
Glama

arXiv search: preprints by topic, or one paper by ID

arxiv_search
Read-only

Search arXiv, the open preprint server for physics, mathematics, computer science and AI: give search words (every word must match, quotes for a phrase) and optionally a category such as cs.AI, and get 1-20 papers by relevance or newest first, each with title, abstract, authors, dates, categories, DOI and PDF link. An arXiv ID or link returns that paper. Use to find research on a topic, cite a paper or read its abstract before the PDF. Example: q=retrieval augmented generation. Price $0.01/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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": {
      "q": "<q>"
    },
    "name": "arxiv_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesSearch words, or an arXiv ID or link (1706.03762, arxiv.org/abs/2401.01234)
sortNorelevance (default), newest (submission date) or updated
countNoPapers to return (1-20, default 5)
categoryNoOptional arXiv category to search in, e.g. cs.AI, cs.CL, stat.ML, hep-th

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / count / maximum
      Previous value: -9007199254740991New value: +20
    • changedInput schema / properties / count / minimum
      Previous value: --9007199254740991New value: +1
  2. Added

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations, the description discloses cost and auth mechanics that cannot be inferred: '$0.01/call via x402 USDC or a card key (/credits), first 10 free; failed calls free'. The note that 'each call is charged, so repeats are not free' usefully explains the idempotentHint=false behavior rather than contradicting it, and the return fields are enumerated.

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 a single front-loaded paragraph that moves purpose → parameters → return shape → use cases → pricing, so an agent gets the essentials first. A few clauses are redundant with the structured data (count range, sort names, 'changes nothing' echoing readOnlyHint), making it slightly longer than necessary.

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?

With no output schema, the description compensates by listing the returned fields (title, abstract, authors, dates, categories, DOI, PDF link). It omits any mention of pagination or paging beyond the count cap, which leaves a small gap for an agent planning multi-step retrieval.

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 coverage is 100%, so the baseline is 3; the description earns extra by specifying the matching semantics for q ('every word must match, quotes for a phrase') and confirming the category form (cs.AI), which the schema only gestures at. It restates count (1-20) and sort options that the schema already documents, so it is not fully additive.

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 opening sentence names a specific verb and resource and defines the domain precisely: 'Search arXiv, the open preprint server for physics, mathematics, computer science and AI'. It also states the two operating modes (topic query vs. arXiv ID/link lookup), which lets an agent distinguish this from the generic 'search' and 'papers' siblings.

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 gives concrete when-to-use guidance: 'Use to find research on a topic, cite a paper or read its abstract before the PDF', plus a worked example (q=retrieval augmented generation). It does not name a competing sibling or state when-not to use it, which keeps it one step short of a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources