Skip to main content
Glama

read_resume

Extract LaTeX content from resume files to enable editing, compilation, and management within the LaTeX Resume MCP server.

Instructions

Read the contents of a LaTeX resume file.

Args:
    filename: Name of the resume file (with or without .tex extension)

Returns the full LaTeX content of the resume.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filenameYes

Implementation Reference

  • The handler function decorated with @mcp.tool() that reads and returns the contents of a LaTeX resume file specified by filename.
    def read_resume(filename: str) -> str:
        """
        Read the contents of a LaTeX resume file.
    
        Args:
            filename: Name of the resume file (with or without .tex extension)
    
        Returns the full LaTeX content of the resume.
        """
        ensure_dirs()
        filepath = get_resumes_dir() / ensure_tex_extension(filename)
    
        if not filepath.exists():
            return json.dumps({"error": f"Resume '{filename}' not found"})
    
        try:
            content = filepath.read_text(encoding="utf-8")
            return content
        except Exception as e:
            return json.dumps({"error": f"Error reading file: {str(e)}"})

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/dannywillowliu-uchi/resume_mcp'

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