Skip to content

Lengthy mcp.tool.result.content causes Sentry to drop critical MCP fields during serialization #105528

@minori-fh

Description

@minori-fh

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

When tool results are large (>5k chars), Sentry appears to drop essential MCP fields needed for the MCP Insights dashboard, preventing tools from appearing in the "Most Used Tools" graph.

Expected Result

Tools dashboard is populated without truncating fields. If this is a payload size limit, this should be documented.

Actual Result

Tools dashboard is not populated in MCP. However, truncating mcp.tool.result.content leads to expected result.

Product Area

Unknown

Link

No response

DSN

No response

Version

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions