Skip to main content
Glama

connect_camera

Idempotent

Establish a SUNAPI connection to a Hanwha Vision IP camera using host credentials; call it first to enable device info, snapshots, configuration, and management tools.

Instructions

Connect to a Hanwha Vision IP camera via SUNAPI. Must be called before other tools.

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": {
      "host": "<host>",
      "username": "<username>",
      "password": "<password>"
    },
    "name": "connect_camera"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostYesCamera IP address or hostname
portNoHTTP port (default 80)
passwordYesCamera password
usernameYesCamera username

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare openWorldHint=true, readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the safety and idempotency profile is covered. The description contributes the precondition ordering, which is genuinely useful, but says nothing about session lifetime, credential failure behavior, or whether re-invocation replaces an existing connection.

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, zero filler, and the operative prerequisite is placed where it cannot be missed. Nothing is redundant with the tool name.

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 connection-setup tool with full schema coverage and annotations covering the safety profile, the description supplies what matters most: the protocol and the mandatory call ordering. Only minor gaps remain around session persistence and failure modes.

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 description coverage is 100% and every parameter (host, port with default 80, username, password) is documented in the schema itself. The description adds no meaning beyond the schema, so the baseline of 3 applies.

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 specific verb ('Connect') plus a specific resource ('Hanwha Vision IP camera via SUNAPI'), which is enough to distinguish it from every sibling, all of which operate on an already-connected camera. No ambiguity about what the tool does.

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?

'Must be called before other tools' is an explicit, actionable prerequisite that tells the agent exactly where this fits in the workflow. It stops short of covering edge cases such as reconnecting when a session already exists, but the core usage condition is clearly stated.

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