Skip to main content
Glama
fastmcp-me

PDF Manipulation MCP Server

by fastmcp-me

pdf_add_text

Add text to a specific PDF page at precise X/Y coordinates. Provide the PDF path, page number, text, and position to insert labels, notes, or annotations.

Instructions

Add text to a PDF at a specified position.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xYes
yYes
textYes
colorNo
pdf_pathYes
font_sizeNo
page_numberYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations present, the description carries the full burden for behavioral disclosure. It only states the action and position, but does not reveal whether the PDF is modified in-place, how the coordinate system works, how page numbers are indexed, or whether the input file is preserved. This is a significant gap for a mutation tool.

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, grammatically complete sentence with no wasted words. It is formatted plainly and front-loads the core action clearly, which fits the conciseness criterion.

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?

Given 7 parameters, 5 required, and no annotations, the description is insufficiently complete. It omits crucial context such as coordinate system, unit of measurement, file mutation semantics, and error/return behavior. The presence of an output schema is noted, but the input handling remains underspecified.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description provides no additional meaning for parameters beyond their names. It does not explain the units for x/y, the coordinate origin, the expected format for color, or the range/validity of page_number. The sparse one-line description fails to compensate for the undocumented schema.

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 clearly states the action ('Add text') and the resource ('to a PDF') with a positional qualifier ('at a specified position'). It is specific enough to distinguish from sibling tools like pdf_replace_text (replace vs. add), though it does not explicitly contrast with alternative tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus siblings such as pdf_replace_text or pdf_add_annotation. The usage is only implied by the tool name and description, with no explicit context or exclusions.

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/fastmcp-me/pdf-manipulation-mcp-server'

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