Skip to main content
Glama
whoamiTM

bi-mcp

by whoamiTM

bi_list_alerts

Read-only

Retrieve recent Blue Iris camera alerts with AI memos, confidence, license plates, zones, and clip paths. Filter by camera, date range, memo, or view to reconstruct alert chains before checking logs.

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

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). An explicit limit also caps raw=true output.
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. Changed1 schema field changedv0.3.4
    • changedInput schema / properties / limit / description
      Previous value: -"Max alerts (default 50)."New value: +"Max alerts (default 50). An explicit limit also caps raw=true output."
  2. First observedv0.3.3

TDQS

A4.5/5.0
Behavior5/5

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

With readOnlyHint=true already covering safety, the description still adds real behavior: per-alert timestamps, no deduplication, limit default of 50, and a crossover warning that view='flagged' can also return clip items whose 'zones' is absent and whose 'msec' means clip length rather than alert length. That last caveat is exactly the kind of semantics an agent cannot infer.

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?

Front-loaded with the resource and the payload, then routing guidance, then parameter hints, then edge cases — a sensible ordering. It is dense and a little over-packed with quoted parameter names and typographic emphasis, but nearly every sentence carries information.

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?

No output schema exists, and the description compensates by naming the returned fields and flagging the malformed clip case. It still says nothing about ordering, overall result caps beyond 'limit', or what raw=true materially changes, so it is not fully self-sufficient.

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

Parameters3/5

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

Schema description coverage is 100%, so the baseline is 3. The description's parameter notes (date formats, view enum pointer, memo substring search, limit default) largely restate the schema; the only added interpretation, false-positive clip items under flagged, is also stated in the view schema field.

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?

States a specific verb and resource plus the payload shape ('AI memo (object, confidence, license plate), zones triggered, clip path'), and the required 'camera' scoping. It explicitly distinguishes itself from siblings bi_list_log and bi_list_clips, so an agent can pick it without opening another schema.

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?

Gives an explicit use case ('what fired when' / reconstructing an alert chain), an ordering rule ('Use this before bi_list_log when investigating a specific event'), and an exclusion ('no dedup'). The alternative is named with the condition that selects it.

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