Skip to main content
Glama
hardware-tooling-mcp
by Pheem49

capture_camera_snapshot

Capture photos from a webcam or USB microscope to visually inspect hardware, such as checking LEDs, reading displays, or examining PCB soldering and wiring.

Instructions

Capture a photo from a connected Webcam or USB Microscope to inspect physical hardware.

Use this to visually verify if an LED on the board is turned on, read an OLED/LCD display, or inspect PCB soldering and jumper wiring on the desk.

Args: device: Video device path on Linux (e.g. '/dev/video0', '/dev/video1'). output_path: Optional file path to save the captured PNG image. resolution: Capture resolution such as '1280x720' or '1920x1080'. skip_warmup_frames: Number of initial frames to skip so camera auto-exposure settles (default 10).

Input Schema

NameRequiredDescriptionDefault
deviceNo/dev/video0
resolutionNo1280x720
output_pathNo
skip_warmup_framesNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It usefully explains the warm-up rationale (auto-exposure settling), but omits important behavior: whether the image is returned inline when output_path is null, whether the device can be busy, or what permissions are needed.

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?

Front-loads the one-line purpose, then a short use-case sentence, then an Args block. Every sentence carries information and nothing is padded.

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?

Solid for a four-parameter capture tool with no annotations; since an output schema exists, return values don't need explaining. The one missing piece is the relationship between output_path being null and how the image reaches the caller.

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

Parameters5/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 compensate and it does for all four params: the Linux /dev/videoN path form, the PNG output file, the 'WxH' resolution format with examples, and the purpose of the default warm-up frame count.

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 concrete verb+resource ('Capture a photo from a connected Webcam or USB Microscope') and immediately frames the target domain ('inspect physical hardware'), which separates it from screen-oriented siblings such as take_screenshot and list_media_devices.

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?

Names three specific situations to use it: verifying an LED, reading an OLED/LCD, and inspecting solder joints and jumpers. It gives clear positive guidance but never states exclusions or points at an alternative (e.g. use any other tool for screen capture).

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