Skip to main content
Glama
mpolinowski

camera-mcp

by mpolinowski

Set Camera Value

set_camera_value

Set a camera setting and wait for observation confirmation. Returns confirmed, clamped, unchanged, or timeout status based on actual camera state.

Instructions

Set a camera capability value and wait for camera observation confirmation.

Requests a camera setting change via MQTT and waits for the camera's observed state. The operation does not succeed simply by sending the command; it requires fresh observation.

Use list_camera_capabilities to discover valid settings and value types.

Returns result status:

  • confirmed: requested value was observed by camera with confidence OBSERVED

  • clamped: camera applied a different valid value (clamped to allowed range)

  • unchanged: requested value was already freshly observed, no publish necessary

  • timeout: fresh confirmation not obtained within timeout

Result is authoritative based on observed state, not requested value.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valueYes
cameraYes
settingYes
timeoutNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations provided, the description fully carries the behavioral disclosure burden. It transparently states that the operation requires fresh observation, may return clamped/unchanged/timeout outcomes, and is authoritative based on observed state rather than the requested value.

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 front-loaded with the core behavior and uses a compact bulleted status list with no filler. Its length is justified by the non-obvious observation-confirmation workflow and the need to explain non-trivial result semantics.

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 mutation tool with no annotations and a sparse schema, the description covers the async MQTT nature, the need for fresh observation, required discovery steps, and all meaningful result states. It leaves parameter-level type details to list_camera_capabilities, which is a reasonable division of labor.

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?

The input schema has no descriptions and the 'value' parameter is untyped, so the description must compensate. It clarifies 'setting' and 'value' by pointing to list_camera_capabilities, and 'timeout' is referenced via the timeout result status, but individual parameter meaning remains under-specified.

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 uses a specific verb ('Set') with a clear resource ('camera capability value') and adds the distinctive waiting-for-observation-confirmation behavior. It clearly separates this tool from sibling list/get/wait tools by emphasizing the set-and-verify action.

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?

It explicitly instructs agents to use list_camera_capabilities to discover valid settings and value types before invoking this tool. It establishes a clear set-and-verify workflow, though it does not explicitly contrast it with wait_camera_state or other sibling tools.

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