Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as Formify. If you published it, claim ownership there.

Get File Fields

get_file_fields
Read-onlyIdempotent

Retrieve all form fields in an uploaded PDF file before creating a document from it. Call this after upload_file to discover fields that can be pre-filled. Fields with required: true must have a value before the signer can sign, so mention them to the user when asking what to pre-fill. Value format rule: ONLY textField and radioButton take a plain string. ALL other types (checkbox, combobox, listbox) MUST be an array — even for a single value like ["Beginner"]. Field names containing tink-scan-id (a scan trigger) or tink-scanned-id- (an image of part of the document) place an image of the signer's identity document in the signed document; a trigger combined with a tink-scanned-id-mrz- attribute on the same field only fills in text. Treat such fields like digital_ink_id_scan: tell the user that a copy of the ID document will be embedded in the signed document and get an explicit yes before the document is sent.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "fileId": "<fileId>"
    },
    "name": "get_file_fields"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileIdYesUnique identifier of the uploaded file (from upload_file)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety is covered; the description goes well beyond them. It discloses that required: true fields block signing, that value types differ by field type (plain string only for textField/radioButton, arrays for everything else), and that tink-scan-id fields embed the signer's ID document and require an explicit yes — exactly the kind of consequential behavior an agent cannot infer from structured fields.

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?

Purpose is front-loaded in the first sentence and every subsequent sentence carries real rules rather than filler. It is a dense single block mixing return semantics, value-format rules and consent handling, which makes it heavier to scan than it needs to be, but nothing is truly wasted.

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

Completeness5/5

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

For a one-parameter read tool with full annotation coverage and no output schema, the description fully compensates: it explains what the returned fields mean, which ones are blocking, how values must be formatted per type, and what consent flow special fields trigger. An agent has everything needed to call it and act on the result.

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% on the single fileId parameter, so the schema already carries the semantics; the description only adds the provenance hint ("from upload_file"), matching the schema's parenthetical. Baseline is met with modest added value.

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 gives a specific verb and resource ("Retrieve all form fields in an uploaded PDF file") and scopes it to the upload path, which separates it from the sibling family get_document_fields / get_template_fields / get_link_fields. An agent can tell which container's fields this returns without opening the 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?

It states an explicit ordering constraint ("Call this after upload_file") and the intent ("to discover fields that can be pre-filled"), which is actionable sequencing guidance. It does not name the sibling alternatives or state when to use get_document_fields instead, so it stops short of full routing guidance.

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