Skip to main content
Glama

PDF aus Text erzeugen

pdf_erzeugen

Creates a clean A4 PDF document from text with simple Markdown (# headings, - lists, 1. numbered lists, bold), with title, optional footer and page numbers. For letters, reports, offers and confirmations generated by agents. PDF-Generator. Preis $0.01 (x402).

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": {
      "text": "<text>"
    },
    "name": "pdf_erzeugen"
  }
}

Input Schema

NameRequiredDescriptionDefault
rohNoDatei direkt zurückgeben statt JSON
textYesInhalt (einfaches Markdown)
titelNoDokumenttitel
formatNoformat
fusszeileNofusszeile
seitenzahlenNoseitenzahlen

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden. It does disclose two valuable traits the schema does not: the exact Markdown subset accepted and the $0.01 x402 price (i.e. payment is required). It says nothing about size limits, how unsupported Markdown is handled, or whether payment failure aborts the call, which for a paid mutation-style generator is a real gap.

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?

Front-loaded with the capability and the supported Markdown subset, which is what an agent needs first. The trailing fragments 'PDF-Generator.' and 'Preis $0.01 (x402).' are terse but 'PDF-Generator' merely repeats the tool name and earns little space.

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

Completeness4/5

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

For a six-parameter, one-required generator with no output schema, the description covers the capability, the input dialect and the cost. What remains missing is failure behaviour and any size or content limits, but nothing an agent needs to construct a correct call is absent.

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%, so the baseline is 3. The description reinforces the meaning of the text, title, footer and page-number parameters by describing what the rendered document contains, but adds no format or constraint detail beyond the schema's own enum and booleans.

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?

States a specific verb and resource: 'Creates a clean A4 PDF document from text', and even enumerates the supported Markdown subset (#, -, 1., **bold**). That is far more than a restatement of the title. It does not explicitly differentiate itself from the sibling pdf_text, so it stops short of 5.

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

Usage Guidelines3/5

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

Gives intended use cases ('For letters, reports, offers and confirmations generated by agents'), which is genuine when-to-use guidance. It gives no when-not guidance and never names an alternative tool, leaving the agent to infer that pdf_text is for the reverse direction.

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