Skip to main content
Glama
mpolinowski

camera-mcp

by mpolinowski

Get Camera Health

get_camera_health

Diagnose camera connectivity issues by checking MQTT broker status and camera message activity. Use when the MCP server runs but the camera appears offline.

Instructions

Check operational health and connectivity of camera integration.

Distinguishes between MCP server availability and camera/broker connectivity.

Returns operational state:

  • MCP server alive: process is running

  • MQTT broker connected: broker reachable

  • Camera online: camera publishing state messages

  • Camera offline: broker connected but no camera messages

MCP server starts successfully even if camera is offline. Use this tool to diagnose connectivity issues rather than assuming MCP failure.

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

A4.5/5.0
Behavior5/5

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

With no annotations provided, the description carries the full behavioral burden and handles it well. It defines exactly what each operational state means, explains that the MCP server can start successfully even when the camera is offline, and distinguishes server availability from broker and camera connectivity. This gives the agent useful diagnostic context beyond the tool name.

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 concise, front-loaded with the core purpose, and uses a well-organized bullet list for the operational states. Every sentence adds meaningful information, and there is no redundancy or filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter diagnostic tool with an output schema, the description is complete. It explains the possible operational states, the relationship between server/broker/camera, and the right situation in which to use the tool. An agent can reasonably select and invoke this tool without needing additional context.

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 schema only shows one required 'camera' string parameter with 0% description coverage, so the description should compensate. It does imply that 'camera' refers to the camera being health-checked and clarifies what 'online' and 'offline' mean for that camera. However, it never explicitly describes the expected value format or how to identify the camera, so the parameter semantics are only partially covered.

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 opens with a specific verb and resource: 'Check operational health and connectivity of camera integration.' It clearly distinguishes this tool from siblings like get_camera_state, get_camera_image, and set_camera_value by focusing on health/diagnostics rather than state retrieval, imaging, or control.

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 says to 'Use this tool to diagnose connectivity issues rather than assuming MCP failure,' which is clear when-to-use guidance. It also clarifies that MCP server health and camera/broker connectivity are separate concerns. It does not explicitly name alternative sibling tools, so it stops short of a full when-to-use versus alternative comparison.

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