Skip to main content
Glama
kinbeg

mcp-kr-controller

by kinbeg

connect_relay

Activate a relay output on a KR-series controller. Provide device address (1-254) and channel (1-16) to switch the specified circuit on.

Instructions

吸合指定设备指定一路继电器(ON)。参数:address=机器地址, channel=回路号。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addressNo设备地址/机器号 (1-254),即机器地址。可通过 scan_devices 自动发现,或用 list_devices 查看已注册设备。255为广播地址。
channelYes继电器回路号 (1-16),即第几路输出。
Behavior2/5

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

With no annotations provided, the description carries the full responsibility for disclosing behavioral traits. It only states that the relay is set to ON, but does not explain whether the state is latched, requires a connection, or has any side effects. This is insufficient for a control tool.

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 a single sentence with a parameter list, front-loaded with the action. Every word earns its place, with no superfluous content.

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

Completeness2/5

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

The tool is simple, but without annotations or an output schema, the description needs to provide more context. It omits prerequisites (like connection setup), the nature of the relay action (momentary vs. latching), and any indication of how this compares to alternative tools, leaving the agent under-informed.

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 provides 100% coverage with detailed descriptions for both parameters (address and channel). The description merely repeats the parameter names without adding new semantic meaning, so it adds no value beyond the schema.

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 clearly states the action: energize/activate a specified single relay channel on a specified device, with the explicit '(ON)' marker. This distinguishes it from sibling tools like all_relays_on or set_relays_by_mask, which operate on multiple relays.

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?

The description provides no guidance on when to use this tool versus alternatives, nor does it mention any prerequisites or exclusions. It simply states the action without contextualizing it against related tools such as disconnect_relay or all_relays_on.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kinbeg/mcp-kr-controller'

If you have feedback or need assistance with the MCP directory API, please join our Discord server