Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DELEGATE_LOGNoWhere the savings ledger lives~/.cheaplane/usage.jsonl
DELEGATE_NO_LOGNoSet to 1 to disable the ledger entirely
DELEGATE_API_KEYNoKey for that endpointsk-litellm
DELEGATE_TIMEOUTNoPer-call timeout (seconds)120
DELEGATE_BASE_URLNoOpenAI-compatible endpoint (your proxy)http://localhost:4000
DELEGATE_MODEL_MAPNoJSON remapping aliases, e.g. {"deepseek":"deepseek-v4-flash"} — overrides defaults, no code edit

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
delegateA

Offload a self-contained subtask to a cheaper model and return its output.

WHEN TO USE: hand off replaceable grunt work to save your premium tokens — boilerplate code, small bug fixes, formatting, translation, reading/summarizing long documents, drafting routine copy. Do NOT delegate judgment work (planning, architecture, final review, talking to the user) — keep that for yourself.

The delegated model sees ONLY the task string and has NO access to this conversation. So make task fully self-contained (include all needed context).

Args: task: Complete, self-contained instruction for the cheap model. model: "auto" (default) routes by task — code→deepseek, long docs→kimi, Chinese→qwen, multi-step→mimo, quick chores→flash. Or force an alias (deepseek/mimo/flash/kimi/qwen) or a raw proxy model_name. max_tokens: Output cap. Default 4000 (kept large so reasoning models that spend budget on hidden thinking still return non-empty text).

Note: a call typically takes ~10-60s (longer for big inputs) and blocks until the cheap model returns, so prefer one focused task per call.

Returns: The model's text output, or a string starting with "[delegate-error]" on failure.

savingsA

Show what delegating has kept off your premium quota (estimates, list prices).

list_modelsA

List the model aliases available to delegate(), with their best use.

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/millennialdreamer/cheaplane'

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