Skip to main content
Glama

list_downloaded_papers

View locally stored 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 main handler function for the 'list_downloaded_papers' tool. It retrieves the list of downloaded papers from storage, formats them with ID, title, and authors, and returns a formatted string.
    @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)
  • The helper method in PaperStorage class that returns the list of all stored paper metadata dictionaries, used by the tool handler.
    def list_papers(self) -> list[dict]: return list(self._metadata.values())

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