Skip to main content
Glama

queue_papers

Queue up to 200 DOIs for a background worker that fetches open-access then Elsevier papers within institutional limits, leaving inaccessible items for manual retrieval.

Instructions

Queue papers (up to 200 DOIs) for the background worker, which fetches them headless one at a time until all are done: open-access copies first (not counted), then Elsevier through the official API when this network or an insttoken is entitled, always inside the institution limits (it sleeps until the next allowed time, stops for the day at the daily cap, and starts again by itself when access appears, e.g. on campus Wi-Fi). It never logs in to EZproxy: papers it cannot get go to a list the user opens by hand. The worker is a separate program the USER starts in their own terminal; tell them the command in "start_worker" if worker_running is false. Queueing itself fetches nothing.

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": "queue_papers"
  }
}

Input Schema

NameRequiredDescriptionDefault
doisYes

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 at all, the description carries the full burden and does so unusually well: it discloses ordering (open-access first, not counted), entitlement rules (Elsevier API, insttoken, network), rate/daily-cap sleeping behavior, self-restart when access appears, the hard refusal to log in to EZproxy, and where failures go (a manual list). It also pre-empts a likely agent misconception by stating that queueing fetches nothing and the worker is a separate program the user runs.

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 single paragraph is dense but front-loaded, with the core action and the 200 cap in the first clause and behavioral caveats after. Each sentence adds operational information (counts, limits, EZproxy, worker startup) rather than restating the 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 one-parameter tool with no annotations and no output schema, this covers nearly everything an agent needs to decide and act, including the cross-tool dependency on worker_running and start_worker. What is missing is what the call returns (e.g., number of queued DOIs, rejection of invalid or excess entries), which matters because there is no output schema to explain it.

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?

The schema is a bare array of strings with zero description coverage, so the description must compensate, and it does: it specifies the item type (DOIs) and an explicit count ceiling of 200 that is absent from the schema. It does not say what happens to duplicates or invalid DOIs, which keeps it short of a 5.

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?

Opens with a specific verb and resource plus a hard scope limit ("Queue papers (up to 200 DOIs) for the background worker") and then distinguishes itself from fetching tools with "Queueing itself fetches nothing." An agent can tell this apart from download_batch or download_pdf without reading any schema.

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?

Gives clear context for when this applies: bulk background retrieval within institution limits, unattended, spanning multiple days, with a note that the worker must be started separately and the user told the command when worker_running is false. It never names an alternative tool for immediate single-paper fetches, so the exclusions are implied rather than stated.

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