Skip to main content
Glama

create_test_pdf_file

Generate blank test PDFs for exercising PDF tools. Specify page count, title, and optional output path to create sample files on demand.

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

A4.8/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden. It discloses that the PDF pages are blank, and that omitting output_path keeps it as a temporary artifact while providing a path writes the PDF there. It doesn't mention cleanup or permissions, but for a simple test-file generator these are minor given the self-contained nature.

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?

Two intro sentences establish purpose and limitation, then a compact Args list documents parameters. No redundant or filler sentences; the most important scoping detail ('blank pages') is front-loaded.

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

Completeness5/5

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

For a low-complexity tool with three optional parameters and an output schema, the description covers purpose, use context, behavior, and parameter semantics. There is nothing an agent needs in order to select and invoke it correctly that is missing.

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

Parameters5/5

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

Although schema description coverage is 0%, the description's Args section fully explains every parameter: output_path optional path or temporary artifact, num_pages as the count of blank pages, and title as metadata. This adds meaning well beyond the bare schema properties and defaults.

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 states a specific verb and resource: 'Create a test PDF.' It also explains the intended niche ('handy for trying the other tools') and clarifies the pages are blank, which distinguishes this generator from the sibling PDF-analysis/processing tools.

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

Usage Guidelines5/5

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

It explicitly says this is for 'exercising tools' and 'rather than for anything that needs real content,' giving clear when-to-use guidance. Although it doesn't name an alternative tool, no sibling creates PDFs, so the intended context is unambiguous.

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