Skip to main content
Glama

zmq_publish

Publish messages to a ZeroMQ PUB socket with topic and payload. Subscribers receive messages matching their topic filters.

Instructions

Publish a message to a ZMQ PUB socket.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topicYesMessage topic/topic filter for subscribers.
messageYesMessage payload to publish.
bind_addressNoAddress to bind PUB socket. Defaults to "tcp://127.0.0.1:5555".tcp://127.0.0.1:5555

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

With no annotations, the description must disclose behavioral traits like blocking, socket state requirements, or failure modes. It only states 'Publish a message', omitting whether the send is fire-and-forget or what happens if no subscribers are connected.

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 a single concise sentence that gets to the point. It could benefit from slightly more context, but it is well-structured and front-loaded.

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?

Despite having an output schema and complete parameter coverage, the description leaves out important context such as whether the socket must already be bound or if the publish is synchronous. It is not sufficiently complete for an agent to confidently use the tool without additional knowledge.

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%, with each parameter already described (topic, message, bind_address with default). The description adds no additional meaning beyond the schema, so baseline 3 is appropriate.

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 verb 'publish' and resource 'message to a ZMQ PUB socket', which conveys the core purpose. However, it does not explicitly differentiate from sibling tools like zmq_send_request or zmq_subscribe, though the socket type 'PUB' hints at publish-subscribe pattern.

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?

No explicit guidance on when to use this tool vs. alternatives such as zmq_subscribe or zmq_send_request. The socket type (PUB) implies a broadcast pattern, but the description does not articulate use cases or exclusions.

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/daedalus/mcp-zmq'

If you have feedback or need assistance with the MCP directory API, please join our Discord server