Query project traces. Requires project.logs.read.
Arguments
environmentstring · min length 1 · max length 200Exact runtime environment tag, for example preview or production. Untagged telemetry is excluded.
hoststring · min length 1 · max length 253Exact request host (without scheme or path), for example demo.preview.veryfront.com. Untagged telemetry is excluded.
startstring · date-timeStart time. ISO 8601 timestamp accepted by the Veryfront API. The backend converts it to the unix-second format required by Grafana Cloud Tempo. Traces are kept for 30 days and one search spans at most 30 days; an older start or a wider range returns 400.
endstring · date-timeEnd time. ISO 8601 timestamp accepted by the Veryfront API. The backend converts it to the unix-second format required by Grafana Cloud Tempo. Traces are kept for 30 days and one search spans at most 30 days; an older start or a wider range returns 400.
limitnumber · min 1 · max 100 · default 20Max traces to return (default: 20, max: 100).
servicestring · max length 200Optional OpenTelemetry service.name filter, for example veryfront-api, veryfront-studio, or veryfront-server.
statusstringOptional Tempo status filter. Use ok, error, or unset. error matches traces with an error span of the project or without project context anywhere in the trace, as trace detail reports. One of
ok,error,unset.min_duration_msnumber · min 0Optional minimum trace duration in milliseconds.
run_idstring · min length 1 · max length 200Optional run ID. Returns traces with a span whose run.id, parent.run.id, or agent.run.id is this run, or that contain its runtime control-plane request.
sort_bystring · default timestampField to order the returned traces by. Defaults to timestamp; ties break by trace ID ascending. MCP and GraphQL preserve the search's newest-first nanosecond order when both sort controls are omitted. One of
timestamp,duration,status,service.sort_orderstring · default descSort direction. Defaults to desc. One of
asc,desc.project_referencestringProject ID or slug
Responses
curl -X POST -N "https://api.veryfront.com/mcp" \ -H "Authorization: Bearer $VERYFRONT_API_KEY" \ -H "Accept: application/json, text/event-stream" \ -H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "veryfront__list_project_traces", "arguments": {} }}'{ "jsonrpc": "2.0", "id": 1, "result": { "content": [ { "type": "text", "text": "{\"traces\":[{\"trace_id\":\"string\",\"root_span_name\":\"string\",\"root_service\":\"string\",\"started_at\":\"string\",\"duration_ms\":0,\"status\":\"ok\",\"span_count\":0,\"services\":[\"string\"],\"project_id\":\"string\",\"project_slug\":\"string\",\"environment\":\"string\",\"host\":\"string\"}],\"stats\":{\"query_time_ms\":0}}" } ], "structuredContent": { "traces": [ { "trace_id": "string", "root_span_name": "string", "root_service": "string", "started_at": "string", "duration_ms": 0, "status": "ok", "span_count": 0, "services": [ "string" ], "project_id": "string", "project_slug": "string", "environment": "string", "host": "string" } ], "stats": { "query_time_ms": 0 } } }}The tool ran; its output is result.structuredContent.