Skip to main content
Glama

pdf_fill_form

Read-onlyIdempotent

Fill a PDF form's fields client and server side from freedailypro — sets text/checkbox/dropdown/radio field values and returns the filled PDF, optionally flattened so it can no longer be edited

Input Schema

NameRequiredDescriptionDefault
valuesNoField name -> text value, for text/dropdown/radio fields
checkedNoField name -> checked state, for checkbox fields
flattenNoIf true, bakes the values in and removes the ability to edit them further
fileBase64YesThe PDF file, base64-encoded

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), yet the description adds real context the annotations do not: a filled PDF is returned rather than the source being edited, and flatten irreversibly bakes values in so the output can no longer be edited. No contradiction with readOnlyHint, since the original file is untouched and only a new document is produced.

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?

A single front-loaded sentence that leads with the verb and packs the useful details (field types, returned PDF, flatten effect) with no repetition. The qualifying phrase "client and server side from freedailypro" is unclear branding filler that does not help an agent decide or invoke.

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?

For a 4-parameter, nested-object tool with no output schema, the description states what is returned (a filled PDF) but not in what form (e.g. base64, matching the input encoding), and omits the field-discovery prerequisite. Annotations carry the safety information, so the remaining gaps are moderate but real.

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 values, checked, flatten and fileBase64 are all documented in the schema itself; the description largely restates them (mapping text/dropdown/radio to values and checkboxes to checked). It adds no syntax, encoding, or format detail beyond the schema, so the baseline of 3 applies.

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 gives a specific verb and resource ("Fill a PDF form's fields") and enumerates exactly which field kinds are supported (text/checkbox/dropdown/radio), plus the return artifact. It does not distinguish itself from the close sibling pdf_parse_fillable_form, which an agent must use first to learn field names, so it falls short of a 5.

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?

There is no explicit when-to-use/when-not statement, no prerequisite guidance (you must already know the field names, presumably via pdf_parse_fillable_form), and no criterion for when to set flatten versus leaving the form editable. Usage is only inferable from the name and verb.

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