Skip to main content
Glama
moondef

otel-mcp

by moondef

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OTEL_MCP_PORTNoCollector port4318
OTEL_MCP_MAX_SPANSNoMax spans to retain10000
OTEL_MCP_MAX_TRACESNoMax traces to retain1000

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_tracesA

List recent traces from the application. Use this to get an overview of recent requests, find errors, or identify slow operations. Returns a table of traces with their duration, span count, and error count.

get_traceA

Get the detailed span tree for a specific trace. Shows the hierarchy of operations, their timing, and optionally their attributes. Use this to understand the full request flow and identify where time is spent.

query_spansA

Search for specific spans across all traces. Use this to find patterns like slow database queries, failed HTTP calls, or specific operations by name. More targeted than list_traces when looking for specific operation types.

get_summaryA

Get an overview of all collected trace data. Shows total traces and spans, list of services, and recent errors. Good starting point to understand what data is available.

clear_tracesA

Clear all collected traces from memory. Useful for starting fresh between test runs or debugging sessions. Returns count of cleared traces.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/moondef/otel-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server