Skip to main content
Glama

get_snapshots

Fetch live images from up to five cameras in one call and return snapshot file paths, so you can compare feeds or monitor a set of favorite cameras.

Instructions

Fetch live images from multiple cameras in one call. Returns all snapshot file paths. Use to compare several cameras at once or to monitor a set of favorites. Max 5 cameras per call.

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": {
      "cam_ids": "<cam_ids>"
    },
    "name": "get_snapshots"
  }
}

Input Schema

NameRequiredDescriptionDefault
cam_idsYesArray of camera IDs (from list_cameras/search_cameras). Max 5.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv8.2.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observedv8.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the return shape ("all snapshot file paths") and a hard cap ("Max 5 cameras per call"). It is silent on what happens when a camera is offline, whether images are persisted or ephemeral, and any auth or latency implications of a live fetch.

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?

Four short sentences, front-loaded with the action, then the return value, then usage, then the limit. Nothing is wasted, though the limit sentence partially duplicates the schema.

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 one-parameter read tool with no output schema, the description covers purpose, return value, selection guidance, and the batch limit. Only edge-case behavior (partial failures, offline cameras) is missing, which is a minor gap at this complexity.

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 coverage is 100% and the single parameter already documents the IDs, their origin (list_cameras/search_cameras), and the 5-item maximum. The description's "Max 5 cameras per call" merely restates schema constraints, so baseline 3 applies.

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?

States a specific verb and resource ("Fetch live images") plus the batching scope ("from multiple cameras in one call"), which implicitly contrasts with the singular get_snapshot sibling. It stops short of naming that sibling explicitly, so the differentiation is inferred rather than stated.

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

Usage Guidelines4/5

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

Gives clear positive context: "Use to compare several cameras at once or to monitor a set of favorites." That is enough for an agent to pick this over a per-camera fetch, but there are no exclusions or named alternatives for the single-camera case.

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