Skip to main content
Glama
kobra-x-mcp

kobra-x-mcp

by fralapo

set_light

Turn the Kobra X printer light on or off and set brightness from 0 to 100; requires confirmation unless dry_run previews the action.

Instructions

PHYSICAL ACTION: turn the light on/off (brightness 0-100). Acceptance observed on the Kobra X.

Proceeds only with confirm=true and the person's confirmation; dry_run=true shows the message.

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": {
      "on": "<on>"
    },
    "name": "set_light"
  }
}

Input Schema

NameRequiredDescriptionDefault
onYestrue turns the light on, false turns it off.
confirmNoMust be the boolean true to proceed.
dry_runNotrue: return the exact message without sending it or asking for confirmation.
brightnessNoBrightness 0-100 (only with on=true).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does well: it discloses that this is a physical actuation, that a human confirmation gate plus confirm=true is mandatory, that dry_run returns the message without sending, and that acceptance was observed on the Kobra X (hardware-specific support signal). It does not cover failure behavior on unsupported hardware or what happens if confirmation is refused, so it stops short of full disclosure.

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

Conciseness4/5

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

Two compact sentences with the safety-critical constraint (physical action + confirmation) front-loaded ahead of the dry_run note. The phrase "Acceptance observed on the Kobra X" is slightly cryptic but short and informative.

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?

An output schema exists, so return values need no explanation, and all parameters are schema-documented. The critical safety and preview semantics are stated; only post-failure behavior and unsupported-hardware handling are left implicit.

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%, so all four parameters (on, confirm, dry_run, brightness) are already documented in the schema. The description reinforces the confirm gate and brightness range but adds no syntax or edge-case meaning beyond what is structured, so baseline 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 and resource ("turn the light on/off") plus the controllable range (brightness 0-100), which is unmistakably distinct from sibling tools like set_fan and set_temperature. The "PHYSICAL ACTION:" prefix immediately frames it as real-hardware actuation.

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 a clear precondition chain: proceeds only with confirm=true and the person's confirmation, and dry_run=true previews the message instead. It does not name alternatives or state when not to use it, but the use context (user wants the printer light toggled) is unambiguous.

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