Skip to main content
Glama
Pawangunjkar

Observability MCP Server

by Pawangunjkar

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOKI_URLNoThe URL of the Loki server.http://localhost:3100
TEMPO_URLNoThe URL of the Tempo server.http://localhost:3200
GRAFANA_URLNoThe URL of the Grafana server.http://localhost:3000
GRAFANA_TOKENNoThe API token for Grafana annotations.
PROMETHEUS_URLNoThe URL of the Prometheus server.http://localhost:9090

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
obs_connectC

Save backend URLs and probe /ready or Grafana /api/health.

obs_disconnectC

Drop an observability session.

obs_statusA

List configured observability sessions.

obs_query_metricsC

Run an instant PromQL query, for example sum(rate(http_requests_total[5m])).

obs_error_rateC

HTTP 5xx rate for a service label over 5 minutes, if that metric exists.

obs_query_logsC

Run a LogQL query, for example {service="order-orchestrator"} |= "ERROR".

obs_get_traceB

Fetch one Tempo trace by id.

obs_search_tracesC

Search Tempo traces. tags example: service.name=order-orchestrator.

obs_grafana_datasourcesC

List Grafana datasources.

obs_grafana_alertsD

List Grafana alert rules.

obs_annotateB

Create a Grafana annotation. This is the write tool for observability.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.1/5.0

Scored across 11 tools

Disambiguation5/5

Each tool targets a distinct observability resource and action: connection, status, metrics queries, error-rate specialization, log queries, trace retrieval/search, Grafana datasource/alert listing, and annotation writing. While query_metrics and error_rate both touch metrics, error_rate is narrowly scoped to 5xx rates over a fixed window, and get_trace vs search_traces differ by lookup key vs tags, leaving no ambiguous boundaries.

Naming Consistency5/5

All tools share the obs_ prefix, followed by a verb_noun or clear verb pattern (e.g., obs_query_metrics, obs_get_trace, obs_grafana_datasources, obs_annotate). The naming is predictable and uniform, with no mixed casing or inconsistent verb styles, making tool selection straightforward.

Tool Count5/5

With 11 tools, the server covers a broad but well-scoped observability surface—metrics, logs, traces, and Grafana integration—without feeling bloated. Each tool serves a distinct purpose and earns its place, fitting within the ideal 3-15 tool range.

Completeness4/5

The tool set provides solid read coverage for metrics (instant queries, error rates), logs, traces (get/search), and Grafana metadata (datasources, alerts), plus one write operation (annotations). Minor gaps exist, such as missing range queries for Prometheus or alert management write operations, but the core observability workflows are well represented and agents can accomplish typical tasks without dead ends.

Maintenance

ActivityMaintained
ResponsivenessNo issues