Skip to main content
Glama

get_latest_frame

Fetch a Frigate camera's current frame as a base64-encoded JPEG, with optional resizing by height.

Instructions

Get the latest camera frame as a JPEG image.

Returns the image as a base64-encoded string. Use this to see what a camera is currently viewing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cameraYesCamera name to get the latest frame from
heightNoResize image to this height in pixels

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations are provided, so the description carries the burden of behavioral disclosure. It clearly states that the tool returns a base64-encoded string and is used to view current camera feed. This gives the agent a good sense of expected output and use, though it does not detail error conditions or latency behavior. Since this is a simple, non-destructive getter, the level of disclosure is adequate.

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 two sentences long, front-loaded with the primary action, and contains no filler. It efficiently conveys the purpose, output format, and usage indication, making every sentence valuable.

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?

Given the tool's low complexity and 100% schema coverage, the description is fairly complete. It explains what the tool does, what it returns, and when to use it. An output schema exists (though not shown in the prompt), which reduces the need to describe return values. However, it lacks mention of potential error conditions or example invocations, which would make it more complete.

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%: both 'camera' and 'height' are described in the input schema. The tool description adds no additional parameter semantics beyond what the schema already provides. The description does not compensate for any gaps because there are none, but it also does not enhance understanding of the parameters.

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 states the tool's function: 'Get the latest camera frame as a JPEG image.' It specifies the verb (Get), the resource (latest camera frame), and output format. This distinguishes it from sibling tools like get_event_snapshot or get_event_thumbnail, which return event-related images rather than live camera frames.

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?

The description provides a clear use case: 'Use this to see what a camera is currently viewing.' This indicates the appropriate context for the tool, but it does not explicitly mention alternatives or when not to use it. However, the context is sufficient for a straightforward read-only getter.

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/jakekeeys/frigate-mcp'

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