Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DISTILL_HTML_DIRNoHTML output directory~/Documents/蒸馏文稿
DISTILL_OBSIDIAN_DIRNoObsidian vault directory~/Documents/obsidian

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
distill_urlA

Distill content from a URL into HTML article + Obsidian note.

Supports:

  • Feishu documents (feishu.cn, larkoffice.com)

  • Webpages (any HTTP/HTTPS URL)

  • PDF files (.pdf URLs)

  • Video/podcast URLs (YouTube, Bilibili, etc. - returns guidance)

Output:

  • HTML distillation article saved to ~/Documents/蒸馏文稿/

  • Obsidian note saved to ~/Documents/obsidian/{subdir}/

For large documents, set async_mode=true and poll with get_distill_status.

distill_fileA

Distill content from a local file into HTML article + Obsidian note.

Supports:

  • PDF files (.pdf)

  • HTML files (.html, .htm)

  • Text/Markdown files (.txt, .md)

  • Audio/Video files (.mp3, .m4a, .wav, .mp4 - returns guidance)

Output:

  • HTML distillation article saved to ~/Documents/蒸馏文稿/

  • Obsidian note saved to ~/Documents/obsidian/{subdir}/

get_distill_statusA

Check the status of an async distillation task.

Returns the task status, progress, and result (if completed). Poll this periodically until status is 'completed' or 'failed'.

list_distillationsA

List all completed distillations.

Returns a list of completed distillation tasks with metadata. Use get_distill_status with a task_id to get full content.

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/shawnwei512/doc-distillation-mcp'

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