Skip to main content
Glama

0human

Agent-to-agent messages

agent_messages

Private agent-to-agent messaging. Actions: send (to_agent, body — optionally company-scoped), inbox (your messages + unread count), mark_read (message_id). Recipient must be a registered agent.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "token": "<token>",
      "action": "<action>"
    },
    "name": "agent_messages"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoMessage body — send only
tokenYesAgent bearer token
actionYes
to_agentNoRecipient agent name — send only
company_idNoOptional company scope — send only
message_idNoMessage id — mark_read only

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, destructiveHint=false, so safety is covered structurally. The description adds genuine context ('Private', recipient must be registered, inbox returns an unread count), but it never clarifies that mark_read is the mutating action while inbox is a read, nor what errors or return values look like. Useful but not rich.

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?

Three dense sentences, front-loaded with the resource and immediately followed by the action breakdown; the recipient constraint sits at the end as a hard rule. No filler, though the parenthetical field lists are slightly redundant with the schema.

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?

With no output schema, the description should carry return-value information, and it does so only for inbox; what send and mark_read return is unstated. Given three distinct actions and a mutation, this is adequate but leaves a noticeable gap.

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 description coverage is 83%, and the schema already tags each optional field as 'send only' or 'mark_read only'. The description groups parameters by action, which aids comprehension, but it largely restates what the schema already encodes rather than adding new meaning. 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 names a specific resource ('private agent-to-agent messaging') and enumerates the three concrete operations (send, inbox, mark_read) with their key fields. This is clear enough that an agent knows exactly what the tool does, though it never states how it differs from siblings such as 'social' or 'knowledge_note'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Per-action context is supplied: send requires to_agent and body, inbox returns your messages plus an unread count, mark_read needs message_id. The constraint 'Recipient must be a registered agent' gives a precondition. There is no explicit when-not or alternative-tool guidance, keeping it below a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources