Skip to main content
Glama
EigenCharlie

pdf-toolkit-mcp

by EigenCharlie

add_page_numbers

Stamp customizable page numbers onto PDF files by specifying starting number, page range, and placement (top/bottom, left/center/right).

Instructions

Stamp page numbers onto a PDF. Configure starting number, which pages to number, and placement (top/bottom + left/center/right).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pagesNoWhich pages to number: "all" (default) or a range like "1-5" or list "1,3,5".all
input_fileYesPath to the PDF file to stamp with page numbers.
output_pathNoOptional output path. If it ends with the expected extension, the file is written there. If it is a directory, the file is placed inside with a timestamped name. Defaults to the same directory as the first input.
starting_numberNoNumber to use for the first stamped page. Default: 1.
vertical_positionNoVertical placement of the page number. Default: "bottom".bottom
horizontal_positionNoHorizontal placement of the page number. Default: "center".center
Behavior3/5

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

No annotations are present, so the description must disclose behavior. It states that page numbers are 'stamped' and configurable, but does not clarify whether the file is modified in-place or created anew, nor does it mention default output behavior (though some details are in the schema).

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 sentences capture the tool's purpose and primary options without extraneous text. Key information is front-loaded.

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?

Given 6 parameters and no output schema or annotations, the description is adequate but incomplete. It covers the main function but omits behavior details like output handling or error conditions.

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 baseline is 3. The description reiterates three key parameters (starting number, pages, placement) but adds no new meaning beyond what the schema already provides.

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 clearly uses 'Stamp page numbers onto a PDF' as the verb+resource, and specifies configurable aspects (starting number, pages, placement). It distinguishes this tool from siblings like add_watermark or merge_pdf by naming a specific function.

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?

No explicit when-to-use or when-not-to-use guidance is provided. The context of sibling tools suggests this is the only page numbering tool, but the description does not clarify when to prefer it over alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/EigenCharlie/pdf-toolkit-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server