Development
Validate W3C Trace Context propagation headers end to end: traceparent (version / 16-byte trace-id / 8-byte parent-id / trace-flags), tracestate (≤32 list members, tenant keys), baggage (percent-encoded values + opaque properties), OTLP export Content-Type, the gRPC grpc-trace-context-bin 25-byte binary context — plus a two-header correlation round-trip with a random child span-id collision check.
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/opentelemetry-w3c-traceparent-tracestate-baggage-and-otlp-protobuf-headers-propagation-validator' \
-H 'Content-Type: application/json' \
-d '{"traceparent":"00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01","tracestate":"congo=t61rcWkgMzE,rojo=00f067aa0ba902b7","baggage":"userId=alice;serverNode=DF%2028;isProduction=false","transport":"grpc","contentType":"application/x-protobuf","grpcTraceContextBin":"S/kvNXezTaajzpKdDg5HNgDwZ6oLqQK3AQ==","secondTraceparent":"00-4bf92f3577b34da6a3ce929d0e0e4736-aabbccddeeff0011-01"}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/opentelemetry-w3c-traceparent-tracestate-baggage-and-otlp-protobuf-headers-propagation-validator| Name | Type | Required | Description |
|---|---|---|---|
| traceparent | text | Yes | — |
| tracestate | text | No | — |
| baggage | text | No | — |
| transport | select | No | — |
| contentType | text | No | — |
| grpcTraceContextBin | text | No | — |
| secondTraceparent | text | No | — |
HTML result
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-opentelemetry-w3c-traceparent-tracestate-baggage-and-otlp-protobuf-headers-propagation-validator": {
"name": "opentelemetry-w3c-traceparent-tracestate-baggage-and-otlp-protobuf-headers-propagation-validator",
"description": "Validate W3C Trace Context propagation headers end to end: traceparent (version / 16-byte trace-id / 8-byte parent-id / trace-flags), tracestate (≤32 list members, tenant keys), baggage (percent-encoded values + opaque properties), OTLP export Content-Type, the gRPC grpc-trace-context-bin 25-byte binary context — plus a two-header correlation round-trip with a random child span-id collision check.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=opentelemetry-w3c-traceparent-tracestate-baggage-and-otlp-protobuf-headers-propagation-validator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "opentelemetry-w3c-traceparent-tracestate-baggage-and-otlp-protobuf-headers-propagation-validator",
"arguments": {
"traceparent": "00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01",
"tracestate": "congo=t61rcWkgMzE,rojo=00f067aa0ba902b7",
"baggage": "userId=alice;serverNode=DF%2028;isProduction=false",
"transport": "grpc",
"contentType": "application/x-protobuf",
"grpcTraceContextBin": "S/kvNXezTaajzpKdDg5HNgDwZ6oLqQK3AQ==",
"secondTraceparent": "00-4bf92f3577b34da6a3ce929d0e0e4736-aabbccddeeff0011-01"
}
}
}Questions or issues? Contact [email protected]