Skip to main content
Glama

PDFWix

Add a text watermark to a PDF

add_watermark

Stamp text such as "CONFIDENTIAL" or "DRAFT" diagonally across PDF pages, with control over opacity and angle.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYesA single input file, given as either an HTTPS url or base64 contents.
textYesWatermark text, for example "CONFIDENTIAL".
angleNoRotation of the text in degrees.
pagesNoPages to stamp, for example "1-5". Defaults to every page.
opacityNoOpacity from 0.05 (very faint) to 1 (solid).
font_sizeNoText size in points.
output_filenameNoName for the resulting file.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

It discloses the diagonal placement and configurable opacity/angle, which goes beyond the basic annotations. However, it does not state whether the original file is modified or whether a new output file is produced; with no output schema, that behavioral gap remains.

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 purpose and key controls without any filler. Every clause contributes useful information for tool selection.

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?

Given the rich 100% schema coverage and clear purpose, the description is largely sufficient for an agent to call the tool correctly. It does not explain output/return behavior, but the schema already names output_filename and the overall intent is unambiguous.

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 parameters are already well documented. The description adds no meaning beyond mentioning opacity and angle, which aligns with the schema; baseline 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 a clear resource ('text ... across PDF pages'), with concrete examples like 'CONFIDENTIAL' or 'DRAFT'. This clearly distinguishes it from sibling tools such as add_page_numbers or compress_pdf.

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 the tool is for adding text watermarks to PDFs, and the examples suggest common use cases. However, it does not explicitly state when to prefer this tool over alternatives or mention any exclusions, so usage guidance is only implied.

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