Skip to main content
Glama

event_snapshot

Read-onlyIdempotent

Capture a snapshot of a Frigate event with its bounding box, optionally cropping to zoom in on the detected object for closer inspection.

Instructions

Snapshot of an event with its bounding box; crop=True zooms on the object. Keep the default height/quality; raise them only when the user needs a detail that is too small to see. The server may cap both.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "event_id": "<event_id>"
    },
    "name": "event_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
cropNo
heightNo
qualityNo
event_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.3.0
    • addedInput schema / properties / height
      Added value: +{
      +  "default": 480,
      +  "title": "Height",
      +  "type": "integer"
      +}
    • addedInput schema / properties / quality
      Added value: +{
      +  "default": 70,
      +  "title": "Quality",
      +  "type": "integer"
      +}
  2. First observedv0.1.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly/idempotent/non-destructive, so safety is covered. The description adds genuine behavioral context — crop zooms on the object, and the server may silently cap height and quality — which is valuable because it warns of results differing from requested values. It does not say what the snapshot returns (image bytes, URL, or format) or what happens when no image is retained.

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?

Three short sentences, front-loaded with what the tool produces, then the crop behavior, then tuning advice. Nothing is redundant, though the capping note would land better attached directly to height/quality rather than as a trailing sentence.

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

Completeness3/5

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

With no output schema, the description should indicate what comes back for an image-retrieval tool (reference vs binary data, image format), and it does not. It is otherwise adequate: defaults, capping, and crop semantics are covered, and the four-parameter surface is simple.

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 description coverage is 0%, so the description must carry the load, and it does for three of four parameters: crop's zoom behavior, height and quality defaults, and the fact that both may be capped server-side. Only event_id is left implicit, which is a minor gap given the parameter name and required status.

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

Purpose4/5

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

The description identifies a specific resource and operation: an image snapshot of a given event, including the bounding box, with crop controlling zoom. It is clearly distinct from get_event (metadata) and latest_frame (no event_id) in substance, but it never explicitly names those siblings to route the agent.

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?

It gives real guidance on when to raise height/quality (only when a detail is too small to see) and states the defaults should normally be kept. It gives no guidance on when to choose this over get_event or latest_frame, and no prerequisites (e.g. whether the event must have a retained image).

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