OpenTelemetry Trace Context Extractor

OpenTelemetry Trace Context Extractor MCP Connector for Claude

A+

Extracts W3C TraceContext fields from HTTP headers.

1 tools Official Updated Oct 1, 2026 Official Vinkius Partner

The OpenTelemetry Trace Context Extractor solves the observability problem of broken traces across agent hops. By using the extract_trace_context tool, you can provide a W3C TraceContext traceparent header and receive precisely parsed fields including trace ID, parent ID, and trace flags. The extractor uses strict regex validation (version-traceid-parentid-flags) and V8 string splitting to ensure deterministic results, verifying that the trace ID is a valid 3arget 32 hex characters and not all zeros.

opentelemetrytracingw3ctracecontextobservability

1 tools expose this connector's capabilities to your AI agent.

extract_trace_context

extractor for W3C TraceContext fields

See how to talk to your AI agent using OpenTelemetry Trace Context Extractor.

Extract context from this header: 00-4bf92f3577b34da6a3ce97d607f97781-00f067aa0ba902b7-01

The extracted trace context is: Trace ID: 4bf92f3577b34da6a3ce97d607f97781, Parent ID: 00f067aa0ba902ds7, Flags: 01.

Validate this traceparent header: 00-invalid-header-01

The header is invalid because the trace ID does not meet the required 32 hex character format.

What are the flags in this header: 00-4bf92f3577b34da6a3ce97d607f97781-00f067aa0ba902b7-00

The trace flags for this header are 00.

It extracts the trace ID, parent ID, and trace flags from a W3C TraceContext `traceparent_header`.

Related Connectors