Skip to main content
Glama

resume-render

Convert JSON Resume format to PDF with customizable themes for professional document generation.

Instructions

Render a resume to PDF. Returns a URL to download the generated PDF.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
resumeYesResume object in JSON Resume format
themeNoTheme name (e.g. Even, StackOverflow, Class, Professional)
formatNoOutput format

Implementation Reference

  • The handler function for the resume-render tool, which calls the client.resume.render method.
    async (params) => {
      try {
        const result = await client.resume.render({
          resume: params.resume,
          theme: params.theme,
          format: params.format,
        });
        return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }] };
      } catch (err) {
        const message = err instanceof Error ? err.message : String(err);
        return { content: [{ type: "text", text: `Error: ${message}` }], isError: true };
      }
    },
  • Schema definition for the resume-render tool inputs using Zod.
    {
      resume: z.record(z.unknown()).describe("Resume object in JSON Resume format"),
      theme: z.string().optional().describe("Theme name (e.g. Even, StackOverflow, Class, Professional)"),
      format: z.string().optional().describe("Output format"),
    },
  • Registration of the resume-render tool within the MCP server.
    server.tool(
      "resume-render",
      "Render a resume to PDF. Returns a URL to download the generated PDF.",
      {
        resume: z.record(z.unknown()).describe("Resume object in JSON Resume format"),
        theme: z.string().optional().describe("Theme name (e.g. Even, StackOverflow, Class, Professional)"),
        format: z.string().optional().describe("Output format"),
      },
      async (params) => {
        try {
          const result = await client.resume.render({
            resume: params.resume,
            theme: params.theme,
            format: params.format,
          });
          return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }] };
        } catch (err) {
          const message = err instanceof Error ? err.message : String(err);
          return { content: [{ type: "text", text: `Error: ${message}` }], isError: true };
        }
      },
    );

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/ebenezer-isaac/llmconveyors-mcp'

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