Skip to main content
Glama

get_document

Retrieve full text content from documents by ID or path, extracting text from PDF, DOCX, and PPTX files for AI agent access to knowledge bases.

Instructions

Retrieve the full text content of a document by ID or path. For text files the original content is returned; for binary formats (PDF, DOCX, PPTX) the extracted text is returned.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
containerIdYesContainer ID or name
fileIdYesDocument ID (UUID) or virtual path (e.g., '/docs/readme.md')

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/Destrayon/Connapse'

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