veryfront__list_project_trace_spans
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 |
|---|---|---|---|
cursor | string | No | Opaque continuation from page_info.next or page_info.prev. |
limit | integer | No | Max spans to return (default: 200, max: 1000). Default: 200. Minimum: 1. Maximum: 1000. |
status | string | No | Optional span status filter. Use ok, error, unset, or unknown. Values: "ok", "error", "unset", "unknown". |
sort_order | string | No | Order by span start time. Defaults to "asc". Default: "asc". Values: "asc", "desc". |
project_reference | string | No | Project ID or slug |
trace_id | string | Yes | Trace ID to page through. |
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__list_project_trace_spans",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 |
|---|---|---|---|
data | object[] | Yes | Primary result records returned by the tool. |
page_info | object | Yes | Pagination cursor values for traversing the result set. |
Full schemas
input-schema.json
1{2 "type": "object",3 "properties": {4 "cursor": {5 "type": "string",6 "description": "Opaque continuation from page_info.next or page_info.prev."7 },8 "limit": {9 "type": "integer",10 "minimum": 1,11 "maximum": 1000,12 "description": "Max spans to return (default: 200, max: 1000).",13 "default": 20014 },15 "status": {16 "type": "string",17 "enum": [18 "ok",19 "error",20 "unset",21 "unknown"22 ],23 "description": "Optional span status filter. Use ok, error, unset, or unknown."24 },25 "sort_order": {26 "type": "string",27 "enum": [28 "asc",29 "desc"30 ],31 "description": "Order by span start time. Defaults to \"asc\".",32 "default": "asc"33 },34 "project_reference": {35 "type": "string",36 "description": "Project ID or slug"37 },38 "trace_id": {39 "type": "string",40 "description": "Trace ID to page through."41 }42 },43 "required": [44 "trace_id"45 ],46 "additionalProperties": false,47 "description": "Use when get_project_trace reports more spans than it returns, or with status error to retrieve every error span. Spans are ordered by start time.",48 "$schema": "http://json-schema.org/draft-07/schema#"49}output-schema.json
1{2 "type": "object",3 "properties": {4 "data": {5 "type": "array",6 "items": {7 "type": "object",8 "properties": {9 "span_id": {10 "type": "string"11 },12 "parent_span_id": {13 "type": [14 "string",15 "null"16 ]17 },18 "name": {19 "type": "string",20 "description": "Human-readable name for the returned record."21 },22 "service": {23 "type": "string"24 },25 "started_at": {26 "type": "string"27 },28 "ended_at": {29 "type": [30 "string",31 "null"32 ]33 },34 "duration_ms": {35 "type": "number"36 },37 "status": {38 "type": "string",39 "enum": [40 "ok",41 "error",42 "unset",43 "unknown"44 ],45 "description": "Lifecycle status for the returned record."46 },47 "status_message": {48 "type": [49 "string",50 "null"51 ]52 },53 "attributes": {54 "type": "object",55 "additionalProperties": {56 "type": "string",57 "description": "Additional structured values associated with this result."58 },59 "description": "Structured attributes details associated with this tool result."60 },61 "events": {62 "type": "array",63 "items": {64 "type": "object",65 "properties": {66 "name": {67 "type": "string",68 "description": "Human-readable name for the returned record."69 },70 "timestamp": {71 "type": "string"72 },73 "attributes": {74 "type": "object",75 "additionalProperties": {76 "type": "string",77 "description": "Additional structured values associated with this result."78 },79 "description": "Structured attributes details associated with this tool result."80 }81 },82 "required": [83 "name",84 "timestamp",85 "attributes"86 ],87 "additionalProperties": false88 },89 "description": "List of events associated with this tool result."90 }91 },92 "required": [93 "span_id",94 "parent_span_id",95 "name",96 "service",97 "started_at",98 "ended_at",99 "duration_ms",100 "status",101 "status_message",102 "attributes",103 "events"104 ],105 "additionalProperties": false106 },107 "description": "Primary result records returned by the tool."108 },109 "page_info": {110 "type": "object",111 "properties": {112 "self": {113 "type": [114 "string",115 "null"116 ],117 "description": "Cursor that refers to the current page."118 },119 "first": {120 "type": "null"121 },122 "next": {123 "type": [124 "string",125 "null"126 ],127 "description": "Cursor for the next page when pagination is available."128 },129 "prev": {130 "type": [131 "string",132 "null"133 ],134 "description": "Cursor for the previous page when pagination is available."135 }136 },137 "required": [138 "self",139 "first",140 "next",141 "prev"142 ],143 "additionalProperties": false,144 "description": "Pagination cursor values for traversing the result set."145 }146 },147 "required": [148 "data",149 "page_info"150 ],151 "additionalProperties": false,152 "description": "Structured result returned by the list_project_trace_spans tool.",153 "$schema": "http://json-schema.org/draft-07/schema#"154}