Skip to main content
Glama

Add page numbers to a PDF

pdf_add_page_numbers
Read-onlyIdempotent

Stamp page numbers or footer text onto every page of a PDF. Supports a starting number, roman numerals, skipping a cover page, position and font size — the combination Acrobat cannot do without scripting. Template supports {n} and {total}, e.g. "Page {n} of {total}".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesPublic URL of the PDF.
textNoTemplate, default "{n}". Use {n} and {total}.
styleNoarabic (default) | roman (i, ii, iii) | ROMAN (I, II, III)
positionNobottom-center (default) | bottom-left | bottom-right | top-center | top-left | top-right
start_atNoNumber to start from (default 1).
font_sizeNoFont size, default 10.
skip_firstNoLeave this many leading pages unnumbered, e.g. 1 for a cover.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare the tool safe (read-only, idempotent, non-destructive). The description adds behavioral details like template syntax and options but does not disclose side effects such as output generation or potential limitations. Given the annotations cover safety, the additional context earns a moderate score.

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 concise, just two sentences, with the primary action front-loaded. It avoids fluff and includes a concrete example, making every sentence useful.

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?

With 7 parameters and existing output schema and annotations, the description provides a good summary of capabilities and the critical template example. It doesn't explicitly mention return format, but the output schema covers that. Some edge-case guidance is missing, but overall sufficient.

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?

The schema provides 100% parameter descriptions, setting a baseline of 3. The description adds value by explaining the template format with {n} and {total} and giving an example, which clarifies how parameters combine. It also summarizes parameters in natural language, enhancing understanding.

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 states the tool's function: 'Stamp page numbers or footer text onto every page of a PDF.' It distinguishes itself from siblings by listing specific features like starting number, roman numerals, and template support, making it unique among PDF tools.

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 for adding page numbers or footer text but does not explicitly contrast with sibling tools like pdf_watermark or pdf_rotate. It provides context by mentioning 'the combination Acrobat cannot do without scripting' but lacks explicit when-to-use or alternative guidance.

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.

TDQS

A3.5/5.0
Disambiguation5/5

Each tool has a distinct purpose: conversions follow a clear source-target format, and PDF operations (merge, split, rotate, watermark, page count, page numbers) are clearly separated. The what_can_you_do meta-tool further helps route ambiguous tasks. There is no meaningful overlap between tools.

Naming Consistency3/5

Conversion tools consistently use source_to_target naming (md_to_docx, docx_to_md), but PDF tools mix verb_first (merge_pdf, split_pdf) with noun_first (pdf_page_count, pdf_rotate, pdf_add_page_numbers). The names are readable and searchable, but the pattern is not uniform across the set.

Tool Count5/5

13 tools is well within the ideal range for a document-conversion and PDF processing server. Each tool provides a meaningful, distinct operation. The set does not feel padded or overly narrow.

Completeness4/5

The server covers the common conversion flows (DOCX to MD, MD to various formats) and core PDF operations like merge, split, rotate, watermark, and page numbering. Minor gaps are the lack of direct PDF-to-editable-format conversion and non-document input handling, but the described workflows are well covered through chaining.