Skip to main content
Glama
arXiv MCP Server

arXiv MCP Server

by MaksPyn

Delete downloaded paper

delete_paper
DestructiveIdempotent

Remove a stored arXiv paper, including its PDF and cached text, from local storage by providing its arXiv ID.

Instructions

Delete a paper (PDF and cached text) from local storage.

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": {
      "arxivId": "<arxivId>"
    },
    "name": "delete_paper"
  }
}

Input Schema

NameRequiredDescriptionDefault
arxivIdYesarXiv ID of the stored paper

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered upstream. The description adds real value beyond that by specifying exactly what is destroyed (the PDF and its cached text), which tells the agent that a subsequent read_paper or analyze_paper call would need a re-download. It does not state what happens when the ID is not present locally.

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?

One short sentence with zero filler, front-loading the verb and immediately qualifying the scope and the affected artifacts. Nothing in it is redundant with the title.

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 single-parameter local deletion with four annotations covering safety and idempotency, the definition is essentially sufficient. The only meaningful omission is behavior on a missing or already-deleted ID, which the idempotentHint partly covers.

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?

There is a single required parameter with 100% schema description coverage, so the schema already documents arxivId as the arXiv ID of a stored paper. The description adds no format, casing, or version-suffix guidance beyond the schema, so the baseline of 3 applies.

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 names a specific verb (delete) and resource (paper) and scopes the operation to local storage, explicitly enumerating the artifacts removed (PDF and cached text). It does not name the sibling download_paper/list_downloaded_papers as the complementary operations, so differentiation from siblings is left to the agent.

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?

Usage is only implied: an agent can infer this applies to papers previously fetched via download_paper. The phrase 'from local storage' usefully signals the deletion is local-only rather than removing anything from arXiv, but there is no explicit when-to-use, when-not, or pointer to the alternative operations.

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