Mcp Attributes

38 attributes in this category. 38 stable

Stable Attributes

mcp.cancelled.reason

string PII: Maybe OTel: False

Reason for the cancellation of an MCP operation.

PII Reason Cancellation reasons may contain user-specific or sensitive information
Example User cancelled the request
Raw JSON
{
  "key": "mcp.cancelled.reason",
  "brief": "Reason for the cancellation of an MCP operation.",
  "type": "string",
  "pii": {
    "key": "maybe",
    "reason": "Cancellation reasons may contain user-specific or sensitive information"
  },
  "is_in_otel": false,
  "example": "User cancelled the request"
}

mcp.cancelled.request_id

string PII: False OTel: False

Request ID of the cancelled MCP operation.

Example 123
Raw JSON
{
  "key": "mcp.cancelled.request_id",
  "brief": "Request ID of the cancelled MCP operation.",
  "type": "string",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": "123"
}

mcp.client.name

string PII: False OTel: False

Name of the MCP client application.

Example claude-desktop
Raw JSON
{
  "key": "mcp.client.name",
  "brief": "Name of the MCP client application.",
  "type": "string",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": "claude-desktop"
}

mcp.client.title

string PII: Maybe OTel: False

Display title of the MCP client application.

PII Reason Client titles may reveal user-specific application configurations or custom setups
Example Claude Desktop
Raw JSON
{
  "key": "mcp.client.title",
  "brief": "Display title of the MCP client application.",
  "type": "string",
  "pii": {
    "key": "maybe",
    "reason": "Client titles may reveal user-specific application configurations or custom setups"
  },
  "is_in_otel": false,
  "example": "Claude Desktop"
}

mcp.client.version

string PII: False OTel: False

Version of the MCP client application.

Example 1.0.0
Raw JSON
{
  "key": "mcp.client.version",
  "brief": "Version of the MCP client application.",
  "type": "string",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": "1.0.0"
}

mcp.lifecycle.phase

string PII: False OTel: False

Lifecycle phase indicator for MCP operations.

Example initialization_complete
Raw JSON
{
  "key": "mcp.lifecycle.phase",
  "brief": "Lifecycle phase indicator for MCP operations.",
  "type": "string",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": "initialization_complete"
}

mcp.logging.data_type

string PII: False OTel: False

Data type of the logged message content.

Example string
Raw JSON
{
  "key": "mcp.logging.data_type",
  "brief": "Data type of the logged message content.",
  "type": "string",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": "string"
}

mcp.logging.level

string PII: False OTel: False

Log level for MCP logging operations.

Example info
Raw JSON
{
  "key": "mcp.logging.level",
  "brief": "Log level for MCP logging operations.",
  "type": "string",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": "info"
}

mcp.logging.logger

string PII: Maybe OTel: False

Logger name for MCP logging operations.

PII Reason Logger names may be user-defined and could contain sensitive information
Example mcp_server
Raw JSON
{
  "key": "mcp.logging.logger",
  "brief": "Logger name for MCP logging operations.",
  "type": "string",
  "pii": {
    "key": "maybe",
    "reason": "Logger names may be user-defined and could contain sensitive information"
  },
  "is_in_otel": false,
  "example": "mcp_server"
}

mcp.logging.message

string PII: True OTel: False

Log message content from MCP logging operations.

PII Reason Log messages can contain user data
Example Tool execution completed successfully
Raw JSON
{
  "key": "mcp.logging.message",
  "brief": "Log message content from MCP logging operations.",
  "type": "string",
  "pii": {
    "key": "true",
    "reason": "Log messages can contain user data"
  },
  "is_in_otel": false,
  "example": "Tool execution completed successfully"
}

mcp.method.name

string PII: False OTel: False

The name of the MCP request or notification method being called.

Example tools/call
Raw JSON
{
  "key": "mcp.method.name",
  "brief": "The name of the MCP request or notification method being called.",
  "type": "string",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": "tools/call"
}

mcp.progress.current

integer PII: Maybe OTel: False

Current progress value of an MCP operation.

Example 50
Raw JSON
{
  "key": "mcp.progress.current",
  "brief": "Current progress value of an MCP operation.",
  "type": "integer",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": 50
}

mcp.progress.message

string PII: Maybe OTel: False

Progress message describing the current state of an MCP operation.

PII Reason Progress messages may contain user-specific or sensitive information
Example Processing 50 of 100 items
Raw JSON
{
  "key": "mcp.progress.message",
  "brief": "Progress message describing the current state of an MCP operation.",
  "type": "string",
  "pii": {
    "key": "maybe",
    "reason": "Progress messages may contain user-specific or sensitive information"
  },
  "is_in_otel": false,
  "example": "Processing 50 of 100 items"
}

