veryfront__get_conversation_analytics
Requires account.billing.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 |
|---|---|---|---|
preset | string | No | Whole local days, defaulting to 30d. Explicit from/to bounds take precedence over preset, including SDK-supplied defaults. Default: "30d". Values: "7d", "30d", "90d". |
from | string | No | Inclusive start. Supply both from and to; these bounds take precedence over preset. Format: date-time. |
to | string | No | Exclusive end, no later than the end of today in timezone. |
timezone | string | No | Provide the timezone. Default: "UTC". |
granularity | string | No | UTC hours, or local calendar days, Monday-based weeks and months. Default: "day". Values: "hour", "day", "week", "month". |
group_by | string[] | No | Grouping dimensions supported by this operation. Repeat the parameter or use a comma-separated list. |
compare | string | No | Compare preceding calendar months for whole-month custom ranges, local days for whole-day ranges and presets, or equal elapsed duration otherwise. Value: "previous_period". |
label | string[] | No | Provide the label. |
project_reference | string | No | Project ID or slug that narrows the read to one project of the account. A project of another account is not found. Minimum length: 1. |
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_conversation_analytics",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 |
|---|---|---|---|
scope | object or object | No | |
group_by | string[] | No | |
summary | object | Yes | Structured summary details associated with this tool result. |
timeframe | object | Yes | Structured timeframe details associated with this tool result. |
series | object[] | Yes | List of series associated with this tool result. |
statuses | object[] | Yes | List of statuses associated with this tool result. |
models | object[] | Yes | List of models associated with this tool result. |
tools | object[] | Yes | List of tools associated with this tool result. |
projects | object[] | Yes | List of projects associated with this tool result. |
recent_conversations | object[] | Yes | List of recent conversations associated with this tool result. |
Full schemas
input-schema.json
1{2 "type": "object",3 "properties": {4 "preset": {5 "type": "string",6 "enum": [7 "7d",8 "30d",9 "90d"10 ],11 "description": "Whole local days, defaulting to 30d. Explicit from/to bounds take precedence over preset, including SDK-supplied defaults.",12 "default": "30d"13 },14 "from": {15 "type": "string",16 "format": "date-time",17 "description": "Inclusive start. Supply both from and to; these bounds take precedence over preset."18 },19 "to": {20 "$ref": "#/properties/from",21 "description": "Exclusive end, no later than the end of today in timezone."22 },23 "timezone": {24 "type": "string",25 "description": "Provide the timezone.",26 "default": "UTC"27 },28 "granularity": {29 "type": "string",30 "enum": [31 "hour",32 "day",33 "week",34 "month"35 ],36 "description": "UTC hours, or local calendar days, Monday-based weeks and months.",37 "default": "day"38 },39 "group_by": {40 "type": "array",41 "items": {42 "type": "string",43 "enum": [44 "project",45 "model",46 "api_key",47 "member"48 ],49 "description": "One group by item supplied to the tool."50 },51 "maxItems": 4,52 "description": "Grouping dimensions supported by this operation. Repeat the parameter or use a comma-separated list."53 },54 "compare": {55 "type": "string",56 "const": "previous_period",57 "description": "Compare preceding calendar months for whole-month custom ranges, local days for whole-day ranges and presets, or equal elapsed duration otherwise."58 },59 "label": {60 "type": "array",61 "items": {62 "type": "string",63 "description": "One label item supplied to the tool."64 },65 "description": "Provide the label."66 },67 "project_reference": {68 "type": "string",69 "minLength": 1,70 "description": "Project ID or slug that narrows the read to one project of the account. A project of another account is not found."71 }72 },73 "additionalProperties": false,74 "description": "Arguments for the get_conversation_analytics tool.",75 "$schema": "http://json-schema.org/draft-07/schema#"76}output-schema.json
1{2 "type": "object",3 "properties": {4 "scope": {5 "anyOf": [6 {7 "type": "object",8 "properties": {9 "kind": {10 "type": "string",11 "const": "account"12 },13 "account_id": {14 "type": "string",15 "format": "uuid"16 },17 "project_id": {18 "anyOf": [19 {20 "type": "string",21 "format": "uuid",22 "description": "Project identifier associated with this result."23 },24 {25 "type": "null",26 "description": "Project identifier associated with this result."27 }28 ],29 "description": "Project identifier associated with this result."30 }31 },32 "required": [33 "kind",34 "account_id",35 "project_id"36 ],37 "additionalProperties": false,38 "description": "Structured option 1 details associated with this tool result."39 },40 {41 "type": "object",42 "properties": {43 "kind": {44 "type": "string",45 "const": "user"46 },47 "user_id": {48 "type": "string",49 "format": "uuid"50 },51 "project_id": {52 "anyOf": [53 {54 "type": "string",55 "format": "uuid",56 "description": "Project identifier associated with this result."57 },58 {59 "type": "null",60 "description": "Project identifier associated with this result."61 }62 ],63 "description": "Project identifier associated with this result."64 }65 },66 "required": [67 "kind",68 "user_id",69 "project_id"70 ],71 "additionalProperties": false,72 "description": "Structured option 2 details associated with this tool result."73 }74 ]75 },76 "group_by": {77 "type": "array",78 "items": {79 "type": "string",80 "const": "project"81 }82 },83 "summary": {84 "type": "object",85 "properties": {86 "total_conversations": {87 "type": "number",88 "description": "Conversations created in the selected interval."89 },90 "active_conversations": {91 "type": "number",92 "description": "Matching conversations currently active."93 },94 "total_messages": {95 "type": "number",96 "description": "Current stored message counters of matching conversations."97 },98 "last_conversation_at": {99 "type": [100 "string",101 "null"102 ],103 "description": "Latest activity of matching conversations."104 },105 "previous": {106 "type": "object",107 "properties": {108 "total_conversations": {109 "$ref": "#/properties/summary/properties/total_conversations",110 "description": "The total conversations returned by the tool."111 },112 "active_conversations": {113 "$ref": "#/properties/summary/properties/active_conversations",114 "description": "The active conversations returned by the tool."115 },116 "total_messages": {117 "$ref": "#/properties/summary/properties/total_messages",118 "description": "The total messages returned by the tool."119 },120 "last_conversation_at": {121 "$ref": "#/properties/summary/properties/last_conversation_at",122 "description": "The last conversation at returned by the tool."123 }124 },125 "required": [126 "total_conversations",127 "active_conversations",128 "total_messages",129 "last_conversation_at"130 ],131 "additionalProperties": false132 }133 },134 "required": [135 "total_conversations",136 "active_conversations",137 "total_messages",138 "last_conversation_at"139 ],140 "additionalProperties": false,141 "description": "Structured summary details associated with this tool result."142 },143 "timeframe": {144 "type": "object",145 "properties": {146 "from": {147 "type": "string",148 "format": "date-time",149 "description": "Inclusive start."150 },151 "to": {152 "type": "string",153 "format": "date-time",154 "description": "Exclusive end."155 },156 "timezone": {157 "type": "string"158 },159 "granularity": {160 "type": "string",161 "enum": [162 "hour",163 "day",164 "week",165 "month"166 ]167 },168 "bucket_count": {169 "type": "integer",170 "minimum": 0171 },172 "previous": {173 "type": "object",174 "properties": {175 "from": {176 "$ref": "#/properties/timeframe/properties/from",177 "description": "The from returned by the tool."178 },179 "to": {180 "$ref": "#/properties/timeframe/properties/to",181 "description": "The to returned by the tool."182 },183 "timezone": {184 "$ref": "#/properties/timeframe/properties/timezone",185 "description": "The timezone returned by the tool."186 },187 "granularity": {188 "$ref": "#/properties/timeframe/properties/granularity",189 "description": "The granularity returned by the tool."190 },191 "bucket_count": {192 "$ref": "#/properties/timeframe/properties/bucket_count",193 "description": "The bucket count returned by the tool."194 }195 },196 "required": [197 "from",198 "to",199 "timezone",200 "granularity",201 "bucket_count"202 ],203 "additionalProperties": false204 }205 },206 "required": [207 "from",208 "to",209 "timezone",210 "granularity",211 "bucket_count"212 ],213 "additionalProperties": false,214 "description": "Structured timeframe details associated with this tool result."215 },216 "series": {217 "type": "array",218 "items": {219 "type": "object",220 "properties": {221 "conversations": {222 "type": "number"223 },224 "messages": {225 "type": "number"226 },227 "bucket_start": {228 "type": "string"229 },230 "groups": {231 "type": "array",232 "items": {233 "type": "object",234 "properties": {235 "conversations": {236 "$ref": "#/properties/series/items/properties/conversations",237 "description": "The conversations returned by the tool."238 },239 "messages": {240 "$ref": "#/properties/series/items/properties/messages",241 "description": "The messages returned by the tool."242 },243 "dimensions": {244 "type": "object",245 "properties": {246 "project_id": {247 "anyOf": [248 {249 "type": "string",250 "format": "uuid",251 "description": "Project identifier associated with this result."252 },253 {254 "type": "null",255 "description": "Project identifier associated with this result."256 }257 ],258 "description": "Project identifier associated with this result."259 }260 },261 "required": [262 "project_id"263 ],264 "additionalProperties": false,265 "description": "Structured dimensions details associated with this tool result."266 }267 },268 "required": [269 "conversations",270 "messages",271 "dimensions"272 ],273 "additionalProperties": false274 }275 }276 },277 "required": [278 "conversations",279 "messages",280 "bucket_start"281 ],282 "additionalProperties": false283 },284 "description": "List of series associated with this tool result."285 },286 "statuses": {287 "type": "array",288 "items": {289 "type": "object",290 "properties": {291 "status": {292 "type": "string",293 "description": "Lifecycle status for the returned record."294 },295 "count": {296 "type": "number"297 }298 },299 "required": [300 "status",301 "count"302 ],303 "additionalProperties": false304 },305 "description": "List of statuses associated with this tool result."306 },307 "models": {308 "type": "array",309 "items": {310 "type": "object",311 "properties": {312 "provider": {313 "type": "string"314 },315 "model": {316 "type": "string",317 "description": "AI model id associated with this tool result."318 },319 "count": {320 "type": "number"321 }322 },323 "required": [324 "provider",325 "model",326 "count"327 ],328 "additionalProperties": false329 },330 "description": "List of models associated with this tool result."331 },332 "tools": {333 "type": "array",334 "items": {335 "type": "object",336 "properties": {337 "name": {338 "type": "string",339 "description": "Human-readable name for the returned record."340 },341 "count": {342 "type": "number"343 }344 },345 "required": [346 "name",347 "count"348 ],349 "additionalProperties": false350 },351 "description": "List of tools associated with this tool result."352 },353 "projects": {354 "type": "array",355 "items": {356 "type": "object",357 "properties": {358 "project_id": {359 "anyOf": [360 {361 "type": "string",362 "format": "uuid",363 "description": "Project identifier associated with this result."364 },365 {366 "type": "null",367 "description": "Project identifier associated with this result."368 }369 ],370 "description": "Project identifier associated with this result."371 },372 "project_name": {373 "type": "string"374 },375 "project_slug": {376 "type": [377 "string",378 "null"379 ]380 },381 "count": {382 "type": "number"383 }384 },385 "required": [386 "project_id",387 "project_name",388 "project_slug",389 "count"390 ],391 "additionalProperties": false392 },393 "description": "List of projects associated with this tool result."394 },395 "recent_conversations": {396 "type": "array",397 "items": {398 "type": "object",399 "properties": {400 "conversation_id": {401 "type": "string",402 "format": "uuid",403 "description": "Conversation identifier associated with this result."404 },405 "title": {406 "type": [407 "string",408 "null"409 ],410 "description": "Short human-readable title returned by the tool."411 },412 "status": {413 "type": "string",414 "description": "Lifecycle status for the returned record."415 },416 "project_id": {417 "anyOf": [418 {419 "type": "string",420 "format": "uuid",421 "description": "Project identifier associated with this result."422 },423 {424 "type": "null",425 "description": "Project identifier associated with this result."426 }427 ],428 "description": "Project identifier associated with this result."429 },430 "project_name": {431 "type": "string"432 },433 "project_slug": {434 "type": [435 "string",436 "null"437 ]438 },439 "last_activity_at": {440 "type": "string"441 }442 },443 "required": [444 "conversation_id",445 "title",446 "status",447 "project_id",448 "project_name",449 "project_slug",450 "last_activity_at"451 ],452 "additionalProperties": false453 },454 "description": "List of recent conversations associated with this tool result."455 }456 },457 "required": [458 "summary",459 "timeframe",460 "series",461 "statuses",462 "models",463 "tools",464 "projects",465 "recent_conversations"466 ],467 "additionalProperties": false,468 "description": "Structured result returned by the get_conversation_analytics tool.",469 "$schema": "http://json-schema.org/draft-07/schema#"470}