Skip to main content
Glama

list_downloaded_papers

View locally cached arXiv papers with metadata to quickly access previously downloaded scientific literature without re-searching.

Instructions

List all locally downloaded papers.

Returns: List of downloaded papers with their metadata

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function decorated with @mcp.tool(), implementing the logic to list downloaded papers by fetching from storage, formatting metadata, and returning a string list.
    @mcp.tool() def list_downloaded_papers() -> str: """List all locally downloaded papers. Returns: List of downloaded papers with their metadata """ papers = storage.list_papers() if not papers: return "No papers downloaded yet." results = [] for p in papers: authors = ", ".join(p["authors"][:3]) if len(p["authors"]) > 3: authors += " et al." results.append(f"**{p['id']}**: {p['title']}\nAuthors: {authors}") return "\n---\n".join(results)
  • Supporting helper method in PaperStorage class that returns all stored paper metadata as a list of dictionaries, used by the tool handler.
    def list_papers(self) -> list[dict]: return list(self._metadata.values())
  • The @mcp.tool() decorator registers the list_downloaded_papers function as an MCP tool.
    @mcp.tool()
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/AnnaSuSu/arxiv-mcp'

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