Skip to main content
Glama
mayjack0312
by mayjack0312

eda_sys_message_bus_rpc_call_public

Invoke a public RPC service on the EDA message bus by providing a topic, optional message, and timeout to execute functions in EasyEDA Pro.

Instructions

sys_MessageBus.rpcCallPublic(topic: string, message?: any, timeout?: number) -> Promise 公共消息总线:调用 RPC 服务 returns: RPC 服务返回

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It discloses the operation type (RPC call) and that it resolves to the RPC service return value, but it omits timeout behavior (despite a timeout parameter), error handling, whether the topic must pre-exist, and whether the call blocks. These are significant unknowns for a messaging API with zero annotation coverage.

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

Conciseness3/5

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

The description is compact — a signature line, a one-line Chinese purpose, and a returns clause. It earns its place but the bilingual mix (Chinese purpose, English signature) adds parsing friction, and the purpose line is placed after the signature rather than front-loaded. It is not wasteful, but structure could be improved for an English-reading agent.

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?

For a generic RPC invocation tool with no output schema and no annotations, the description is incomplete. It does not cover timeout semantics (despite exposing a timeout parameter), error propagation, topic existence requirements, or even what the resolved return value typically looks like. In a large sibling ecosystem, this leaves too much to guesswork.

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 coverage is 100% and the schema documents both parameters at a structural level: 'args' as a positional JSON array and 'windowId' as an optional target. The description adds real value by showing the official signature (topic, message, timeout), which clarifies the positional order of elements in 'args' — something the schema alone does not convey. This pushes it slightly above the baseline.

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

Purpose3/5

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

The description identifies the tool as calling an RPC service on the public message bus and states the return value, which conveys the basic purpose. However, it does not distinguish itself from nearly identical siblings like eda_sys_message_bus_rpc_call (likely the private version) or eda_sys_message_bus_rpc_service_public. The 'public' qualifier hints at a distinction but the description never spells it out, leaving sibling differentiation to inference.

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 gives no guidance on when to use this tool versus the many message-bus siblings (publish_public, pull_public, subscribe_public, rpc_call, rpc_service_public). It does not explain what an RPC call is for relative to publish/subscribe patterns, nor when the public variant is preferable over the private one. An agent would struggle to route the call correctly among the sibling set.

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