Skip to main content
Glama

pdf_txt_to_pdf

TXT to PDF — Convert a plain text file to a formatted PDF document. [category: pdf]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYesInput file (TXT)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations provide readOnlyHint=false and destructiveHint=false, and the description does not contradict them. The description adds the core behavioral fact that it converts TXT to a formatted PDF, but it does not disclose details like output delivery, formatting assumptions, or possible limitations such as file size or encoding.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single front-loaded sentence with an optional category tag. It conveys the essential information in very few words and contains no filler or redundant elaboration.

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?

Given the low complexity of the tool (one parameter, no nested objects, no output schema), the description provides enough information to understand the operation and its result. It could be slightly more complete by stating what the tool returns, but 'formatted PDF document' strongly implies the output format.

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 single 'file' parameter is already documented as 'Input file (TXT)'. The description's phrase 'plain text file' adds minimal nuance beyond the schema but does not materially expand parameter meaning.

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

Purpose5/5

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

The description uses a specific verb ('Convert') with a clear resource mapping: plain text file to a formatted PDF document. This clearly distinguishes it from sibling conversion tools like pdf_html_to_pdf or pdf_excel_to_pdf based on input type.

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?

No guidance is given about when to choose this tool over alternatives. With many sibling conversion tools, such as convert_document or the other pdf_*_to_pdf tools, the description could explicitly state that this is intended specifically for TXT input and not for other document formats.

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