Skip to main content
Glama

Server Details

HTML to PDF is a pain. Printed from a browser, your agent's Markdown report has no contents page with page numbers. legivel turns the same Markdown into a typeset PDF with one tool call. Invoices come from a saved template: JSON fills the fields, and a list or CSV fills the table. legivel generates the PDF in memory and never stores the documents you convert or your PDFs. Templates you save are the exception: they are stored encrypted until you delete them. Ten tools, with an API key or MCP sign-in. 100 free documents a month and 3 saved templates.

Ownership verified
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
ChatGPT
–
Claude
–

TDQS

A3.9/5.0

Scored across 10 tools

Disambiguation4/5

The CRUD set (create/get/list/update/delete_template) is clean, and preview_template vs render_template is sharply drawn by their descriptions (pictures vs PDF, not counted as a document). The only mild overlap is get_template vs get_template_format (one returns a template, the other a static document-format reference) and render_pdf vs render_template, but the descriptions resolve both well.

Naming Consistency5/5

Every tool follows a consistent snake_case verb_noun pattern: create_template, get_template, list_templates, update_template, delete_template, preview_template, render_pdf, get_usage. The only variation (get_template_format) is still the same verb_noun family and reads naturally.

Tool Count5/5

Ten tools is well within the sweet spot for a templating/rendering service. Each tool covers a distinct lifecycle step — authoring, reference docs, preview, render, usage, cleanup — with no filler.

Completeness4/5

Full create/read/list/update/delete coverage plus preview, PDF rendering, an authoring reference, and quota introspection — a complete authoring-to-output loop. Minor gaps: no way to list or fetch previously rendered documents (only idempotent re-render), no duplicate/copy template, and no plain non-PDF/other-format render option.

Publisher details

Operator
legivel · Publisher source
Vendor relationship
First-party
Privacy policy
Not provided
Restrictions
Needs a legivel account and its API key. A free account makes 100 documents a month; paid plans start at $19 a month.

Available Tools

10 tools
create_templateCreate templateAInspect

Save a new template. Send exactly one of body (an editor document), markdown, html or starter. In Markdown and HTML, write {{path}} where a value from the data goes; headings, paragraphs, lists, quotes, code and tables become editable blocks, and images and scripts are left out (left lists them). A starter answers its sample data too, for preview_template. Answers the id, the revision and the fields.

Inputs: name (required), body, html, starter, +1 more.

delete_templateDelete templateA
Destructive
Inspect

Delete a template with its images. Renders that name it answer not_found at once. This cannot be undone.

Inputs: template (required).

get_templateGet templateA
Read-only
Inspect

One template: its editor document (body), its revision and the fields it reads. Change the body and send it to update_template with this revision. get_template_format describes the body.

Inputs: template (required).

get_template_formatGet template formatA
Read-only
Inspect

The full reference of the template document: page, paragraphs, styles, fields and formats, formulas and their functions, repeated blocks, tables, bands, placed items, graphics and barcode types, the grid, fonts and limits, and the starter templates. Read it before you write or change a template body.

Inputs: no named parameters.

get_usageGet usageA
Read-only
Inspect

How many of the account's documents for the period are used: the period's dates, the number of documents included, the number used, the plan's limits, and the split by API key. Pass period to read an earlier period.

Inputs: period.

list_templatesList templatesB
Read-only
Inspect

The account's saved templates: the id, the name, the revision, and the fields each one reads (data paths, CSV table sources and JSON list sources), and how many templates the plan keeps.

Inputs: no named parameters.

preview_templatePreview templateA
Read-only
Inspect

Pictures of a saved template's pages filled with data, to check how it looks before render_template. It does not count as a document and nothing is stored. It uses your plan's hourly preview budget, which the editor's previews share. Answers JPEG pictures of up to 4 pages and a text block with the page count and the problems: data that does not fill the template, text that does not fit its box, an item that covers text and an item past the page edge, each with its path and page. A missing field shows as ‹path› in the picture; a graphic that does not draw shows as an empty frame. Ask for later pages with first_page. Look at each picture, change the body with update_template, and preview again until it is right.

Inputs: template (required), csv, dpi, data, +2 more.

render_pdfRender Markdown to PDFAInspect

Turn a Markdown document into a PDF and return the PDF. Each successful render counts as one document. Re-sending the same document with the same idempotency key returns the same PDF and is not counted again.

Inputs: markdown (required), page, sign, width, +14 more.

render_templateRender template to PDFAInspect

Fill a saved template with data and return the PDF. Each successful render counts as one document. Re-sending the same data with the same idempotency key returns the same PDF and is not counted again. Text that does not fit its box, an item that covers text and an item past the page edge come back as warnings; the PDF is made all the same.

Inputs: template (required), csv, data, idempotency_key.

update_templateUpdate templateA
Destructive
Inspect

Change a template. Send base_revision, the revision you read; a newer revision answers template_version_conflict. What you leave out stays as it was: send body, markdown or html to replace the document, name to rename it.

Inputs: template (required), base_revision (required), body, html, +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Generate professional PDFs from Claude, Cursor, and other AI tools. Create invoices, contracts, reports, and certificates from templates or inline HTML markup.
      7
      58 npm
      1
      MIT
    • F
      license
      A
      quality
      B
      maintenance
      Enables AI agents to generate, validate, merge, and secure PDF documents from a declarative JSON AST, without emitting HTML/CSS or executing arbitrary code. Supports themed layouts, charts, tables, images, and metadata composition with multi-platform local or HTTP transport.
      7
      -
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources