Skip to main content
Glama

get_document_info

Extract document metadata including page count, sheet count, slide count, and file size from Excel, Word, PDF, and text files to analyze document structure and properties.

Instructions

Get document metadata (page count, sheet count, slide count, file size, etc.)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYesAbsolute path to the document file
file_typeNoOverride file type detection (optional). Specify format explicitly instead of relying on extension

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNo
pagesNo
sheetsNo
slidesNo
tablesNo
headersNo
successNo
encodingNo
metadataNo
file_sizeNo
file_typeNo
key_countNo
item_countNo
line_countNo
paragraphsNo
total_colsNo
total_rowsNo
total_wordsNo

Tool Definition Quality

Score is being calculated. Check back soon.

Install Server

Other Tools

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/mcpc-tech/docsmith-mcp'

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