Skip to main content
Glama

get_pdf_page_count

Count the total number of pages in a PDF document to verify document length or prepare for processing tasks.

Instructions

Get the total number of pages in a PDF file

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filePathYesAbsolute path to the PDF file

Latest Blog Posts

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/rturv/mcp-pdf-reader'

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