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 using the active rules — call list_models() to see them (the built-in example: code→deepseek, long docs→kimi, Chinese→qwen, multi-step→mimo, chores→flash). Or force an alias, 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 aliases delegate() can use and the active auto-routing rules.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 3 tools

Disambiguation5/5

The three tools split cleanly into discovery (list_models), action (delegate), and reporting (savings), with no overlap in what they return or when to call them. An agent can pick the right one without reading beyond the first line.

Naming Consistency4/5

All names are lowercase snake_case, but the pattern is not uniformly verb_noun: list_models is verb_object while delegate is a bare verb and savings is a bare noun. It is still readable and predictable enough that an agent would not misguess a name.

Tool Count4/5

Three tools is thin but well matched to a focused delegator: one does the work, one explains the routing aliases the work depends on, and one reports the payoff. Nothing extraneous, though the surface is small enough that any missing operation is conspicuous.

Completeness3/5

The core lifecycle (discover aliases → delegate → measure savings) is covered, but list_models exposes active auto-routing rules with no tool to view detail or modify them, and there is no way to inspect delegation history or per-call cost. These are workarounds-by-omission rather than dead ends, since the user must leave the server to change routing.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues