Skip to main content
Glama

generate_cv_pdf

Convert structured CV data into a pixel-perfect PDF. Choose from 8 templates, and the output is rendered locally in a headless browser, keeping your data private.

Instructions

Generate a pixel-perfect PDF of a CV/resume using the CV Maker app at https://resume.nigamelastic.com/.

The tool accepts a structured CV JSON object and an optional template name, then:

  1. Launches a local headless browser

  2. Navigates to the live CV Maker site

  3. Injects the CV data into the browser's localStorage (data never leaves this machine)

  4. Waits for the React app to render the CV preview

  5. Exports the rendered page as an A4 PDF with print backgrounds

  6. Saves the PDF to a temp file and returns the file path

Available templates: standard, modern, minimal, elegant, sidebar, tech, europass, executive

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cvYes
destination_dirYesAbsolute path to the directory where the PDF will be saved. You MUST ask the user for this location before calling the tool (e.g., 'Where should I save this PDF?').
output_filenameNo
Behavior5/5

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

With no annotations, the description carries full burden and delivers comprehensively. It details the step-by-step internal process (headless browser, localStorage injection, export to PDF) and notably includes the privacy statement 'data never leaves this machine.' This is high-value transparency beyond typical tool descriptions.

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 a clear opening sentence followed by a numbered list of steps and a template list. It is informative without being verbose. The step list adds behavioral detail, though it could be slightly more concise, but every sentence contributes to understanding.

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

Completeness2/5

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

This is a complex tool with no output schema, so the description must explain return values and parameters. It mentions returning a file path but does not reconcile the destination_dir parameter or address output_filename. The conflict between saving to a temp file and the destination_dir parameter is a significant gap. Sibling tools are also not referenced, leaving the context incomplete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 33%, and the description fails to compensate. It mentions the CV JSON and optional template name, but does not clarify destination_dir or output_filename. The step 'saves the PDF to a temp file' conflicts with the destination_dir parameter, adding confusion. The template list is helpful, but it does not address the semantic gaps.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool generates a pixel-perfect PDF of a CV/resume, specifying the verb (generate), resource (PDF), and the app URL. This unambiguously distinguishes it from sibling tools like export_cv_json and extract_resume_data, which handle JSON export or data extraction.

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

Usage Guidelines4/5

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

The description implies usage context: use this when a PDF of a CV is needed. It specifies the input (structured CV JSON) and optional template, but does not explicitly exclude other tools or mention alternatives. The context is clear, but the lack of explicit alternative guidance keeps it from a 5.

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/nigamelastic/cvmaker_mcp'

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