Skip to main content
Glama
openags

Paper Search MCP

by openags

download_dblp

Check PDF availability for dblp papers and receive guidance on alternative access methods when direct download is not supported.

Instructions

Download PDF for a paper from dblp.

Note: dblp doesn't provide direct PDF access. This function returns an informative message.

Args: paper_id: dblp paper identifier. save_path: Directory to save the PDF (default: './downloads'). Returns: str: Message indicating that direct PDF download is not supported.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paper_idYes
save_pathNo./downloads

Implementation Reference

  • The download_dblp handler in server.py calls the DBLPSearcher.download_pdf method.
    async def download_dblp(paper_id: str, save_path: str = "./downloads") -> str:
        """Download PDF for a paper from dblp.
    
        Note: dblp doesn't provide direct PDF access.
        This function returns an informative message.
    
        Args:
            paper_id: dblp paper identifier.
            save_path: Directory to save the PDF (default: './downloads').
        Returns:
            str: Message indicating that direct PDF download is not supported.
        """
        return dblp_searcher.download_pdf(paper_id, save_path)
  • The DBLPSearcher.download_pdf method, which is invoked by the download_dblp handler, raises a NotImplementedError as dblp does not support direct PDF downloads.
    def download_pdf(self, paper_id: str, save_path: str) -> str:
        """
        Download PDF for a dblp paper.
    
        Note: dblp doesn't provide direct PDF access.
        This method tries to find PDF through DOI or other sources.
    
        Args:
            paper_id: dblp paper identifier
            save_path: Directory to save the PDF
    
        Returns:
            Path to the saved PDF file
    
        Raises:
            NotImplementedError: dblp doesn't support direct PDF downloads
        """
        raise NotImplementedError(
            "dblp doesn't provide direct PDF access. "
            "Use DOI to download from other sources (Crossref, publisher sites, etc.)."
        )

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/openags/paper-search-mcp'

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