Skip to main content
Glama
OpenTelemetry MCP Server

OpenTelemetry MCP Server

by traceloop

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNoLogging level: DEBUG, INFO, WARNING, ERROR.INFO
BACKEND_URLYesBackend API endpoint (required).
BACKEND_TYPENoBackend type: jaeger, tempo, or traceloop.jaeger
BACKEND_API_KEYNoAPI key (required for Traceloop).
BACKEND_TIMEOUTNoRequest timeout in seconds.30
MAX_TRACES_PER_QUERYNoMaximum traces to return per query (1-1000).100

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": true
}
logging
{}
prompts
{
  "listChanged": true
}
resources
{
  "subscribe": false,
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_tracesB

Search for OpenTelemetry traces with filters.

Supports both simple parameters and advanced generic filter system.

get_traceA

Get complete trace details by trace ID.

Returns all spans with attributes, including parsed Opentelemetry data for LLM operations.

get_llm_usageA

Get aggregated LLM usage metrics (token counts) for a time period.

Provides breakdowns by model and service.

list_servicesB

List all available services in the OpenTelemetry backend.

find_errorsB

Find traces with errors.

Including detailed error messages, stack traces, and LLM-specific error information.

list_llm_modelsC

List all LLM models being used with usage statistics.

Discovers what models are deployed and tracks their usage patterns.

get_llm_model_statsB

Get detailed performance statistics for a specific LLM model.

Analyzes request count, latency percentiles (p50, p95, p99), token usage statistics, error rates, and finish reason distributions.

get_llm_expensive_tracesB

Find traces with highest LLM token usage.

Useful for cost optimization and identifying inefficient prompts.

get_llm_slow_tracesB

Find slowest LLM traces by duration.

Useful for performance optimization and identifying latency bottlenecks.

search_spans_toolA

Search for individual OpenTelemetry spans with optional filters.

Unlike search_traces, this returns individual spans rather than grouped traces, which is useful for analyzing specific operations or finding spans with certain characteristics (e.g., LLM tool calls with traceloop.span.kind == tool).

list_llm_tools_toolB

List all LLM tools being used by identifying traceloop.span.kind == tool.

Discovers which tools/functions LLM applications are calling, grouped by tool name with usage statistics.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 11 tools

Disambiguation4/5

Most tools have clearly distinct purposes: trace retrieval vs. filtered search vs. individual span search, and the LLM tools split cleanly into usage, per-model stats, expensive, slow, and tools listing. The boundary between search_traces and search_spans_tool is explained explicitly, and find_errors vs. the LLM performance tools differ by filter intent. A few pairs (get_llm_usage vs. get_llm_model_stats, get_llm_slow_traces vs. get_llm_expensive_traces) require reading the description to separate.

Naming Consistency4/5

Nearly all names follow a verb_noun snake_case pattern (get_trace, search_traces, list_services, find_errors, get_llm_model_stats). The 'llm' infix is applied consistently within the LLM group. Minor deviation: search_spans_tool and list_llm_tools_tool carry a redundant '_tool' suffix that breaks the pattern.

Tool Count5/5

Eleven tools is well within the ideal range for an observability/tracing server. Each tool maps to a distinct query workflow (trace lookup, search, service discovery, error hunting, LLM cost/latency/tool analytics) with no filler.

Completeness4/5

The read-only observability surface is well covered for traces, spans, services, errors, and LLM-specific analytics, with no dead ends for the primary investigation flows. Minor gaps: no span-by-ID fetch, no general metric or log retrieval, and no attribute/key discovery to help construct advanced filters.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues