Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AI_MODELNoThe specific AI model to use for decomposition and compilation.claude-3-5-haiku-20241022
AI_PROVIDERNoThe AI provider to use for prompt decomposition. Supported values: 'anthropic', 'openai'.anthropic
OPENAI_API_KEYNoAPI key for OpenAI. Required if AI_PROVIDER is set to 'openai' and heuristic fallback is not desired.
ANTHROPIC_API_KEYNoAPI key for Anthropic. Required if AI_PROVIDER is set to 'anthropic' and heuristic fallback is not desired.

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
decompose_promptA
Decompose a raw prompt into structured blocks (role, objective, context, constraints, etc.).

Uses AI (Claude/OpenAI) if an API key is configured on the server, otherwise
falls back to keyword-based heuristic analysis.
Returns a JSON list of blocks ready to edit or pass to compile_prompt.

Args:
    prompt: The raw prompt string to decompose.

Returns:
    A summary of extracted blocks + the full JSON to pass to compile_prompt.
compile_promptA
Compile a list of blocks into a Claude-optimized structured XML prompt.

Takes the JSON returned by decompose_prompt (or manually crafted blocks)
and produces a ready-to-use XML prompt with a token estimate.

Args:
    blocks_json: JSON-stringified list of blocks.
                 Each block: {"type": "role|objective|...", "content": "...",
                              "label": "...", "description": "...", "summary": ""}

Returns:
    The compiled XML prompt with token estimate.
list_block_typesA
List all available block types in flompt with their descriptions.

Useful to know which types to use when manually crafting blocks
to pass to compile_prompt.

Returns:
    Description of each block type and the recommended canonical ordering.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.4/5.0

Scored across 3 tools

Disambiguation5/5

Each tool has a unique, clearly defined role: decompose breaks down prompts, compile assembles them, and list_block_types provides reference. No ambiguity.

Naming Consistency5/5

All tools follow a consistent verb_noun pattern with snake_case (compile_prompt, decompose_prompt, list_block_types), making the purpose obvious.

Tool Count5/5

With only 3 tools, the server is tightly scoped to a focused prompt engineering workflow—no bloat, each tool earns its place.

Completeness5/5

The set covers the full pipeline: decompose an existing prompt, list available block types for manual editing, and compile into XML. No obvious gaps for the intended domain.

Maintenance

ActivityInactive
ResponsivenessNo issues