Skip to main content
Glama

Capture camera image

capture_camera
Read-only

Captures a forward-facing rover photo and returns a first-person PNG plus JSON object data (type, color, bearing, distance) for obstacle, tape, and light detection.

Instructions

Take a picture with the rover's forward-facing camera (needs the camera module). Returns a 320×240 first-person PNG (walls, colored obstacles, colored floor tape, the light source) and a JSON list of what is in view: type (obstacle / tape / light), id, color, bearing_deg (0 = straight ahead, + = right) and distance_cm.

Input Schema

NameRequiredDescriptionDefault
fov_degNoChange the horizontal field of view first (default 60°)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds value with the camera-module dependency and by spelling out the return payload (a 320×240 PNG and a JSON list with type, id, color, bearing_deg, distance_cm). It doesn't say what happens when the module is missing, but this is a strong addition over the annotations.

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?

Two sentences, front-loaded with the action, then the return format. The field list (bearing_deg, distance_cm) is dense but each item earns its place because there is no output schema. Slightly long, but not 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?

With no output schema, the description properly explains the return payload and per-object field meanings. The prerequisite is stated. What's missing is failure behavior when the camera module is absent and the image encoding (base64 vs. path), which an agent would need to use the result.

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 fov_deg parameter already documents its 40–100 range and 60° default. The description never mentions fov_deg, so it adds little meaning; baseline 3 applies when the schema carries the parameter semantics.

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 states a specific verb and resource: 'Take a picture with the rover's forward-facing camera.' The phrase 'forward-facing' and 'camera module' distinguish this tool from the other sensor-reading sibling tools (read_sensors, get_observation) and from the display tools, so an agent can select it without opening the schema.

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?

The parenthetical '(needs the camera module)' gives one useful prerequisite for calling the tool. However, the description never says when to use this tool versus read_sensors or get_observation, nor does it state what to do if the camera module is not installed. Usage is implied by the prerequisite but never routed.

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