Skip to main content
Glama
mayjack0312
by mayjack0312

eda_sys_message_bus_rpc_call

Invoke RPC services on the private message bus by sending a topic with an optional message and timeout, then receive the service's return value.

Instructions

sys_MessageBus.rpcCall(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.8/5.0
Behavior2/5

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

Annotations are absent, so the description carries the full burden of behavioral disclosure. It reveals a Promise return but says nothing about side effects, error behavior, timeout semantics, unknown topics, or whether the call blocks. The trailing line 'returns: RPC 服务返回' is a tautology and adds no behavioral insight.

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 definition is compact, but the machine-oriented signature leads ahead of the human-readable purpose, and the 'returns' line partly duplicates what the signature already communicates. It's short without being optimally front-loaded for an agent's comprehension.

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-call tool with no output schema and no annotations, this is incomplete. It doesn't enumerate available topics, describe the shape of the resolved value, or specify error and timeout behavior — all of which an agent needs to invoke it correctly and interpret results.

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%, so the baseline is 3. The signature does add value by naming the elements inside the args array (topic, message, timeout) and their order, which an agent needs to build the array correctly. However, it doesn't explain what a valid topic is, the message format, or timeout units, keeping it at baseline.

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 provides the concrete signature sys_MessageBus.rpcCall(topic, message, timeout) and states the operation: 调用 RPC 服务 (call RPC service) on a private message bus. The 私有/private qualifier distinguishes it from the sibling eda_sys_message_bus_rpc_call_public. It names a specific verb and resource, though the prose is terse and leans heavily on the signature.

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?

No guidance is given on when to use this tool versus the many message-bus siblings (rpc_call_public, publish, push, pull, subscribe, pull_async). There are no preconditions, exclusions, or context explaining why an agent should choose an RPC call over other bus operations, so the agent must infer from the name alone.

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