Skip to main content
Glama

MCP PDF Forms

by Wildebeest

extract_text

Extract text from PDF files by specifying page ranges. Retrieve single-page content as text or multi-page data as a dictionary mapping pages to their text. Simplify text extraction for targeted or full-document analysis.

Instructions

Extract text from PDF pages Args: pdf_path: Path to the PDF file start_page: Page number to start extraction (0-indexed). If None, starts from first page. end_page: Page number to end extraction (0-indexed, inclusive). If None, ends at start_page if specified, otherwise extracts all pages. Returns: If extracting a single page: string containing the page text If extracting multiple pages: dictionary mapping page numbers to page text

Input Schema

NameRequiredDescriptionDefault
end_pageNo
pdf_pathYes
start_pageNo

Input Schema (JSON Schema)

{ "properties": { "end_page": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "End Page" }, "pdf_path": { "title": "Pdf Path", "type": "string" }, "start_page": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Start Page" } }, "required": [ "pdf_path" ], "title": "extract_textArguments", "type": "object" }
Install Server

Other Tools from MCP PDF Forms

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/Wildebeest/mcp_pdf_forms'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server