Documentation Index Fetch the complete documentation index at: https://docs.sedata-ai.tech/llms.txt
Use this file to discover all available pages before exploring further.
Every span produced by the auto-instrumentation includes a set of attributes
out of the box. Some are unconditional, others appear under specific
configurations.
Always present
Attribute Type Description mcp.method.namestring Always "tools/call" for tool invocations. mcp.tool.namestring The tool name passed to registerTool. mcp.tool.titlestring Tool title from the tool config (may be undefined if not set). mcp.tool.descriptionstring Tool description from the tool config. mcp.request.idstring UUID generated per request. Unique per call. mcp.session.idstring UUID generated when the SDK starts. Constant for the process. mcp.operation.successboolean true on OK, false on thrown error.mcp.operation.durationnumber Duration in ms. client.addressstring First non-internal IPv4 address of the host. Falls back to "localhost".
Conditional
When enableArgumentCollection: true
Each tool argument is flattened into a mcp.request.argument.<key> attribute.
Nested objects use dot notation.
mcp.request.argument.weightKg = 70
mcp.request.argument.heightM = 1.75
mcp.request.argument.metadata.locale = 'en-US'
Off by default — these often contain user input or PII.
When the handler is wrapped with safetyCheck
Attribute Type Description mcp.safety_check.contentstring Original content passed to the safety API. mcp.safety_check.flaggedboolean true if Sedata’s API flagged the input.mcp.safety_check.latency_msnumber Round-trip latency of the safety check. mcp.safety_check.successboolean true if the safety API responded OK (regardless of verdict).
When process.env.PORT is set
Attribute Type Description client.portstring Value of process.env.PORT.
On error
Attribute Type Description error.typestring Error class name (e.g. "TypeError"). error.messagestring Error message.
Resource attributes
Attached once per process and merged into every export:
Attribute Source service.nameconfig.serverNameservice.versionconfig.serverVersionmcp.session.idUUID per process Host / OS / env detector attrs @opentelemetry/resources detectors
Filtering reference for dashboards
Common filter patterns:
service.name = "weather-mcp"
mcp.tool.name = "calculate-bmi"
mcp.operation.success = false
mcp.safety_check.flagged = true
See also
Tracing concept How attributes get attached to spans.
Data processors Mutate or remove attributes before export.