Skip to main content
Glama

delete_resume

Remove a LaTeX resume file from the LaTeX Resume MCP server to manage storage and maintain organized resume collections.

Instructions

Delete a LaTeX resume file.

Args:
    filename: Name of the resume file to delete

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filenameYes

Implementation Reference

  • The delete_resume tool handler function, registered via @mcp.tool() decorator. It deletes the specified LaTeX resume file (.tex) from the resumes directory after ensuring directories exist and filename has .tex extension. Returns JSON success or error message.
    @mcp.tool()
    def delete_resume(filename: str) -> str:
        """
        Delete a LaTeX resume file.
    
        Args:
            filename: Name of the resume file to delete
        """
        ensure_dirs()
        filepath = get_resumes_dir() / ensure_tex_extension(filename)
    
        if not filepath.exists():
            return json.dumps({"error": f"Resume '{filename}' not found"})
    
        try:
            filepath.unlink()
            return json.dumps({"success": True, "deleted": str(filepath)})
        except Exception as e:
            return json.dumps({"error": f"Error deleting 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