veryfront__get_project_trace
Requires project.logs.read.
Access
No external-service connection is required. Use a Veryfront credential with access to the requested resources.
Call type: Read-only.
Arguments
| Field | Type | Required | Description and constraints |
|---|---|---|---|
project_reference | string | No | Project ID or slug |
trace_id | string | Yes | Trace ID to inspect. |
Example request
Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.
request.json
1{2 "jsonrpc": "2.0",3 "id": 1,4 "method": "tools/call",5 "params": {6 "name": "veryfront__get_project_trace",7 "arguments": {8 "trace_id": "example"9 }10 }11}Result
The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.
| Field | Type | Required | Description and constraints |
|---|---|---|---|
trace_id | string | Yes | |
root_span_name | string | Yes | |
root_service | string | Yes | |
started_at | string | Yes | |
duration_ms | number | Yes | |
status | string | Yes | Lifecycle status for the returned record. Values: "ok", "error", "unset", "unknown". |
span_count | number | Yes | |
services | string[] | Yes | List of services associated with this tool result. |
project_id | string | Yes | Project identifier associated with this result. |
project_slug | string | No | |
environment | string | No | |
host | string | No | |
root_span_id | string or null | Yes | |
spans | object[] | Yes | List of spans associated with this tool result. |
Full schemas
input-schema.json
1{2 "type": "object",3 "properties": {4 "project_reference": {5 "type": "string",6 "description": "Project ID or slug"7 },8 "trace_id": {9 "type": "string",10 "description": "Trace ID to inspect."11 }12 },13 "required": [14 "trace_id"15 ],16 "additionalProperties": false,17 "description": "Use after list_project_logs or list_project_traces for the execution path and span-level errors. spans is capped and filled with the root span, then error spans and their ancestors; when span_count is larger, use list_project_trace_spans (status error returns every error span).",18 "$schema": "http://json-schema.org/draft-07/schema#"19}output-schema.json
1{2 "type": "object",3 "properties": {4 "trace_id": {5 "type": "string"6 },7 "root_span_name": {8 "type": "string"9 },10 "root_service": {11 "type": "string"12 },13 "started_at": {14 "type": "string"15 },16 "duration_ms": {17 "type": "number"18 },19 "status": {20 "type": "string",21 "enum": [22 "ok",23 "error",24 "unset",25 "unknown"26 ],27 "description": "Lifecycle status for the returned record."28 },29 "span_count": {30 "type": "number"31 },32 "services": {33 "type": "array",34 "items": {35 "type": "string"36 },37 "description": "List of services associated with this tool result."38 },39 "project_id": {40 "type": "string",41 "description": "Project identifier associated with this result."42 },43 "project_slug": {44 "type": "string"45 },46 "environment": {47 "type": "string"48 },49 "host": {50 "type": "string"51 },52 "root_span_id": {53 "type": [54 "string",55 "null"56 ]57 },58 "spans": {59 "type": "array",60 "items": {61 "type": "object",62 "properties": {63 "span_id": {64 "type": "string"65 },66 "parent_span_id": {67 "type": [68 "string",69 "null"70 ]71 },72 "name": {73 "type": "string",74 "description": "Human-readable name for the returned record."75 },76 "service": {77 "type": "string"78 },79 "started_at": {80 "type": "string"81 },82 "ended_at": {83 "type": [84 "string",85 "null"86 ]87 },88 "duration_ms": {89 "type": "number"90 },91 "status": {92 "type": "string",93 "enum": [94 "ok",95 "error",96 "unset",97 "unknown"98 ],99 "description": "Lifecycle status for the returned record."100 },101 "status_message": {102 "type": [103 "string",104 "null"105 ]106 },107 "attributes": {108 "type": "object",109 "additionalProperties": {110 "type": "string",111 "description": "Additional structured values associated with this result."112 },113 "description": "Structured attributes details associated with this tool result."114 },115 "events": {116 "type": "array",117 "items": {118 "type": "object",119 "properties": {120 "name": {121 "type": "string",122 "description": "Human-readable name for the returned record."123 },124 "timestamp": {125 "type": "string"126 },127 "attributes": {128 "type": "object",129 "additionalProperties": {130 "type": "string",131 "description": "Additional structured values associated with this result."132 },133 "description": "Structured attributes details associated with this tool result."134 }135 },136 "required": [137 "name",138 "timestamp",139 "attributes"140 ],141 "additionalProperties": false142 },143 "description": "List of events associated with this tool result."144 }145 },146 "required": [147 "span_id",148 "parent_span_id",149 "name",150 "service",151 "started_at",152 "ended_at",153 "duration_ms",154 "status",155 "status_message",156 "attributes",157 "events"158 ],159 "additionalProperties": false160 },161 "description": "List of spans associated with this tool result."162 }163 },164 "required": [165 "trace_id",166 "root_span_name",167 "root_service",168 "started_at",169 "duration_ms",170 "status",171 "span_count",172 "services",173 "project_id",174 "root_span_id",175 "spans"176 ],177 "additionalProperties": false,178 "description": "Structured result returned by the get_project_trace tool.",179 "$schema": "http://json-schema.org/draft-07/schema#"180}