Skip to main content
Glama
WendongAI

1pdf

by WendongAI

bates_number_pdf

Add continuous zero-padded Bates identifiers to PDFs for legal and audit document production. Customize prefix, suffix, position, and digits.

Instructions

Add continuous, zero-padded Bates identifiers for legal and audit document production.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYesAbsolute path to the PDF file
startNoFirst sequence number (default 1)
digitsNoZero-padded number width, 3-12 (default 6)
marginNoMargin in points, 0-144 (default 24)
prefixNoText before the number, e.g. "CASE-"
suffixNoText after the number, e.g. "-CONF"
positionNoPage corner (default bottom-right)
font_sizeNoFont size in points, 6-36 (default 10)
output_nameNoOutput file path (defaults to same dir with suffix)
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It fails to mention that the tool modifies PDFs (or creates a new file via output_name), whether the original is preserved, or any destructive implications. For a file-processing tool, this is a significant omission.

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 a single sentence that front-loads the action and avoids redundancy. It is appropriately concise for the purpose, though the lack of detail is reflected in other dimensions.

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

Completeness2/5

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

With 9 parameters, no annotations, and no output schema, a one-line description is insufficient. It does not explain what the tool returns, whether it modifies the original file, how it handles repeated runs, or any edge cases. The description covers only the basic purpose and leaves critical operational context unaddressed.

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 schema fully documents each parameter. The description adds the conceptual context of 'continuous, zero-padded' but does not provide any additional syntax, defaults, or behavior beyond what the schema already states. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Add') and clear resource ('continuous, zero-padded Bates identifiers') with context ('legal and audit document production'). It conveys the tool's unique function compared to simple page numbering, but does not explicitly name or contrast with sibling alternatives.

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 phrase 'for legal and audit document production' implies a use case, but there is no explicit guidance on when to use this tool versus alternatives like page_number or watermark, nor any exclusions. The usage context is implied rather than stated definitively.

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/WendongAI/onepdf-mcp-server'

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