Skip to main content
Glama

send_message

Send an agent its next instruction and optionally wait for completion, returning immediately when no wait is requested.

Instructions

Send the agent its next instruction. Returns at once unless wait_seconds > 0 (max ~55).

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": {
      "agent_id": "<agent_id>",
      "text": "<text>"
    },
    "name": "send_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
agent_idYes
wait_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden, and it does disclose the key trait: non-blocking by default, blocking up to roughly 55 seconds when wait_seconds > 0. It says nothing about queuing semantics, what happens if the agent is busy or stopped, or what is returned on a blocking timeout, which are the decisions an agent actually needs.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with the core action first and the blocking caveat second; there is no filler and the important operative detail (wait_seconds behavior) is front-loaded rather than buried.

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?

For a three-parameter mutation tool with no annotations and no output schema, the definition covers the blocking contract but leaves the return value undefined (

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 0%, so the description must compensate for three undocumented parameters. It adds real meaning for wait_seconds (default-immediate behavior plus an approximate 55-second ceiling, which the schema does not convey), but agent_id and text receive no clarification at all, leaving a clear gap.

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 uses a specific verb plus target ("Send the agent its next instruction"), which clearly separates it from file-transfer siblings like send_files and control siblings like interrupt_agent. It doesn't name any sibling explicitly, and "instruction" is slightly ambiguous versus a plain chat message, so it falls short of a 5.

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?

Usage is only implied: setting wait_seconds > 0 signals the blocking/poll use case, and the sibling set implies this is the way to drive an already-spawned agent. There is no explicit statement of when to prefer send_message over interrupt_agent, wait_for_agents, or spawn_agent, and no prerequisites or error conditions are given.

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