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
| Name | Type | Description |
|---|---|---|
organization_id_or_slug required | string | The ID or slug of the organization the resource belongs to. |
trace_id required | string | The ID of the trace, a 32-character hexadecimal string. |
statsPeriod | string | The period of time for the query, will override the start & end parameters, a… |
start | string | The start of the period of time for the query, expected in ISO-8601 format.… |
end | string | The end of the period of time for the query, expected in ISO-8601 format. For… |
include_uptime | 0 | 1 | Set 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:
{
"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:
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 ….