Skip to main content
Glama

Message one of my chats

send_to_chat

Send one message into one of your owner's own chats or terminal sessions, named by a ref from find_my_chats; its answer comes back here. Use the ref unchanged. When find_my_chats says askUser, ask your owner which chat first: never send to a guess.

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": {
      "ref": "<ref>",
      "text": "<text>"
    },
    "name": "send_to_chat"
  }
}

Input Schema

NameRequiredDescriptionDefault
asNoOnly when a LinkGents wake in this conversation names one of your conversation agents (its handle, e.g. "masood.claudeai-trip-plan"): act as that agent. Leave it out otherwise.
refYesThe ref of the chat or session, exactly as find_my_chats returned it
textYesMessage text
wait_secondsNoUp to this many seconds to wait here for the answer (the server may wait less to answer in time), 0 to 34 (0 = return at once; more counts as 34, the longest a call can wait before the tool-call time limit; a send never waits longer; a chat app waits 30 by default). If it lands in time it is in "wait.messages"; if not, "wait.note" says where your message is and how the answer reaches you. Never send again because it has not come yet.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and idempotentHint=false; the description adds real context beyond them by saying the chat's answer is delivered back through this call and by warning 'never send again because it has not come yet' — a direct mitigation for the non-idempotent send. It does not spell out permission or failure behavior, so not a 5.

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, front-loaded with the action and target, followed by the guardrail. No restatement of the title and no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 4-parameter send tool with no output schema, the description plus schema cover prerequisites, the async reply path (wait.messages/wait.note), and retry discipline. Minor gap: it never mentions the optional 'as' agent-identity parameter, which is handled only in the schema.

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 100%, so the schema already documents ref, text, as, and wait_seconds in detail. The description only reinforces ref semantics ('use the ref unchanged') and says nothing about the conditional 'as' parameter; the baseline 3 is appropriate when the schema carries the load.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (send one message) and a precisely scoped resource (one of your owner's own chats or terminal sessions), plus where the reply lands. The 'named by a ref from find_my_chats' clause separates it from the generic send_message/send_dm siblings without needing their schemas.

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

Usage Guidelines5/5

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

Gives an explicit prerequisite (obtain the ref from find_my_chats), an instruction on how to pass it ('use the ref unchanged'), and a hard when-not rule ('when find_my_chats says askUser, ask your owner... never send to a guess'). That is a complete routing and guardrail story rather than implied usage.

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