Skip to main content
Glama

set_ir_led

Idempotent

Controls a Hanwha camera's IR LED mode by setting it to Auto, Off, or On, with an optional channel. Use it to enable night vision or disable infrared illumination.

Instructions

Set IR LED mode.

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": {
      "mode": "<mode>"
    },
    "name": "set_ir_led"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYesIR LED mode: Auto, Off, On
channelNoCamera channel (default 0)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds nothing beyond that — no note on whether the setting persists, requires a specific camera state, or takes effect immediately, which is what would have earned credit here.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single four-word sentence with no waste, but it is terse to the point of under-specification rather than well-structured communication. There is no front-loaded context about effect or prerequisites.

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

Completeness3/5

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

For a two-parameter, fully documented configuration setter with no output schema, the key structural facts are available via the schema and annotations. The description still omits what mode 'Auto' means in practice and whether the change is durable, leaving a modest completeness gap.

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%: both parameters are documented, including the Auto/Off/On mode values and the channel default of 0. The description contributes no additional meaning, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ("Set IR LED mode"), which is enough to distinguish it from siblings like set_flip or set_white_balance. However, it gives no scope, device target, or effect detail, so it lands at the minimum-viable level rather than a fully specified purpose.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this tool, when not to, or what alternatives exist (for example, whether a get_* sibling should first be consulted to read the current IR mode). The agent must infer usage entirely from the name.

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