Skip to main content
Glama
openags

Paper Search MCP

by openags

read_citeseerx_paper

Extract text content from CiteSeerX academic papers by providing a paper identifier, enabling access to research material for analysis and reference.

Instructions

Read and extract text content from a CiteSeerX paper.

Args: paper_id: CiteSeerX paper identifier. save_path: Directory where the PDF is/will be saved (default: './downloads'). Returns: str: Extracted text or fallback abstract/error message.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paper_idYes
save_pathNo./downloads

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Implementation Reference

  • The actual implementation of the read_paper logic for CiteSeerX.
    def read_paper(self, paper_id: str, save_path: str = "./downloads") -> str:
        """
        Download and extract text from a CiteSeerX paper.
    
        Note: CiteSeerX provides abstracts but not always full text.
        This method tries to download PDF and extract text if available.
    
        Args:
            paper_id: CiteSeerX paper identifier
            save_path: Directory where PDF is/will be saved
    
        Returns:
            Extracted text content of the paper (abstract if PDF not available)
    
        Raises:
            Exception: If paper reading fails
        """
        try:
            # First get paper details
            paper = self.get_paper_details(paper_id)
            if not paper:
                raise Exception(f"Paper {paper_id} not found")
  • Registration and tool definition for read_citeseerx_paper in the MCP server.
    @mcp.tool()
    async def read_citeseerx_paper(paper_id: str, save_path: str = "./downloads") -> str:
        """Read and extract text content from a CiteSeerX paper.
    
        Args:
            paper_id: CiteSeerX paper identifier.
            save_path: Directory where the PDF is/will be saved (default: './downloads').
        Returns:
            str: Extracted text or fallback abstract/error message.
        """
        return citeseerx_searcher.read_paper(paper_id, save_path)
Behavior2/5

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

No annotations are provided, so the description carries full burden. It mentions extraction behavior and fallback to abstract/error, but lacks critical details: whether it downloads files, requires internet access, handles rate limits, or has authentication needs. For a tool with potential network/file operations, this is insufficient.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with clear sections (Args, Returns) and uses minimal sentences. However, the first sentence could be more front-loaded with key details, and some redundancy exists between 'Read and extract' in the description and 'Extracted text' in Returns.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations, 0% schema coverage, but an output schema present (returns str), the description covers basic purpose and parameters. However, for a tool that likely involves network calls and file operations, it lacks sufficient behavioral context, error handling details, and differentiation from siblings, making it minimally adequate but incomplete.

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?

Schema description coverage is 0%, but the description provides basic semantics for both parameters: 'paper_id' as an identifier and 'save_path' as a directory for PDF saving. However, it doesn't explain paper_id format, save_path validation, or the relationship between downloading and extracting. With 0% schema coverage, this adds some value but doesn't fully compensate.

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 clearly states the action ('Read and extract text content') and resource ('from a CiteSeerX paper'), making the purpose immediately understandable. However, it doesn't explicitly differentiate from sibling tools like 'download_citeseerx' or 'read_arxiv_paper' beyond specifying the CiteSeerX source.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives. With many sibling tools for different sources (e.g., 'read_arxiv_paper', 'download_citeseerx'), the description lacks context about when CiteSeerX is appropriate or how this differs from download-only tools.

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

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

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