Get trace

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

FieldTypeRequiredDescription and constraints
project_referencestringNoProject ID or slug
trace_idstringYesTrace 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 and isError when handling a call.

FieldTypeRequiredDescription and constraints
trace_idstringYes
root_span_namestringYes
root_servicestringYes
started_atstringYes
duration_msnumberYes
statusstringYesLifecycle status for the returned record. Values: "ok", "error", "unset", "unknown".
span_countnumberYes
servicesstring[]YesList of services associated with this tool result.
project_idstringYesProject identifier associated with this result.
project_slugstringNo
environmentstringNo
hoststringNo
root_span_idstring or nullYes
spansobject[]YesList of spans associated with this tool result.

Full schemas

input-schema.json
{  "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": "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).",  "$schema": "http://json-schema.org/draft-07/schema#"}
output-schema.json
{  "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"    },    "environment": {      "type": "string"    },    "host": {      "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#"}