Skip to main content
Glama

download_batch

Download up to five papers as PDFs in sequence for small batches; stops at the first download-limit refusal and reports DOIs not attempted.

Instructions

Download up to 5 papers as PDFs, one after another, then stop. Stops early at the first limit refusal and lists DOIs not attempted; never continues in the background. Use for small batches after checking find_open_access. For many papers use queue_papers instead. COUNTS toward institution download limits (UTM default: 5 articles and 100 MB per 15 min, 20 per day, 10 s apart). When refused, the result gives the reason and next_allowed time: tell the user and wait, never retry in a loop.

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": {
      "dois": "<dois>"
    },
    "name": "download_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
doisYes
prefer_open_accessNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

A4.6/5.0
Behavior5/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 so: sequential execution, fail-fast at the first limit refusal, DOIs not attempted are listed, no background continuation, and it counts against institutional quotas with concrete numbers (5 articles / 100 MB per 15 min, 20 per day, 10 s apart). The refusal behavior and next_allowed return value give the agent everything needed to handle the error path safely.

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?

Front-loads purpose and batch limit, then the alternative, then quota and error behavior — a natural decision-first ordering. Four sentences, none redundant; the quota numbers are dense but each carries decision-relevant information.

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?

No annotations and no output schema, so the description must define behavior, limits, and failure handling — it does all three, including what the refusal result contains. The one gap is the unexplained prefer_open_access parameter and a slightly vague notion of what the successful result shape is beyond 'PDFs'.

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?

Schema coverage is 0%, so the description must compensate. It does clarify the implicit max of 5 DOIs per call and the DOI list semantics (unattempted DOIs are reported), but it never explains the prefer_open_access flag, which defaults to true; only the passing mention of find_open_access hints at it. Partial compensation, not full.

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?

States a specific verb and resource ('Download up to 5 papers as PDFs'), plus the scope limit ('then stop') and sequencing ('one after another'). It also implicitly separates itself from queue_papers and download_pdf by naming the batch-vs-queue split.

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

Usage Guidelines5/5

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

Explicit when-to-use ('small batches after checking find_open_access') and an explicit alternative with the condition that selects it ('For many papers use queue_papers instead'). It also gives an operational instruction for the refusal path: tell the user, wait, never retry in a loop.

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