Skip to main content
Glama

read_document

Extract content from documents including Excel, Word, PowerPoint, PDF, and text files using raw or paginated reading modes with interactive UI support.

Instructions

Read document content (Excel, Word, PowerPoint, PDF, TXT, CSV, Markdown, JSON, YAML). Supports raw full read or paginated mode. Includes interactive UI for Excel and PDF.

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
modeNoRead mode
pageNoPage number for paginated mode
page_sizeNoItems per page
sheet_nameNoSheet name for Excel files

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
pageNo
errorNo
sheetsNo
slidesNo
tablesNo
contentNo
headersNo
successNo
encodingNo
has_moreNo
page_sizeNo
paragraphsNo
sheet_nameNo
total_colsNo
total_rowsNo
total_linesNo
total_pagesNo
current_pageNo
total_slidesNo
total_tablesNo
total_paragraphsNo
total_page_groupsNo
current_page_groupNo

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