Skip to main content
Glama

PDFWix

Add page numbers to a PDF

add_page_numbers

Stamp sequential page numbers onto a PDF, with a choice of corner, starting number and format.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYesA single input file, given as either an HTTPS url or base64 contents.
formatNoNumber style: "number" gives 1, "page-x" gives Page 1, "page-x-of-y" gives Page 1 of 10.number
positionNoWhere the number is placed on each page.bottom-center
start_atNoNumber shown on the first numbered page.
font_sizeNoText size in points.
output_filenameNoName for the resulting file.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already cover mutability (readOnlyHint=false) and non-destructiveness (destructiveHint=false). The description adds that it 'stamps' numbers but does not disclose whether a new file is produced, whether the original is preserved, or any side effects. Minimal additional behavioral context beyond annotations.

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?

A single sentence that front-loads the main action and summarizes the important options without filler. Every word contributes to understanding the tool's purpose and capabilities.

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

Completeness3/5

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

For a tool with 6 parameters, a nested file object, and no output schema, the description is adequate but relies heavily on the schema. It does not describe the return value or explicitly state that a new PDF is produced, though the schema and annotations fill most gaps.

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 all six parameters already have meaningful descriptions. The description reinforces position, start_at, and format but adds no new meaning beyond what the schema provides. Baseline of 3 is appropriate.

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 ('stamp') and resource ('sequential page numbers onto a PDF'), and lists the key configuration choices (corner, starting number, format). This clearly differentiates it from the sibling add_watermark, since page numbering is a distinct operation.

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 description implies usage: you use it when you need page numbers on a PDF. However, it does not explicitly mention when to prefer this over alternatives like add_watermark, nor does it provide exclusions or conditions. Usage guidance is only implicit.

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