Skip to main content
Glama
mayjack0312
by mayjack0312

eda_sys_message_bus_push_public

Push a message to the public message bus for delivery to a single puller. Enables targeted event communication between EDA components.

Instructions

sys_MessageBus.pushPublic(topic: string, message: any) -> void 公共消息总线:推消息 remarks: 每个消息只有一个 Puller 可以收到

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
argsNo按官方签名顺序排列的JSON参数数组
windowIdNo目标EDA窗口ID;省略时使用当前活动窗口

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It does add one useful delivery semantic: '每个消息只有一个 Puller 可以收到' (each message can be received by only one Puller). It also exposes the void return. However, it does not disclose side effects, error behavior, persistence, whether delivery is asynchronous, or what happens if no Puller exists.

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?

The description is compact and mostly front-loaded: the signature is immediately useful, and the remarks line adds a valuable behavioral constraint. There is some redundancy between the code-style signature and the Chinese one-line summary, but no wasted or misleading content.

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 two-parameter push operation with no output schema, an agent can likely invoke it correctly from the signature alone. However, the description does not explain the public/private message-bus family, how a Puller is registered, or the practical consequences of pushing. It is minimally adequate but leaves important surrounding context unexplained.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema only describes args as an ordered JSON array, but the description's signature supplies the actual parameter names and types: topic: string and message: any. This is essential for correctly constructing the args array. The windowId parameter is left to the schema, but schema coverage is already high, so the description adds meaningful value without needing to duplicate everything.

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

Purpose4/5

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

The description clearly states the operation as 'sys_MessageBus.pushPublic(topic: string, message: any) -> void' and adds the Chinese gloss '公共消息总线:推消息', meaning 'public message bus: push message'. This identifies a specific verb and resource. It does not explicitly contrast with siblings like eda_sys_message_bus_push or eda_sys_message_bus_publish_public, but the 'public' qualifier provides basic differentiation.

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 versus the many related message-bus siblings such as push, publish, pull, or subscribe variants. The only contextual hint is 'public' and the remark about one Puller, but the description never states conditions, exclusions, or alternatives. The agent is left to infer when this tool is appropriate.

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

Deploy Server

Other Tools