Skip to main content
Glama

Download Paper

download_paper

Resolve the best open-access PDF, fetch it, extract its text, and store as markdown in the shared library. Returns a paper ID for reading; browser-only PDFs are returned as URLs for manual access.

Instructions

Resolve the best open-access PDF for a paper, fetch it, extract its text, and store it as markdown in the shared library (default ~/.arxiv-mcp-server/papers, override with ARXIV_MCP_STORAGE_PATH). Returns a paper_id (slug) to pass to read_paper. PhilArchive PDFs are browser-only (Cloudflare) and are not fetched — the URL is returned to open manually.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNoPaper title, used to resolve an OA PDF when no DOI/id match is found
paper_idYesA DOI, Semantic Scholar id, arXiv id, or PhilArchive code
Behavior5/5

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

With no annotations provided, the description carries the full burden and does so thoroughly. It discloses the storage path and environment variable override, the multi-step behavior, the returned paper_id for read_paper, and the significant limitation that PhilArchive PDFs are not fetched due to Cloudflare. This exceeds typical descriptions and provides actionable transparency.

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?

Two sentences, front-loaded with the core action, and each clause earns its place: the storage path, return value for read_paper, and PhilArchive exception all add critical context. No wasted words.

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?

For a tool with no output schema and no annotations, the description is complete enough: it explains what it does, side effects (storage), return value (paper_id), and a key edge case (PhilArchive). It also hints at integration with read_paper. Given the complexity, this is a well-rounded description.

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

Parameters3/5

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

The input schema already provides 100% description coverage for both parameters (paper_id and title). The description adds no additional parameter semantics beyond what the schema states, so the baseline of 3 applies.

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 description clearly states a specific multi-step action: resolve an open-access PDF, fetch it, extract text, store as markdown, and return a paper_id slug. It distinguishes itself from siblings like get_pdf (just PDF retrieval) and read_paper (reads stored markdown) by describing the local storage and integration with read_paper.

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?

The description implies when to use this tool: when you want a paper downloaded, processed, and stored for later reading via read_paper. It explicitly covers the PhilArchive exception (browser-only, return URL instead of fetching), providing alternative handling. It does not fully contrast with sibling tools like get_pdf, but the context is clear enough.

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/rookslog/sophotron'

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