veryfront__list_project_alerts
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 cursor pointing at the next page. Omit it to read the first page. |
limit | number | No | Maximum number of entries to return. Defaults to 20 and is capped at 100. Default: 20. Minimum: 1. Maximum: 100. |
status | string[] | No | Only alerts in one of these statuses. Omit for firing and resolved alerts. |
sort_order | string | No | desc lists the newest alert first. Default: "desc". Values: "asc", "desc". |
project_reference | string | No | Project ID or slug |
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_alerts",7 "arguments": {}8 }9}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 cursor pointing at the next page. Omit it to read the first page."7 },8 "limit": {9 "type": "number",10 "minimum": 1,11 "maximum": 100,12 "description": "Maximum number of entries to return. Defaults to 20 and is capped at 100.",13 "default": 2014 },15 "status": {16 "type": "array",17 "items": {18 "type": "string",19 "enum": [20 "firing",21 "resolved"22 ],23 "description": "One statu item supplied to the tool."24 },25 "minItems": 1,26 "description": "Only alerts in one of these statuses. Omit for firing and resolved alerts."27 },28 "sort_order": {29 "type": "string",30 "enum": [31 "asc",32 "desc"33 ],34 "description": "desc lists the newest alert first.",35 "default": "desc"36 },37 "project_reference": {38 "type": "string",39 "description": "Project ID or slug"40 }41 },42 "additionalProperties": false,43 "description": "Each alert is one firing of a Veryfront alert rule over the last 30 days of retained history. Follow up with list_project_logs or list_project_traces over the alert window.",44 "$schema": "http://json-schema.org/draft-07/schema#"45}output-schema.json
1{2 "type": "object",3 "properties": {4 "data": {5 "type": "array",6 "items": {7 "type": "object",8 "properties": {9 "id": {10 "type": "string",11 "description": "Identifies this firing of the alert."12 },13 "rule_id": {14 "type": "string",15 "description": "UID of the Grafana alert rule, for example project-agent-run-failures."16 },17 "title": {18 "type": "string",19 "description": "Short human-readable title returned by the tool."20 },21 "status": {22 "type": "string",23 "enum": [24 "firing",25 "resolved"26 ],27 "description": "Lifecycle status for the returned record."28 },29 "error_code": {30 "type": [31 "string",32 "null"33 ],34 "description": "Terminal error code of the failed runs; null for rules without one."35 },36 "run_kind": {37 "type": [38 "string",39 "null"40 ],41 "description": "Kind of the runs the alert is about, when the rule tells them apart."42 },43 "run_status": {44 "type": [45 "string",46 "null"47 ],48 "description": "Status of the unfinished runs the alert is about."49 },50 "started_at": {51 "type": [52 "string",53 "null"54 ],55 "description": "When the alert fired; null when it fired before the 30 days of retained history."56 },57 "resolved_at": {58 "type": [59 "string",60 "null"61 ]62 },63 "_links": {64 "type": "object",65 "properties": {66 "logs": {67 "type": "object",68 "properties": {69 "href": {70 "type": "string"71 }72 },73 "required": [74 "href"75 ],76 "additionalProperties": false77 },78 "traces": {79 "$ref": "#/properties/data/items/properties/_links/properties/logs"80 }81 },82 "additionalProperties": false,83 "description": "Investigation links clipped to retained telemetry; omitted when the episode is outside the available window."84 }85 },86 "required": [87 "id",88 "rule_id",89 "title",90 "status",91 "error_code",92 "run_kind",93 "run_status",94 "started_at",95 "resolved_at",96 "_links"97 ],98 "additionalProperties": false99 },100 "description": "Primary result records returned by the tool."101 },102 "page_info": {103 "type": "object",104 "properties": {105 "self": {106 "type": [107 "string",108 "null"109 ],110 "description": "Cursor that refers to the current page."111 },112 "first": {113 "type": "null"114 },115 "next": {116 "type": [117 "string",118 "null"119 ],120 "description": "Cursor for the next page when pagination is available."121 },122 "prev": {123 "type": [124 "string",125 "null"126 ],127 "description": "Cursor for the previous page when pagination is available."128 }129 },130 "required": [131 "self",132 "first",133 "next",134 "prev"135 ],136 "additionalProperties": false,137 "description": "Pagination cursor values for traversing the result set."138 }139 },140 "required": [141 "data",142 "page_info"143 ],144 "additionalProperties": false,145 "description": "Structured result returned by the list_project_alerts tool.",146 "$schema": "http://json-schema.org/draft-07/schema#"147}