mcp.progress.percentage

double PII: Maybe OTel: False

Calculated progress percentage of an MCP operation. Computed from current/total * 100.

Example 50
Raw JSON
{
  "key": "mcp.progress.percentage",
  "brief": "Calculated progress percentage of an MCP operation. Computed from current/total * 100.",
  "type": "double",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": 50
}

mcp.progress.token

string PII: False OTel: False

Token for tracking progress of an MCP operation.

Example progress-token-123
Raw JSON
{
  "key": "mcp.progress.token",
  "brief": "Token for tracking progress of an MCP operation.",
  "type": "string",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": "progress-token-123"
}

mcp.progress.total

integer PII: Maybe OTel: False

Total progress target value of an MCP operation.

Example 100
Raw JSON
{
  "key": "mcp.progress.total",
  "brief": "Total progress target value of an MCP operation.",
  "type": "integer",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": 100
}

mcp.prompt.name

string PII: Maybe OTel: False

Name of the MCP prompt template being used.

PII Reason Prompt names may reveal user behavior patterns or sensitive operations
Example summarize
Raw JSON
{
  "key": "mcp.prompt.name",
  "brief": "Name of the MCP prompt template being used.",
  "type": "string",
  "pii": {
    "key": "maybe",
    "reason": "Prompt names may reveal user behavior patterns or sensitive operations"
  },
  "is_in_otel": false,
  "example": "summarize"
}

mcp.prompt.result.description

string PII: True OTel: False

Description of the prompt result.

Example A summary of the requested information
Raw JSON
{
  "key": "mcp.prompt.result.description",
  "brief": "Description of the prompt result.",
  "type": "string",
  "pii": {
    "key": "true"
  },
  "is_in_otel": false,
  "example": "A summary of the requested information"
}

mcp.prompt.result.message_content

string PII: True OTel: False

Content of the message in the prompt result. Used for single message results only.

Example Please provide a summary of the document
Raw JSON
{
  "key": "mcp.prompt.result.message_content",
  "brief": "Content of the message in the prompt result. Used for single message results only.",
  "type": "string",
  "pii": {
    "key": "true"
  },
  "is_in_otel": false,
  "example": "Please provide a summary of the document"
}

mcp.prompt.result.message_count

integer PII: Maybe OTel: False

Number of messages in the prompt result.

Example 3
Raw JSON
{
  "key": "mcp.prompt.result.message_count",
  "brief": "Number of messages in the prompt result.",
  "type": "integer",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": 3
}

mcp.prompt.result.message_role

string PII: False OTel: False

Role of the message in the prompt result. Used for single message results only.

Example user
Raw JSON
{
  "key": "mcp.prompt.result.message_role",
  "brief": "Role of the message in the prompt result. Used for single message results only.",
  "type": "string",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": "user"
}

mcp.protocol.ready

integer PII: Maybe OTel: False

Protocol readiness indicator for MCP session. Non-zero value indicates the protocol is ready.

Example 1
Raw JSON
{
  "key": "mcp.protocol.ready",
  "brief": "Protocol readiness indicator for MCP session. Non-zero value indicates the protocol is ready.",
  "type": "integer",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": 1
}

mcp.protocol.version

string PII: False OTel: False

MCP protocol version used in the session.

Example 2024-11-05
Raw JSON
{
  "key": "mcp.protocol.version",
  "brief": "MCP protocol version used in the session.",
  "type": "string",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": "2024-11-05"
}

mcp.request.argument.<key>

string PII: True OTel: False Dynamic

MCP request argument with dynamic key suffix. The <key> is replaced with the actual argument name. The value is a JSON-stringified representation of the argument value.

PII Reason Arguments contain user input
Example mcp.request.argument.query='weather in Paris'
Dynamic Suffix Yes - the key contains dynamic parts
Raw JSON
{
  "key": "mcp.request.argument.<key>",
  "brief": "MCP request argument with dynamic key suffix. The <key> is replaced with the actual argument name. The value is a JSON-stringified representation of the argument value.",
  "has_dynamic_suffix": true,
  "type": "string",
  "pii": {
    "key": "true",
    "reason": "Arguments contain user input"
  },
  "is_in_otel": false,
  "example": "mcp.request.argument.query='weather in Paris'"
}

mcp.request.argument.name

string PII: True OTel: False

Name argument from prompts/get MCP request.

PII Reason Prompt names can contain user input
Example summarize
Raw JSON
{
  "key": "mcp.request.argument.name",
  "brief": "Name argument from prompts/get MCP request.",
  "type": "string",
  "pii": {
    "key": "true",
    "reason": "Prompt names can contain user input"
  },
  "is_in_otel": false,
  "example": "summarize"
}

