Skip to main content
Glama
kinbeg

mcp-kr-controller

by kinbeg

ping_pong

Animates a single relay output bouncing back and forth between start and end circuits, creating a ping-pong effect. Sends all commands in one call with configurable delay and round trips.

Instructions

单灯 ping-pong 弹跳动画:从起始回路到终止回路的单个灯来回跑动效果。每次只亮一路,像乒乓球一样弹跳。内部连续发送多条 SET_RELAY_MASK 指令(fire-and-forget),一次调用完成全部动画。起始和结束自动全部断开,适配 TCP 透传设备(含 V4/V5)。最后自动读取状态确认终点位置。参数:address=设备地址, start=起始回路(默认1), end=终止回路(默认8), count=来回次数(默认1), delay=帧间隔秒数(默认0.1)。对应自然语言:跑马灯、ping-pong、来回弹跳、弹弹球。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endNo终止回路号 (1-16),默认 8。不能小于起始回路。
countNo来回次数,默认 1 次(1→end→1 算一次往返)。
delayNo每帧间隔(秒),默认 0.1(100ms)。0.3 = 300ms 间隔。最小强制 50ms 防止 TCP 透传桥溢出。
startNo起始回路号 (1-16),默认 1。例如 1-8 的 ping-pong 从 1 开始。
addressNo设备地址/机器号 (1-254),即机器地址。可通过 scan_devices 自动发现,或用 list_devices 查看已注册设备。255为广播地址。
Behavior5/5

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

No annotations are provided, but the description discloses internal behavior in detail: continuous fire-and-forget SET_RELAY_MASK commands, automatic disconnection at start/end, compatibility with TCP transparent devices (V4/V5), and a final status read to confirm the endpoint. This is strong behavioral transparency beyond what schema or annotations would provide.

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 compact yet dense; every sentence adds value: behavior, internal mechanics, compatibility, parameters, and natural language mapping. It is well-structured and front-loaded with the core purpose.

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?

The description covers purpose, mechanism, parameter defaults, and usage triggers, which is substantial for a tool without an output schema. However, it does not explicitly state what the tool returns, leaving some ambiguity about the result of the call. Minor gap but overall quite complete.

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%, with rich per-parameter documentation including constraints (e.g., end cannot be less than start) and examples. The description's parameter list mostly restates names/defaults without adding new semantic information, so the baseline of 3 is appropriate.

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 explicitly states it performs a single-light ping-pong bounce animation between start and end circuits, providing a specific verb and resource. It also lists natural language aliases ('跑马灯、ping-pong、来回弹跳、弹弹球'), which clearly distinguishes it from siblings like blink_multi or momentary tools.

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?

The description maps natural language phrases to the tool, giving clear trigger conditions for when to use it. However, it does not explicitly state when not to use it or mention alternatives, so guidance is partial but useful.

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