Home / Servers / Sentry API / get_organization_trace_meta

Retrieve Trace Metadata

An MCP tool from the Sentry API server, hosted on mcp.hjlabs.in.

Retrieve Trace Metadata Retrieve aggregate metadata for a single trace, including counts of spans, errors, performance issues, logs, and metrics, along with per-span-operation and per-transaction child-count breakdowns. [GET /api/0/organizations/{organization_id_or_slug}/trace-meta/{trace_id}/]

Name on the gateway: sentry_api__get_organization_trace_meta · read-only.

Parameters

NameTypeDescription
organization_id_or_slug requiredstringThe ID or slug of the organization the resource belongs to.
trace_id requiredstringThe ID of the trace, a 32-character hexadecimal string.
statsPeriodstringThe period of time for the query, will override the start & end parameters, a…
startstringThe start of the period of time for the query, expected in ISO-8601 format.…
endstringThe end of the period of time for the query, expected in ISO-8601 format. For…
include_uptime0 | 1Set to 1 to include uptime check counts in the response. Defaults to 0…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "sentry_api__get_organization_trace_meta",
  "arguments": {
    "organization_id_or_slug": "…",
    "trace_id": "…"
  }
}

Or connect the Sentry API server directly, which lists 272 tools including this one:

Run in your terminal
claude mcp add --transport http hj-sentry-api https://mcp.hjlabs.in/mcp/sentry-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the retrieve trace metadata tool with organization_id_or_slug set to ….

More from Sentry API