Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OFFICEREADER_CACHE_DIRNoDirectory for cached conversions

Tools

Functions exposed to the LLM to take actions

NameDescription
convert_document

Convert Office documents to Markdown format for Claude to read.

Supported formats:

  • Word: .docx, .doc

  • Excel: .xlsx, .xls (converts each sheet to a Markdown table)

  • PowerPoint: .pptx, .ppt (extracts text and images from slides)

Features:

  • Text extraction with formatting (headings, bold, italic, lists, tables)

  • Image extraction and optimization (auto-compressed for efficiency)

  • Speaker notes extraction from PowerPoint

  • Multi-sheet support for Excel

Images are automatically optimized (WebP format, max 1920x1080) to reduce size while maintaining readability for Claude.

read_converted_markdown

Read the content of a previously converted markdown file.

Use this after convert_document to get the actual markdown content. This is useful when you want to process or analyze the converted document.

list_conversions

List all cached document conversions.

Shows all documents that have been converted, including their output paths and number of extracted images. Useful for finding previously converted files.

clear_cache

Clear all cached conversions.

Removes all converted markdown files and extracted images from the cache. Use this to free up disk space or reset the conversion cache.

get_document_metadata

Get metadata from an Office document without full conversion.

Extracts document properties like title, author, creation date, etc. Faster than full conversion when you only need metadata.

Supported formats: .docx, .doc, .xlsx, .xls, .pptx, .ppt

get_supported_formats

Get list of all supported file formats.

Returns a dictionary of file types (word, excel, powerpoint) and their extensions.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/Asunainlove/OfficeReader-MCP'

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