Skip to main content
Glama

send_message

Sends peer data to an eligible chat by exact target ID so Linux Claude Code and Codex Desktop chats can exchange messages.

Instructions

Send peer data to an eligible chat by exact ID.

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": {
      "target": "<target>",
      "body": "<body>"
    },
    "name": "send_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
targetYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-idempotent, non-destructive, closed-world write, so the safety profile is covered. The description adds the 'exact ID' and 'eligible chat' preconditions, which is genuine context beyond the annotations. It stops short of describing what happens on an invalid or ineligible target (error vs. silent drop) or whether repeats create duplicates, which matters for a non-idempotent send.

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?

A single short sentence with no filler, and the operation is front-loaded in the verb. It is efficient, though its brevity comes at the cost of the missing parameter and eligibility detail noted elsewhere.

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?

An output schema exists, so return values need not be explained, and annotations cover the mutation profile. However, for a two-parameter write tool with 0% schema description coverage, the definition leaves the meaning of target and body and the eligibility condition unresolved, which is not enough for an agent to call it reliably.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the burden of explaining both required parameters and largely fails. 'By exact ID' weakly implies that target is a chat identifier, but 'peer data' does not clarify that body is the message text or what format peer data takes, and neither constraint (max length, required-ness) is reinforced.

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 concrete verb and resource: sends data to a chat identified by exact ID. It does not differentiate itself from siblings that also create or target chats (claude_launch, claude_open_chat_draft), so it falls short of a 5. The phrase 'peer data' is slightly idiosyncratic but the operation is still recognizable.

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?

There is no explicit when-to-use guidance and no named alternative against which an agent could route a request. The one implicit constraint, that the target must be an 'eligible chat', is never defined, so an agent cannot determine eligibility criteria or expected behavior on an ineligible target.

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