Skip to main content
Glama

Apdf — PDF Tracking & Analytics

Read PDF Form

read-pdf-form
Read-only

List the form fields of a PDF with their type, current value, accepted options and what each field means: its "label" stored in the PDF and its "context", the printed text around it on the page (left, right, above, below, row, column), a hint read from the page layout. Fill the fields by their "name" with "fill-pdf-form"; use "visualize-pdf-form" to see which box on the page is which field.

Input Schema

NameRequiredDescriptionDefault
fileYesPublicly reachable URL of the PDF file whose form to read.
asyncNoRun the action asynchronously and return a job id instead of the result. Poll "check-job-status" or set "webhook_url" to receive a callback.
webhook_urlNoCallback URL invoked when an async job finishes. Only used when "async" is true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

readOnlyHint=true already declares the safety profile, and the description adds substantial value by describing the return structure (per-field type, value, options, label, context derived from surrounding printed text). It does not itself mention the async/webhook behavior, but that is fully carried by the schema; no contradiction with annotations.

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?

Front-loaded with the core action and resource, and the surrounding detail about what 'context' means (left, right, above, below, row, column) earns its place. It is a dense run-on sentence, slightly longer than needed, but nearly every clause conveys information.

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?

There is no output schema, so the description appropriately carries return-value semantics by detailing the field attributes. Combined with 100% schema coverage on inputs and annotations covering the read-only nature, an agent has what it needs, though permission/auth expectations are left unstated.

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%, and each of the three parameters (file, async, webhook_url) is documented in the schema. The description adds no parameter-level syntax or format detail, so this is the expected baseline of 3 when the schema does the heavy lifting.

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?

States a specific verb (List) and resource (form fields of a PDF) and enumerates exactly what each field entry contains: type, current value, accepted options, label, and context. It distinguishes itself from fill-pdf-form and visualize-pdf-form, so an agent can tell it apart from siblings without opening any schema.

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

Usage Guidelines4/5

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

Explicitly routes the agent to the correct siblings: filling goes to fill-pdf-form and spatial visualization goes to visualize-pdf-form. This gives clear downstream context, though it frames alternatives around uses of the result rather than stating when-not to call this tool (e.g. vs read-pdf-content).

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