Skip to main content
Glama
PDF Action Inspector

PDF Action Inspector

Official

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNoLog levelINFO
PDF_CACHE_TIMEOUT_SECONDSNoCache timeout120

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": true
}
resources
{
  "subscribe": false,
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
analyze_pdf_actions_securityB

Generate PDF Actions security analysis prompt

Extract all Actions data from PDF file and combine with predefined security analysis strategies to generate complete analysis prompt. The prompt contains analysis strategies, document basic information, extracted Actions data and analysis requirements.

extract_pdf_actionsA

Pure extraction of Actions data from PDF file

Extract Actions from all levels of the PDF file and return structured JSON data, without any analysis or evaluation.

get_document_overviewA

Get complete structural overview of PDF document

Provides comprehensive information about PDF document, including basic info, document structure, functional features and statistical data.

load_all_annotationsC

Load all annotations in PDF file and analyze their Actions

Extract all types of annotations in PDF, including Widget annotations (form fields), text annotations, link annotations, etc., and analyze Actions associated with each annotation.

get_page_text_contentB

Extract text content and metadata from specified PDF page

Extract all visible text content from specified page of PDF, while providing basic information about the page.

get_trailer_objectB

Get PDF file Trailer object and document structure information

Extract PDF file's Trailer dictionary, which is important structural information of PDF file, containing root object references, encryption information, document information and other key data.

get_fields_by_nameB

Get PDF form field information by field name

Search for form fields with specified name in PDF document and return detailed field information. Supports fuzzy matching, will find all fields whose names contain the specified string.

get_pdf_object_informationB

Get detailed information of specified object in PDF file

Extract object content and type information for specific object number in PDF. Can be used for in-depth analysis of PDF internal structure and object relationships.

load_all_annotations_in_pageB

Load all annotations for specified page

get_page_information_by_spansC

Get information for multiple pages by page range

get_page_index_by_pdfobjnumB

Find the page containing object by PDF object number

clear_pdf_cacheD

Clear PDF cache

get_cache_statusC

Get cache status information

set_pdf_passwordB

Set and verify password for encrypted PDF file

Store password for specific PDF file and immediately verify it works by attempting to open the PDF. This allows processing of encrypted PDFs by providing the correct password.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.1/5.0

Scored across 14 tools

Disambiguation4/5

Most tools have clearly distinct purposes, especially extraction versus analysis, cache management, password handling, and object/page inspection. A few pairs could still be confused at a glance, such as load_all_annotations versus load_all_annotations_in_page and get_page_information_by_spans versus get_page_text_content, though the descriptions clarify them.

Naming Consistency4/5

Names consistently use snake_case with recognizable verb prefixes such as get_, load_, extract_, analyze_, set_, and clear_. The pattern is mostly predictable, with minor verbosity and slightly awkward phrasing in names like get_page_index_by_pdfobjnum and analyze_pdf_actions_security.

Tool Count5/5

The server has 14 tools, which is well within a reasonable range for a focused PDF inspection and analysis server. Each tool appears to cover a specific inspection, extraction, cache, or security capability without excessive overlap.

Completeness4/5

The surface covers the core PDF action-inspection workflow well: extraction, security analysis prompt generation, annotations, page information, object lookup, document overview, trailer data, form fields, password handling, and cache management. Minor gaps exist, such as no obvious tool for listing all form fields without a name filter, but most agents can work around this through annotations or other inspection tools.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues