Skip to main content
Glama
arxiv-ai-mcp
by jsrv

search_arxiv

Search arXiv for AI/ML papers and receive token-efficient Markdown summaries, with optional category filters, date or relevance sorting, and result limits.

Instructions

Search arXiv for AI/ML papers and return token-efficient Markdown summaries.

Args:
    query: Search keywords or phrase (e.g., 'KV cache quantization' or 'agentic benchmarks').
    category: Optional arXiv category filter ('cs.AI', 'cs.LG', 'cs.CL', 'cs.MA', 'cs.CV').
    sort_by: 'relevance' (default) or 'submittedDate' (for newest preprints).
    max_results: Number of results to return (1 to 15, default 5).

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": {
      "query": "<query>"
    },
    "name": "search_arxiv"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes
sort_byNorelevance
categoryNo
max_resultsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose the meaningful behavior beyond the schema: results come back as token-efficient Markdown summaries rather than raw records. It omits mention of rate limits, result ordering details, or error behavior, but the core shape of the operation is clear.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One front-loaded summary sentence establishes purpose and output, followed by a compact Args block where each line adds distinct information. No filler or repetition of the tool name.

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?

For a four-parameter search tool with an output schema, this covers everything an agent needs to call it correctly: every parameter is explained with defaults and bounds. Minor gaps remain around what happens with an invalid category string or whether category accepts multiple values.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% — the schema has no field descriptions, no enum constraints, and no numeric bounds. The description compensates fully: query examples, the valid category values, sort_by's default and its semantic purpose, and max_results' 1–15 range with default 5. This adds real constraint information an agent could not get from the schema.

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?

The description names a specific verb and resource ('Search arXiv for AI/ML papers') and states the output form ('token-efficient Markdown summaries'), so it is distinguishable from get_paper or find_related_papers at a glance. It doesn't explicitly contrast itself with those siblings, which keeps it just short of a 5.

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 implied through the parameter guidance — notably sort_by='submittedDate' 'for newest preprints' and the optional category filter — which tells an agent the useful modes. However, it never states when to prefer this tool over find_related_papers or get_paper, and gives 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.