Skip to main content
Glama
arXiv MCP Server

arXiv MCP Server

by Ray0907

get_papers

Read-only

Look up 1–50 arXiv IDs or URLs in one API request, collapse exact duplicates, and report missing IDs separately. Invalid IDs are rejected locally before sending.

Instructions

Look up 1–50 arXiv IDs/URLs in one API request; report missing IDs separately.

Exact duplicate IDs are collapsed. Legacy revisions use the latest metadata,
as with get_paper. Invalid IDs fail locally before any request.

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": {
      "ids": "<ids>"
    },
    "name": "get_papers"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYes

Output Schema

NameRequiredDescriptionDefault
papersYes
missing_idsYes

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 readOnlyHint and openWorldHint, so the safety profile is covered. The description adds genuinely useful behavior beyond that: exact duplicate IDs collapse, legacy revisions resolve to latest metadata, and invalid IDs fail locally before any network call — partial-failure semantics an agent could not infer from the annotations. It stops short of saying whether missing IDs appear as nulls/omissions in the response, but the output schema covers return shape.

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?

Three short sentences with the core capability front-loaded and no filler. The trailing 'as with get_paper' clause is slightly indirect and could be tightened, but overall the structure is efficient and scannable.

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 batch read tool with an output schema already documenting return values, the description covers scope, limits, deduplication, revision resolution, and invalid-input behavior — enough for an agent to call it correctly. The only real gap is explicit routing guidance versus get_paper for single-ID cases.

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% for the single 'ids' array, so the description must compensate and largely does: it specifies accepted forms (arXiv IDs or URLs), the 1-50 cardinality, duplicate collapsing, and that invalid entries are rejected client-side. It does not give concrete ID format examples, which would have fully closed the gap.

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 gives a specific verb and resource ('Look up ... arXiv IDs/URLs') and adds the distinguishing scope of a batched request of 1-50 items, which separates it from a single-record lookup. It gestures at get_paper only as a behavioral parallel ('as with get_paper') rather than explicitly contrasting single vs. batch use, so the sibling differentiation is suggestive rather than crisp.

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?

The 1-50 batch framing and 'in one API request' wording imply this is the multi-ID entry point and that callers should batch rather than loop. However, it never states when to prefer get_paper over get_papers, nor what to do above 50 IDs, so the alternative-selection guidance is left to inference.

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