Skip to main content
Glama
kinbeg

mcp-kr-controller

by kinbeg

momentary_on_off_single

Turn on a single relay channel for a set time, then automatically turn it off. Provides momentary or delayed-off switching for a chosen output.

Instructions

单路点动 ON→OFF:吸合的继电器在指定时间后自动断开。相当于延时关闭。参数:address, channel=回路号, time=延时时间。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
timeYes时间参数 (0-255)。0=关闭该组点动/闪烁。单位约为 0.1 秒(具体见说明书)。
addressNo设备地址/机器号 (1-254),即机器地址。可通过 scan_devices 自动发现,或用 list_devices 查看已注册设备。255为广播地址。
channelYes继电器回路号 (1-16),即第几路输出。
Behavior3/5

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

No annotations are provided, so the description must disclose behavior. It states the core behavior (relay auto-disconnects after time) and gives an equivalence ('延时关闭'). However, it omits edge cases like time=0 (disabled) and broadcast address behavior, which are present in the schema but not in the description.

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 concise sentences with a parameter list. The first sentence front-loads the core function; the second adds an equivalence. The parameter list is redundant but not verbose.

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 simple relay control tool with full schema coverage, the description adequately explains the main behavior but lacks edge-case and return-value context. Without annotations, some behavioral transparency is missing, but the tool is simple enough that the description is nearly sufficient.

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 covers all parameters with descriptions (100%). The description repeats param names and provides a brief mapping (channel=回路号, time=延时时间), which adds minimal semantic reinforcement but does not exceed schema detail.

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 tool performs single-channel momentary ON→OFF: the relay engages and automatically disconnects after a specified delay. This directly distinguishes it from sibling tools like momentary_off_on_single and multi-channel variants.

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

Usage Guidelines3/5

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

The description provides context that it is a delayed shutdown for a single channel, but does not explicitly state when to use this over alternatives or mention exclusions. It relies on the name and sibling differences for differentiation.

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