Skip to main content
Glama

create_test_pdf_file

Generate a blank test PDF to try other PDF tools without needing a real file. Set page count, title, and output path.

Instructions

Create a test PDF, handy for trying the other tools without hunting for one.

The pages are blank, so this is for exercising tools rather than for anything that needs real content.

Args: output_path: Optional path to also write the PDF to. Omit to keep it as a temporary artifact. num_pages: Number of blank pages to create (default: 3) title: Optional title for the PDF metadata

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNo
num_pagesNo
output_pathNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral load. It usefully discloses that omitting output_path leaves the result as a temporary artifact and that pages are blank, which are real behavioral facts. It does not mention overwrite behavior, error conditions, or permissions, though those matter little for a local fixture generator.

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?

Purpose and the caveat about blank pages are front-loaded, and the args block is compact. The prose is slightly conversational but every sentence adds usable information.

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?

An output schema exists, so return values need not be described. For a simple zero-required-parameter fixture generator with no annotations, the description covers purpose, usage context, and all parameters adequately; only edge-case behavior is unspecified.

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

Parameters4/5

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

Schema description coverage is 0%, so the description has to compensate, and it does: all three parameters are explained with meaning beyond the schema, including output_path's omit-to-stay-temporary behavior and the defaults for num_pages and title. Only minor format/syntax details are absent.

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+resource ('Create a test PDF') and clarifies the artifact is intentionally blank. It is clearly distinct from the reader/inspector siblings, but it never names one, so the differentiation is implied rather than stated.

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

Usage Guidelines4/5

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

'Handy for trying the other tools without hunting for one' gives a concrete trigger for use, and the note that pages are blank states the intended scope ('exercising tools rather than for anything that needs real content'). No explicit when-not or named alternative, but the context is unambiguous.

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