Skip to main content
Glama
arXiv MCP Server

arXiv MCP Server

by Ray0907

search_advanced

Read-only

Search arXiv papers by title, abstract, author, category, date range, or arXiv ID, then sort and paginate results for targeted academic literature reviews.

Instructions

Advanced search with specific field filters.

Args:
	abstract_max_chars: Abstract character cap; None keeps full text, 0 returns an empty abstract
	title: Search in paper titles
	abstract: Search in abstracts
	author: Search by author name
	category: Filter by arXiv category (e.g., 'cs.AI', 'cs.LG')
	id_arxiv: Restrict to an arXiv ID (e.g., '2301.00001'); combines with the other filters
	date_from: Start of submission date range (YYYY-MM-DD format)
	date_to: End of submission date range (YYYY-MM-DD format)
	sort_by: Sort order - 'relevance', 'date_desc', 'date_asc', 'updated_desc', 'updated_asc'
	page: Page number (default: 1)
	page_size: Results per page, max 50 (default: 25)

Returns:
	Search results with papers containing title, abstract, authors, and URLs

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_advanced"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
titleNo
authorNo
date_toNo
sort_byNorelevance
abstractNo
categoryNo
id_arxivNo
date_fromNo
page_sizeNo
abstract_max_charsNo

Output Schema

NameRequiredDescriptionDefault
pageNoCurrent page number
queryYesThe search query used
papersYesList of papers
has_moreNoWhether more results exist
next_pageNoNext page number if has_more is True
page_sizeNoNumber of results per page
total_resultsYesTotal number of results found

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.6.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly and openWorld, so the description's added value is in operational details: the abstract_max_chars semantics (None keeps full text, 0 returns an empty abstract), the page_size cap of 50, and the default of relevance sorting. It does not cover rate limits or whether filters are ANDed or ORed across fields.

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?

Front-loaded purpose sentence followed by a tight Args/Returns block; each parameter line is a single compact clause. The docstring formatting is mildly verbose but nothing is padding, aside from the Returns section restating an existing output schema.

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?

An 11-parameter search tool with 0% schema coverage is well served here – all parameters described with formats and defaults, and return contents noted even though an output schema exists. Only the missing filter-combination and sibling-selection guidance keeps it from full marks.

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 0%, so the description carries the full burden and mostly does: every one of the 11 parameters gets meaning, plus formats the schema lacks – YYYY-MM-DD dates, example categories ('cs.AI', 'cs.LG'), an example arXiv ID, and the enumerated sort_by values that the schema does not encode as an enum. It stops short of explaining how multiple filters combine.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (advanced search) plus the distinguishing trait: field-specific filters. An agent can tell this is the field-scoped search variant, though it never names the plain 'search' sibling to contrast with explicitly.

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

Usage Guidelines3/5

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

Usage is only implied by the word 'advanced' and the list of filter fields. There is no statement of when to prefer this over 'search' or 'get_recent', and no exclusions or prerequisites.

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