Skip to main content
Glama

Send a message to an agent

chat_send

Send a message to an agent. Sends a prompt to a coding agent in the VM, in a new chat or the one named by sessionId. It answers at once; follow the chat in the dashboard or with the CLI.

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": {
      "vmId": "<vmId>",
      "message": "<message>"
    },
    "name": "chat_send"
  }
}

Input Schema

NameRequiredDescriptionDefault
vmIdYes
modelNo
messageYes
sessionIdNo
permissionModeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already state readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely non-obvious behavior beyond that: the agent responds asynchronously ('answers at once') and the conversation must be followed externally via dashboard or CLI. It could still say more about what the call returns (e.g. the new chat's id) and about permissions, but it adds real value over the structured data.

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 short sentences, front-loaded with the core action, with no filler. The opening sentence duplicates the title verbatim, which is the only minor waste; everything else carries information.

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?

This is a mutation tool with no output schema, 5 undocumented parameters, and an asynchronous contract. The description covers the async nature but omits how a caller learns which chat was created (no stated return of a chat/sessionId), what `model` and `permissionMode` control, and what `vmId` requires (a running VM?). Too many gaps for this complexity.

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% across 5 parameters, so the description must carry the burden, and it only explains `sessionId` indirectly ('in a new chat or the one named by sessionId'). `vmId`, `message`, `model`, and especially `permissionMode` (the one enum: unrestricted/ask/plan) receive no semantic explanation anywhere in the definition.

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+resource ('Sends a prompt to a coding agent in the VM') and clarifies scope: it either starts a new chat or targets the existing one named by `sessionId`. That distinguishes it from a bare chat-creation tool, though it never explicitly contrasts itself with `chat_new` or `chat_list`.

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?

'It answers at once; follow the chat in the dashboard or with the CLI' tells the agent the call is fire-and-forget and where the reply shows up, which is meaningful usage context. However, there is no explicit when-to-use / when-not-to-use guidance relative to the sibling chat tools, leaving the choice between starting a new chat via this tool versus `chat_new` implicit.

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.