Skip to main content
Glama

tool_format_slim_message

Format a SLIM message for secure, low-latency agent communication. Provide sender ID, channel, and payload; optionally enable encryption.

Instructions

Format a SLIM message (Secure Low-latency Interactive Messaging).

SLIM is the AGNTCY protocol for secure real-time agent communication. Supports pub-sub, end-to-end encryption and low latency.

Args: sender_id: ID of the sending agent channel: SLIM channel (e.g. "tasks/analysis", "alerts/security") payload: Message content encrypted: Whether to encrypt the message (default: True)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sender_idYes
channelYes
payloadYes
encryptedNo
Behavior2/5

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

No annotations are provided, so the description carries full burden. It mentions encryption and low latency but does not disclose whether the tool sends the message, requires network access, or has side effects. The return value is not described.

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 front-loaded with purpose, followed by protocol context and a bulleted argument list. It is efficient with no fluff, though the protocol explanation could be condensed.

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?

Missing return value description, error handling, and usage differentiation among siblings. Given no output schema, the agent needs to know what the tool returns. Without that, completeness is low.

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 description explains each parameter with context (e.g., examples for channel, default for encrypted). This adds meaning beyond the bare schema, compensating for the 0% schema description coverage.

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?

Clearly states the tool formats a SLIM message and explains the protocol. However, it does not explicitly distinguish from sibling tool tool_create_acp_message, which also involves message creation.

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 on when to use this tool versus alternatives like tool_create_acp_message. The description lacks usage context or preconditions.

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/AiAgentKarl/agntcy-mcp-server'

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