Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoThe host to bind the server to.0.0.0.0
PORTNoThe port to listen on.8000

Capabilities

Features and capabilities supported by this server

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

Tools

Functions exposed to the LLM to take actions

NameDescription
distill_jsonB

Compress JSON structures by collapsing large arrays and metadata while preserving error fields. Supports iterative budget-based compression.

distill_logsB

Filter and compress raw logs by preserving startup context, shutdown state, and matching error traces while omitting large blocks of repetitive status messages.

distill_schemaA

Reduce token overhead of MCP tool schemas or JSON Schemas. Strips descriptions/examples (compact mode) or collapses to parameter names/types (minimal mode).

distill_responseC

Progressively compress any generic tool response (JSON, HTML, or text) to fit within a specific token budget.

distill_conversationA

Extract a high-level briefing (goals, decisions, errors, current state, pending tasks) from a conversational message trace (JSON array or raw text) to fit within a token budget.

stabilize_for_cacheA

Normalize dynamic elements like UUIDs, timestamps, and hex IDs to sequential placeholders, maximizing provider-level prompt caching hit rates.

analyze_tokensA

Count tokens using model-aware tokenizers and estimate API costs across multiple configured models.

compareB

Generate comparison metrics (token count reduction, compression ratio, cost savings) between uncompressed and distilled text formats.

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/yatinkoul/distill-mcp-v2'

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