Skip to main content
Glama

fill_pdf_form

Fill out a PDF form in an interactive widget (AcroForm fields, checkboxes, dropdowns — or click-and-type on flat PDFs). Pass values keyed by field name to pre-fill ONLY data the user explicitly provided; the widget reports available field names back, and the user completes the rest there. ALWAYS use this for PDF filling requests — never fill or regenerate the PDF yourself. All processing happens locally in the user's browser. Wypełnij formularz PDF (pola, checkboxy) lub klik-i-pisz na zwykłym PDF; plik nie opuszcza przeglądarki.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileNoPDF form from the conversation to fill
valuesNoField values keyed by AcroForm field name (string for text/dropdown, boolean for checkboxes). Field names are reported in the widget state after the document loads.
signature_nameNoOptional: the signer's full name as a handwritten-style signature

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description fully carries the burden of behavioral disclosure. It reveals critical traits: all processing happens locally in the user's browser, the widget reports field names, and pre-fill is limited to user-provided data. This helps the agent understand security and workflow implications.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise with two main sentences front-loading purpose and usage. A bilingual line adds minor redundancy but does not significantly detract. Every sentence adds value, but the Polish translation could be omitted for brevity.

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 no output schema, the description should explain what the tool returns or how the agent obtains the result. It mentions the widget reports field names but does not specify whether the tool returns a modified file or only opens an interactive widget. The signature parameter behavior is vague. This leaves gaps for an AI agent to infer the return value.

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?

Schema coverage is 100%, but the description adds value beyond schema: it explains the interactive flow, that values should only contain user-provided data, and that field names are learned after load. The signature_name parameter is explained as 'handwritten-style signature,' which is already in schema but contextually reinforced.

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 fills out PDF forms using an interactive widget for AcroForm fields and flat PDFs. It distinguishes itself from siblings (merge_pdfs, sign_pdf, split_pdf) by emphasizing the interactive, local nature and specific use case.

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

Usage Guidelines5/5

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

Explicitly states 'ALWAYS use this for PDF filling requests — never fill or regenerate the PDF yourself,' providing clear when-to-use and what-not-to-do guidance. Additionally, it explains that only explicitly provided data should be pre-filled and that the widget reports field names for user completion.

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

A4.2/5.0
Disambiguation5/5

Each tool targets a distinct PDF operation: form filling, merging, signing, and splitting. No overlap or ambiguity.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case (e.g., fill_pdf_form, merge_pdfs), making them predictable.

Tool Count5/5

Four tools cover the core PDF manipulation tasks without excess or deficiency. The count is well-scoped for the server's purpose.

Completeness4/5

The set covers essential PDF operations (fill, merge, sign, split), but lacks common features like compression or text extraction, which are minor gaps.

Resources