Home / Servers / DigitalOcean API / insights_get_trace

Retrieve an existing trace

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

Retrieve an existing trace To retrieve a single trace and all of its spans, send a GET request to /v2/insights/query/{region}/traces/{trace_id}. Only spans that started within the lookup window are returned. The window… [GET /v2/insights/query/{region}/traces/{trace_id}]

Name on the gateway: digitalocean_api__insights_get_trace · read-only.

Parameters

NameTypeDescription
region requiredstringThe datacenter region slug for the query.
trace_id requiredstringThe OpenTelemetry trace ID to retrieve, as 32 lowercase…
fromstringStart of the trace lookup window. Accepts a relative time (now, a bare…
tostringEnd of the trace lookup window, in the same formats as from. Defaults to now.

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": "digitalocean_api__insights_get_trace",
  "arguments": {
    "region": "…",
    "trace_id": "…"
  }
}

Or connect the DigitalOcean API server directly, which lists 874 tools including this one:

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

Try asking

Use the retrieve an existing trace tool with region set to ….

More from DigitalOcean API