Skip to main content
Glama

RenderHub — PDF, Markdown, Invoice, Screenshot & OG Image MCP

markdown_to_pdf

Converts Markdown text (headings, GFM tables, fenced code blocks, lists, UTF-8) into a styled print-ready PDF with themes and page numbers.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "markdown": "<markdown>"
    },
    "name": "markdown_to_pdf"
  }
}

Input Schema

NameRequiredDescriptionDefault
themeNoVisual document theme (default executive).
titleNoOptional document header title.
authorNoOptional author label.
formatNoPage size (default A4).
markdownYesMarkdown document content to convert into PDF.
subtitleNoOptional subtitle displayed under the header.
pageNumbersNoShow Page X / Y footer (default true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations present, the description carries the full behavioral burden, and it does disclose meaningful traits: supported content types, UTF-8, theming, and page numbering. However, it never says how the PDF is delivered back (file path, bytes, URL), whether generation is synchronous or how large documents are handled, which are the behaviors an agent most needs to know.

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?

A single front-loaded sentence with no filler, opening with the verb and the resource. The parenthetical feature list is dense but each item is informative rather than padding.

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?

For a seven-parameter conversion tool with no annotations and no output schema, the description leaves the most consequential question unanswered: what the caller receives and how to retrieve the generated file. It also omits error or size-limit behavior, so an agent cannot fully plan an invocation from this text.

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

Parameters3/5

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

Schema description coverage is 100%, including enums for theme and format, so the description need not restate parameter meaning. It only echoes 'themes and page numbers' at a high level, adding little beyond the schema; baseline 3 applies.

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

Purpose4/5

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

The description gives a specific verb and a concrete transformation (Markdown to styled print-ready PDF) and enumerates exactly which Markdown constructs are supported. It does not distinguish itself from the similar-sounding sibling render_pdf, so an agent cannot tell which of the two is intended from the description alone.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no mention of when to prefer render_pdf or generate_invoice_pdf, and no stated preconditions or limits. Usage is only inferable from the input name 'markdown', which is not real guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources