veryfront__get_project_tracesearch_project_logs or search_project_traces when you need the execution path and span-level error context.
spans is capped and filled with the root span first, then error spans and their ancestors; when span_count is larger, use list_project_trace_spans (status error returns every error span).
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
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "veryfront__get_project_trace",
"arguments": {
"trace_id": "example"
}
}
}
Result
The published output shape is summarized below. Inspect both the MCP response content andisError 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 | |
root_span_id | string or null | Yes | |
spans | object[] | Yes | List of spans associated with this tool result. |
Full schemas
{
"type": "object",
"properties": {
"project_reference": {
"type": "string",
"description": "Project ID or slug"
},
"trace_id": {
"type": "string",
"description": "Trace ID to inspect."
}
},
"required": [
"trace_id"
],
"additionalProperties": false,
"description": "Arguments for the get_project_trace tool.",
"$schema": "http://json-schema.org/draft-07/schema#"
}
{
"type": "object",
"properties": {
"trace_id": {
"type": "string"
},
"root_span_name": {
"type": "string"
},
"root_service": {
"type": "string"
},
"started_at": {
"type": "string"
},
"duration_ms": {
"type": "number"
},
"status": {
"type": "string",
"enum": [
"ok",
"error",
"unset",
"unknown"
],
"description": "Lifecycle status for the returned record."
},
"span_count": {
"type": "number"
},
"services": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of services associated with this tool result."
},
"project_id": {
"type": "string",
"description": "Project identifier associated with this result."
},
"project_slug": {
"type": "string"
},
"root_span_id": {
"type": [
"string",
"null"
]
},
"spans": {
"type": "array",
"items": {
"type": "object",
"properties": {
"span_id": {
"type": "string"
},
"parent_span_id": {
"type": [
"string",
"null"
]
},
"name": {
"type": "string",
"description": "Human-readable name for the returned record."
},
"service": {
"type": "string"
},
"started_at": {
"type": "string"
},
"ended_at": {
"type": [
"string",
"null"
]
},
"duration_ms": {
"type": "number"
},
"status": {
"type": "string",
"enum": [
"ok",
"error",
"unset",
"unknown"
],
"description": "Lifecycle status for the returned record."
},
"status_message": {
"type": [
"string",
"null"
]
},
"attributes": {
"type": "object",
"additionalProperties": {
"type": "string",
"description": "Additional structured values associated with this result."
},
"description": "Structured attributes details associated with this tool result."
},
"events": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Human-readable name for the returned record."
},
"timestamp": {
"type": "string"
},
"attributes": {
"type": "object",
"additionalProperties": {
"type": "string",
"description": "Additional structured values associated with this result."
},
"description": "Structured attributes details associated with this tool result."
}
},
"required": [
"name",
"timestamp",
"attributes"
],
"additionalProperties": false
},
"description": "List of events associated with this tool result."
}
},
"required": [
"span_id",
"parent_span_id",
"name",
"service",
"started_at",
"ended_at",
"duration_ms",
"status",
"status_message",
"attributes",
"events"
],
"additionalProperties": false
},
"description": "List of spans associated with this tool result."
}
},
"required": [
"trace_id",
"root_span_name",
"root_service",
"started_at",
"duration_ms",
"status",
"span_count",
"services",
"project_id",
"root_span_id",
"spans"
],
"additionalProperties": false,
"description": "Structured result returned by the get_project_trace tool.",
"$schema": "http://json-schema.org/draft-07/schema#"
}