mcp.request.argument.uri

string PII: True OTel: False

URI argument from resources/read MCP request.

PII Reason URIs can contain user file paths
Example file:///path/to/resource
Raw JSON
{
  "key": "mcp.request.argument.uri",
  "brief": "URI argument from resources/read MCP request.",
  "type": "string",
  "pii": {
    "key": "true",
    "reason": "URIs can contain user file paths"
  },
  "is_in_otel": false,
  "example": "file:///path/to/resource"
}

mcp.request.id

string PII: False OTel: False

JSON-RPC request identifier for the MCP request. Unique within the MCP session.

Example 1
Raw JSON
{
  "key": "mcp.request.id",
  "brief": "JSON-RPC request identifier for the MCP request. Unique within the MCP session.",
  "type": "string",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": "1"
}

mcp.resource.protocol

string PII: False OTel: False

Protocol of the resource URI being accessed, extracted from the URI.

Example file
Raw JSON
{
  "key": "mcp.resource.protocol",
  "brief": "Protocol of the resource URI being accessed, extracted from the URI.",
  "type": "string",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": "file"
}

mcp.resource.uri

string PII: True OTel: False

The resource URI being accessed in an MCP operation.

PII Reason URIs can contain sensitive file paths
Example file:///path/to/file.txt
Raw JSON
{
  "key": "mcp.resource.uri",
  "brief": "The resource URI being accessed in an MCP operation.",
  "type": "string",
  "pii": {
    "key": "true",
    "reason": "URIs can contain sensitive file paths"
  },
  "is_in_otel": false,
  "example": "file:///path/to/file.txt"
}

mcp.server.name

string PII: False OTel: False

Name of the MCP server application.

Example sentry-mcp-server
Raw JSON
{
  "key": "mcp.server.name",
  "brief": "Name of the MCP server application.",
  "type": "string",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": "sentry-mcp-server"
}

mcp.server.title

string PII: Maybe OTel: False

Display title of the MCP server application.

PII Reason Server titles may reveal user-specific application configurations or custom setups
Example Sentry MCP Server
Raw JSON
{
  "key": "mcp.server.title",
  "brief": "Display title of the MCP server application.",
  "type": "string",
  "pii": {
    "key": "maybe",
    "reason": "Server titles may reveal user-specific application configurations or custom setups"
  },
  "is_in_otel": false,
  "example": "Sentry MCP Server"
}

mcp.server.version

string PII: False OTel: False

Version of the MCP server application.

Example 0.1.0
Raw JSON
{
  "key": "mcp.server.version",
  "brief": "Version of the MCP server application.",
  "type": "string",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": "0.1.0"
}

mcp.session.id

string PII: False OTel: False

Identifier for the MCP session.

Example 550e8400-e29b-41d4-a716-446655440000
Raw JSON
{
  "key": "mcp.session.id",
  "brief": "Identifier for the MCP session.",
  "type": "string",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": "550e8400-e29b-41d4-a716-446655440000"
}

mcp.tool.name

string PII: False OTel: False

Name of the MCP tool being called.

Example calculator
Raw JSON
{
  "key": "mcp.tool.name",
  "brief": "Name of the MCP tool being called.",
  "type": "string",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": "calculator"
}

mcp.tool.result.content

string PII: True OTel: False

The content of the tool result.

PII Reason Tool results can contain user data
Example {"output": "rainy", "toolCallId": "1"}
Raw JSON
{
  "key": "mcp.tool.result.content",
  "brief": "The content of the tool result.",
  "type": "string",
  "pii": {
    "key": "true",
    "reason": "Tool results can contain user data"
  },
  "is_in_otel": false,
  "example": "{\"output\": \"rainy\", \"toolCallId\": \"1\"}",
  "alias": []
}

mcp.tool.result.content_count

integer PII: Maybe OTel: False

Number of content items in the tool result.

Example 1
Raw JSON
{
  "key": "mcp.tool.result.content_count",
  "brief": "Number of content items in the tool result.",
  "type": "integer",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": 1
}

mcp.tool.result.is_error

boolean PII: False OTel: False

Whether a tool execution resulted in an error.

Example false
Raw JSON
{
  "key": "mcp.tool.result.is_error",
  "brief": "Whether a tool execution resulted in an error.",
  "type": "boolean",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": false
}

mcp.transport

string PII: False OTel: False

Transport method used for MCP communication.

Example stdio
Raw JSON
{
  "key": "mcp.transport",
  "brief": "Transport method used for MCP communication.",
  "type": "string",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": "stdio"
}