Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GMA_API_KEYNoHosted mode API key (overrides config file). Alternative to GRAPHMYANYTHING_API_KEY.
GRAPHMYANYTHING_MODENoSet to `local` to force local mode.
GRAPHMYANYTHING_API_KEYNoHosted mode API key (overrides config file).
GRAPHMYANYTHING_DB_PATHNoCustom SQLite file path. Defaults to ~/.graphmyanything/metrics.db.
GRAPHMYANYTHING_API_BASENoOverride hosted API base (testing).
GRAPHMYANYTHING_CHARTS_DIRNoCustom chart output directory. Defaults to charts/ next to the DB when the DB path is custom; otherwise ~/.graphmyanything/charts/.
GRAPHMYANYTHING_CONFIG_PATHNoCustom path for config.json. Defaults to ~/.graphmyanything/config.json (mode 0600).

Instructions

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

If graphmyanything tools are not in your tool list, stop and ask the user to enable graphmyanything in their client's MCP settings. Never read ~/.graphmyanything or any credentials file, never call the hosted API directly, and never drive the stdio server by hand. Metric names: namespace.metric.unit. Send ALL points in one track call (points[], points_csv, or points_json)—no batching. Free reads last 90 days by point timestamp (older stored, hidden until Pro). Multi-metric charts need Pro. Call guide (usage|chart) for more.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
trackA

Upsert by metric+ts; written/replaced counts. Free reads last 90d by point ts; send all points at once.

queryD

Summary + optional LTTB series.

insightC

Trend, anomalies, naive forecast.

forgetB

Delete points (metric required). Whole metric: all:true and confirm:true.

chartC

SVG; align:season overlays years on M/D axis. Multi (2–5) needs Pro. guide topic chart.

guideC

Full usage or chart markdown (topic usage|chart; omit for both).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
chart-guideWhen to pick line/bar/area, theme, labels, range, and season overlay for the chart tool
usage-guideWhen to track, query, insight, or chart — naming, idempotency, freshness, token hints

TDQS

C2.9/5.0

Scored across 6 tools

Disambiguation4/5

Each tool has a distinct role: track writes, query reads summaries/series, insight analyzes, forget deletes, guide documents, and chart renders SVG. The main overlap is that query, insight, and chart all retrieve/derive from stored data, and the terse descriptions (LTTB, align:season) leave minor room for misselection, but output differences make them largely distinguishable.

Naming Consistency3/5

All names are lowercase single-word tokens, which gives a consistent surface style, but the set mixes verbs (track, forget, query) with nouns (insight, chart, guide) rather than following a verb_noun pattern. It remains readable but the grammatical inconsistency is noticeable.

Tool Count5/5

Six tools is well within the ideal 3–15 range and each tool maps to a distinct lifecycle action (ingest, read, analyze, visualize, delete, docs). No tool appears redundant or bloated for a time-series metrics server.

Completeness4/5

The core lifecycle is covered: upsert (track), read (query), analyze (insight), render (chart), delete (forget), and documentation (guide). The notable gap is the absence of a list/discover-metrics operation, so an agent must already know metric names to query or delete them.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues