Skip to main content
Glama

Text to PDF

text-to-pdf

Turn text files into neat PDF documents. Accepts txt, md, log. Returns the result file.

Input Schema

NameRequiredDescriptionDefault
filesYesAccepts txt, md, log; at most 50 MB in total.
optionsNoOptional settings; omitted ones use their default.

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?

Annotations already declare readOnlyHint=false with destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds one useful behavioral fact — 'Returns the result file' — which compensates for the absent output schema, but says nothing about where the output lives, how it is named, or whether anything is persisted.

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?

Two short sentences with the capability stated first and the supported formats and return behavior following. No filler, though the second half is slightly clipped ('Returns the result file') rather than informative.

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 straightforward format-conversion tool with full schema coverage, explicit annotations, and no output schema, the description covers what it does and what it returns. The size/count limits (10 files, 50 MB) and default option values live in the schema, so the description does not need to repeat them.

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 both the nested file objects and the options block are already documented precisely, including the upload_id vs content_base64 alternative. The description only echoes the file-type constraint that already appears in the schema's files array description, adding no new parameter meaning.

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 conversion (text files → PDF documents) and constrains the accepted input formats to txt, md, log, which separates it from inverse siblings like pdf-to-text and from office/image converters. It stops short of naming the exact sibling to choose for non-text inputs, so an agent must infer the boundary from the format list.

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?

The accepted-format list implicitly indicates when the tool applies and by omission that other converters (word-to-pdf, excel-to-pdf, convert-office) handle other source types. However, there is no explicit 'use X instead' routing and no stated prerequisites, so usage selection is inferred rather than directed.

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