Skip to main content
Glama

IvedaAI: Alert

ivedaai_alert
Destructive

Manage video analytics alerts: search, filter, update status, retrieve details, and get statistics. Use for tracking incidents like intrusions or falls.

Instructions

IvedaAI API — Alert operations. Response JSON: "status" is the HTTP status code; "truncated"/"timedOut" flag a cut-off response.

GET /api/alerts — Find alerts query: offset?:integer, page?:any, pageNumber?:integer, pageSize?:integer, paged?:boolean, size?:any, sort?:any, sort.sorted?:boolean, sort.unsorted?:boolean, unpaged?:boolean, start*:string(yyyy-MM-dd[ HH:mm:ss[Z]]), end*:string(yyyy-MM-dd[ HH:mm:ss[Z]]), timezone?:string, ainvrIds?:integer, cameraIds?:integer, alertRuleIds?:string, alertTypes?:string enum:CAMERA_ABNORMAL|CROWD_DETECTION|DWELL|FACE_RECOGNITION|FALL|INTRUSION|LPR|OBJECT_COUNTING, states?:string enum:InProgress|Resolved|Unresolved

PUT /api/alerts — Chage alert state body: { alertIds*:integer[], state*:enum(InProgress|Resolved|Unresolved) }

POST /api/alerts/_search — Search alerts body: AlertQuery — ivedaai_get_schema for all fields

DELETE /api/alerts/{alertId} — Delete alert by id path: alertId*:integer

GET /api/alerts/{alertId} — Get alert details path: alertId*:integer

GET /api/alerts/latest — Find latest alerts query: size?:integer, ainvrIds?:integer, alertRuleIds?:string, cameraIds?:integer, alertTypes?:string enum:CAMERA_ABNORMAL|CROWD_DETECTION|DWELL|FACE_RECOGNITION|FALL|INTRUSION|LPR|OBJECT_COUNTING, states?:string enum:InProgress|Resolved|Unresolved, start*:string(yyyy-MM-dd HH:mm:ss)

POST /api/alerts/latest — Query latest alerts body: AlertQuery — ivedaai_get_schema for all fields

POST /api/alerts/pairs — Find alerts with rule with camera pars body: AlertRequest — ivedaai_get_schema for all fields

POST /api/alerts/statistics — Get alert statistics query: by*:string enum:camera|day|hour|minute|month|rule|state|type body: AlertQuery — ivedaai_get_schema for all fields

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNoJSON request body, or form field values when uploading a file.
fileNoLocal file to upload, for operations that accept a file.
pathNoPath parameters, e.g. { "cameraId": 12 }
queryNoQuery string parameters for this operation.
operationYesWhich API operation to call, from the list in this tool's description.
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description discloses the generic response envelope (status, truncated/timedOut flags) and marks required parameters with asterisks. Annotations already indicate destructive operations, so the description adds useful context without needing to repeat safety warnings. It does not discuss authentication or rate limits, but that is not required given the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with a clear header, response note, and a line per endpoint. It is dense but appropriately concise for a multi-operation tool. Minor typos ('Chage', 'pars') slightly detract, and the content is unavoidably long due to the number of endpoints.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex tool with nine operations and no output schema, the description covers every endpoint's purpose and parameters. It also references ivedaai_get_schema for complex body types, and the generic response note addresses return-value concerns. This is sufficient for an agent to select and invoke operations correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description provides exhaustive parameter details for every operation, including types, enums, required markers, and path/query/body placement. The input schema only contains generic fields (operation, body, path, query), so the description carries the full parameter documentation burden and does so thoroughly.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly identifies this as an alert operations tool, enumerating nine specific endpoints with descriptive titles (Find alerts, Change alert state, Delete alert by id, Get alert statistics, etc.). This distinguishes it from sibling alert-related tools like ivedaai_alert_rule and ivedaai_alert_trigger.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage through endpoint names and parameter lists but never explicitly states when to use this tool versus sibling alternatives, nor does it provide guidance on choosing between the different alert endpoints. There is no 'use X for this, Y for that' context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/WillORepO/ivedaAI-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server