Skip to main content
Glama
academic-paper-mcp

academic-paper-mcp

by rico192

download_paper_pdf

Download academic paper PDFs to a local directory using a DOI, arXiv ID, or direct URL. Resolves open-access copies for paywalled DOIs and returns an EZproxy link when access is restricted.

Instructions

Download an academic paper PDF to a local directory for reading/inspection.

Accepts a DOI (e.g. '10.1371/journal.pone.0000001'), arXiv ID (e.g. '1706.03762'), or direct PDF URL. Uses Unpaywall, OpenAlex, and Europe PMC to resolve open-access PDFs for paywalled DOIs. If the paper is strictly paywalled, returns the institutional EZproxy UNS URL for authenticated campus access.

Args: identifier_or_url: Paper DOI (e.g. '10.1016/j...'), arXiv ID (e.g. '1706.03762'), or direct PDF URL. save_directory: Local directory where the PDF should be saved (default: './downloads'). custom_filename: Optional custom file name (e.g. 'paper_attention.pdf').

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": {
      "identifier_or_url": "<identifier_or_url>"
    },
    "name": "download_paper_pdf"
  }
}

Input Schema

NameRequiredDescriptionDefault
save_directoryNo./downloads
custom_filenameNo
identifier_or_urlYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/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 well: it discloses resolution via Unpaywall, OpenAlex, and Europe PMC, and explains that strictly paywalled papers return an institutional EZproxy UNS URL for authenticated campus access. It does not cover overwrite behavior, failure modes, or rate limits, but the key behavioral traits are present.

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?

The description is front-loaded and well organized, moving from the core action to accepted inputs, resolution behavior, and parameter details. Every sentence adds useful information with no redundant restatement 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 3-parameter tool with no annotations but an output schema, the description is nearly complete: it covers purpose, input forms, resolution services, and paywall fallback. Minor gaps remain around error handling and whether existing files are overwritten, but these are not essential for basic invocation.

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%, so the description must compensate fully. It does: identifier_or_url is explained with examples for DOI, arXiv ID, and direct PDF URL; save_directory is described with its default; and custom_filename is explained with an example.

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 states a specific verb and resource: download an academic paper PDF to a local directory. It clearly distinguishes itself from sibling tools like search_papers, get_paper_details, and get_bibtex by focusing on file retrieval and saving.

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 gives clear context for when to use it: for reading or inspection, with accepted identifier types and paywall fallback. It does not explicitly name alternatives or say when not to use this tool, but the action is distinct enough from its siblings that guidance is largely implicit.

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