Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

TokenBar reports the user's AI usage limits (Claude Code, Codex, Copilot, Windsurf…). Before starting a long or expensive task, call check_budget for the provider you run on; if ok is false, tell the user and suggest waiting until the reset.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_usageA

Current usage of AI subscription limits (Claude Code, Codex, GitHub Copilot, Windsurf and any AI the user added to TokenBar). For each AI: windows (usually 5h and 7d) with usedNow (% used right now, 0 after the reset time), resetsAt (unix s) and resetsInSeconds.

time_until_resetA

Seconds (and human text) until a provider's usage window resets. Default window: the first (5h).

check_budgetA

Checks if a provider is below a usage threshold, so you can decide whether to start a long or expensive task now or postpone it until the limit resets. Without window, checks every window and reports the tightest one. Returns ok, usedNow, resetsInSeconds and advice.

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

Disambiguation4/5

The tools map to mostly distinct intents: broad usage snapshot, reset timing, and threshold-based advice. However, get_usage already returns resetsInSeconds and usedNow, so time_until_reset and check_budget partly overlap with it for simple queries.

Naming Consistency4/5

Two of the three tools follow a clear verb_noun snake_case pattern (get_usage, check_budget). time_until_reset is a noun phrase rather than verb-led, a minor deviation, but the set remains predictable and readable.

Tool Count5/5

Three tools are well suited to a focused read-only usage-monitoring server. The small surface keeps scope tight and avoids overwhelming the agent.

Completeness4/5

Core workflows are covered: seeing current usage, checking reset timing, and deciding whether to start expensive work. Minor gaps remain around explicit provider discovery/configuration and historical usage, though get_usage likely lets agents discover configured providers.

Maintenance

ActivityNo data
ResponsivenessOutdated data