Skip to main content
Glama

get_camera_info

Look up a camera's metadata by ID to check if the ID is valid or retrieve current details without fetching a snapshot.

Instructions

Look up camera metadata by ID. Returns full details for a single camera without fetching a snapshot. Use this to check if an ID is valid or to get current metadata for a known camera.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "cam_id": "<cam_id>"
    },
    "name": "get_camera_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
cam_idYesCamera ID to look up

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv8.2.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observedv8.0.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden. It usefully discloses that no snapshot is fetched (a cost/latency signal) and that results are per-camera, but it never says what happens when the ID is invalid — an error or an empty result — which matters since ID validation is one of its stated uses.

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?

Two short sentences, front-loaded with the core action and scope, with no filler or repetition.

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 simple one-parameter read tool with no output schema, the definition covers purpose, scope, and primary use cases. The remaining gap is that 'full details' is never qualified and failure behavior on an unknown ID is unstated.

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 single parameter is fully described in the schema (100% coverage), so the schema already does the work. The description adds only that the ID identifies a specific camera and can be checked for validity, which is marginal added meaning.

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?

States a specific verb and resource ('look up camera metadata by ID') and scopes it to a single camera, which separates it from the plural listing siblings. The clause 'without fetching a snapshot' implicitly distinguishes it from get_snapshot, though no sibling is named outright.

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?

Gives explicit when-to-use conditions: validating an ID and retrieving current metadata for a known camera. It does not state when to prefer list_cameras/search_cameras instead, so the guidance is clear but not exhaustive.

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