Skip to main content
Glama

camera_capabilities

Check which resolutions, rotations, and video inputs a camera supports before setting a resolution or selecting a channel.

Instructions

What camera actually supports: resolutions, rotations and video inputs.

Ask before guessing a resolution on an unfamiliar device, or to find out which channel of a multi-channel encoder holds the view you want.

The listed resolutions are the WIDTHxHEIGHT values the device advertises. Most also accept named presets they do not advertise - an encoder taking 720x480 will usually take "D1", "4CIF", "CIF" and "QCIF" too.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cameraYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

There are no annotations, so the description carries the full burden of behavioral disclosure. It does this well by explaining that listed resolutions are only the advertised WIDTHxHEIGHT values and that named presets like 'D1' and 'CIF' may also be accepted even when unadvertised. This is useful caveat-level behavior information beyond the schema.

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?

The description is compact and front-loaded with the core purpose. Each paragraph adds distinct information: what it returns, when to use it, and an important caveat about unadvertised presets. No filler or redundant restatement of the tool name.

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 capability-inspection tool with an output schema, the description provides sufficient context: what to expect, when to call it, and a key behavioral caveat. The main gap is the unexplained camera parameter, but overall the agent can decide when and why to invoke it.

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

Parameters2/5

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

Schema description coverage is 0%, and the only required parameter, 'camera', is never defined in terms of how it should be specified (e.g., camera ID, name, or index). The description refers to devices and multi-channel encoders but does not explain what value the caller should pass for the camera parameter.

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 states that the tool reports what a given camera supports: resolutions, rotations, and video inputs. This clearly identifies the resource and scope, and the content distinguishes it from siblings like list_cameras or grab_frame, though it does not use an explicit action verb like 'list' or 'get'.

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 gives concrete usage guidance: use it before guessing a resolution on an unfamiliar device, or to determine which channel of a multi-channel encoder holds the desired view. It provides clear contexts, though it does not explicitly state when not to use it or name alternatives.

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