Skip to main content
Glama
whoamiTM

bi-mcp

by whoamiTM

bi_list_alerts

Read-only

Retrieve recent camera alerts with AI memos, zones, and clip paths to reconstruct what fired when. Filter by camera, date range, view, or memo substring.

Instructions

Recent alerts with AI memo (object, confidence, license plate), zones triggered, and clip path. Requires 'camera' short name (or 'Index' for all). First stop for 'what fired when' / reconstructing an alert chain — per-alert timestamps and memos, no dedup. Use this before bi_list_log when investigating a specific event. Optional 'startdate'/'enddate' accept unix epoch int, ISO-8601 ('2026-05-27T14:09:02Z'), or relative shorthand ('-2h', '-1d'). 'view' (filter; see schema for full enum), 'search' (memo substring). 'limit' default 50. Crossover note: if 'view' is set to 'flagged', BI may also return clip items here; those clips lack the 'zones' field and their 'msec' is the clip length, not alert length.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rawNoIf true, return the raw Blue Iris JSON instead of the shaped view.
viewNoDatabase view filter. Per BI manual § *alertlist*: 'all', 'new', 'stored', 'alerts', 'aux1'..'aux7', 'flagged', 'export', 'archive', 'people', 'vehicles', 'confirmed', 'canceled'. Per UI3 source (additional values it sends): 'zonea'..'zoneh', 'dio', 'onvif', 'audio', 'external', 'cancelled' (British). Crossover: 'flagged' may also return clip items (no 'zones' field); see manual § *cliplist* note on shared views.
limitNoMax alerts (default 50).
cameraYesCamera short name (required). Use 'Index' for all cameras.
searchNoMemo substring filter (server-side).
enddateNoLatest alert. Int (UTC sec), ISO-8601, or relative shorthand like '-2h', '-1d'.
startdateNoEarliest alert. Int (UTC sec), ISO-8601, or relative shorthand like '-2h', '-1d'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.3

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already provide readOnlyHint=true, and the description adds meaningful behavioral detail beyond that: no dedup, per-alert timestamps and memos, flexible date format parsing, default limit, and the important flagged-view crossover where clip items lack 'zones' and 'msec' means clip length instead of alert length. This exceeds what annotations alone communicate.

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

Conciseness5/5

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

The description is dense but well-organized: front-loaded output summary, then usage guidance, then parameter formats, then the critical crossover edge case. Every sentence contributes distinct information, and it links to the schema for the full view enum rather than duplicating it.

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

Completeness4/5

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

For a 7-parameter list tool with no output schema, the description covers the essential operational context: what is returned, when to use it, date formats, filters, default limit, and an important view-related anomaly. A small gap is the lack of explicit response shape or ordering/pagination behavior, but the high schema coverage and readOnly annotation reduce the need for more.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description adds value beyond the schema by specifying the accepted formats for startdate/enddate (unix epoch int, ISO-8601, relative shorthand with examples), explaining that 'search' is a server-side memo substring, noting the 'Index' sentinel for camera, and giving the default for 'limit'. It does not redundantly restate every schema property.

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 uses a specific verb-resource combination ('Recent alerts...') and clearly states what the tool returns: AI memo (object, confidence, license plate), zones triggered, and clip path. It also distinguishes itself from nearby siblings by naming bi_list_log as the alternative to use after this tool and by calling itself the 'First stop' for alert-chain reconstruction.

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

Usage Guidelines5/5

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

It explicitly says when to use this tool ('First stop for what fired when / reconstructing an alert chain') and when to prefer another ('Use this before bi_list_log when investigating a specific event'). The crossover note about 'flagged' view potentially returning clip items also warns the agent about a case that would otherwise look like a different tool's domain.

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