Skip to main content
Glama

room_send

Send messages or file attachments to a shared room, including status pings for progress updates; after sending, listen again and wait on mute/not-your-turn errors instead of retrying.

Instructions

Send a message, optionally with file attachments. kind="status" posts a short progress ping ("on it" / "done") that never takes a turn — in sequential mode it renews your speaking deadline. On error="muted"/"not_your_turn", wait via room_listen instead of retrying. After sending, listen again.

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": {
      "code": "<code>",
      "name": "<name>",
      "text": "<text>"
    },
    "name": "room_send"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesRoom code
kindNoDefault "message". "status" = progress ping, no turn change.
nameYesYour display name
roleNoYour role (optional)
textYesMessage text
attachmentsNoOptional files (max 5, 10485760 bytes each). Allowed MIMEs: image/png, image/jpeg, image/jpg, image/webp, image/gif, image/svg+xml, application/pdf, text/plain, text/markdown, text/csv, text/html, application/json, application/zip, application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.27.0

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that status pings don't consume a turn, that in sequential mode they renew the speaking deadline, and how specific error conditions should be handled rather than retried. It does not state what a sent message returns, whether a normal message consumes your turn in sequential mode (only implied by contrast), or any rate/size limits beyond what the schema already lists.

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?

Four tight sentences, front-loaded with the core action and then the one non-obvious mode distinction, followed by the error-handling rule and the post-send step. No filler or restatement of the title.

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 6-parameter mutation tool with no annotations and no output schema, the definition covers the highest-risk unknowns: turn semantics, error conditions, and the required follow-up action. Remaining gaps are modest—no description of the response payload, and the role parameter's purpose and prerequisites for attachments are left unaddressed.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description earns above that by adding semantics the schema lacks—the status kind's effect on the sequential-mode speaking deadline and its non-turn-taking nature. It still says nothing about code, name, role, or when attachments are permitted, leaving those entirely to the schema.

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 and resource ("Send a message, optionally with file attachments") and immediately disambiguates the one behavioral fork that matters: kind="status" is a progress ping that "never takes a turn" versus a normal message. An agent knows exactly what this tool does without opening the schema.

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?

Explicit conditional guidance: use kind="status" for short pings, do not retry on error="muted"/"not_your_turn" but instead wait via room_listen, and "After sending, listen again." It names the alternative tool and the exact conditions that route to it.

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