Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CONTEXT_MONITOR_BPTNoBytes-per-token ratio
CONTEXT_MONITOR_BUFFERNoAutocompact buffer (tokens)
CONTEXT_MONITOR_WINDOWNoContext window size (tokens)
CONTEXT_MONITOR_BACKENDNoForce backend: claude-code or codex-cli
CONTEXT_MONITOR_OVERHEADNoStatic overhead estimate (tokens)
CONTEXT_MONITOR_TRANSCRIPTNoExplicit transcript file path
CONTEXT_MONITOR_PROJECT_DIRNoTranscript directory

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
context_statusA

Estimate current context window usage and distance to compaction. Returns phase (open/midstream/narrowing/threshold), token estimates, and profile range (coding/balanced/reading). Use this to self-manage: open (<50%), midstream (50-80%), narrowing (80-92%, start choosing what to carry), threshold (>92%, write what matters now). Optionally pass transcript_path to target a specific session file.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.6/5.0

Scored across 1 tool

Disambiguation5/5

With only a single tool, there is no ambiguity or overlap in the set. The tool's purpose is clearly defined and distinct.

Naming Consistency5/5

The tool name 'context_status' is descriptive and follows a consistent style. Since there is only one tool, naming consistency is perfect.

Tool Count2/5

The server has exactly one tool, which is considered too few for a functional toolset. It provides a single point of functionality but lacks supporting tools.

Completeness4/5

The tool covers the core need of monitoring context usage with clear thresholds, but it lacks additional features like history tracking or configuration, leaving minor gaps.

Maintenance

ActivityInactive
ResponsivenessNo issues