Skip to main content
Glama

Reply in a Google Chat thread

reply_chat_message
Destructive

Replies as the user in an existing Google Chat thread (space and thread from list_recent_chat, search_chat or get_chat_thread). The reply goes into that thread or fails with CHAT_NOT_FOUND; it never starts a new thread instead. In a direct message or group chat without threads, send_chat_message posts in the conversation. The message is sent immediately and cannot be unsent from Fezola. accountId is required when several Google Chat accounts are connected. Returns the sent reply with its link. Fails with CHAT_WRITE_NOT_GRANTED or CHAT_SEND_DISABLED like send_chat_message. Attachments work as in send_chat_message.

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": {
      "space": "<space>",
      "thread": "<thread>"
    },
    "name": "reply_chat_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoMessage text, sent as written. Google Chat formatting: *bold*, _italic_, ~strikethrough~, `code`. Optional when attachments are given.
spaceYesSpace, group chat or DM: "spaces/AAAA", as returned by the other Google Chat tools.
threadYesThread: "spaces/AAAA/threads/BBBB" or just "BBBB".
accountIdNoGoogle Chat account. Optional when only one is connected.
requestIdNoOptional idempotency key. Calling again with the same requestId, text and files returns the message already sent (alreadySent: true) instead of sending it twice. Without it, the same text and files sent to the same place within 10 minutes also count as one message and return alreadySent: true; a new requestId always sends a new message.
attachmentsNoFiles to send with the message (10 max, 50 MB in total): a file you provide ({ filename, mimeType, base64 }, 700 KB each, the whole call under 1 MB) or an attachment of an email in a connected mailbox ({ fromEmail: { accountId, uid, folder, index } }; the whole email must be 15 MB or less, about 11 MB of attachments; Fezola reads it from the mailbox). Executable types blocked by Google Chat (exe, bat, js, jar, msi...) are refused. Files are uploaded first; if one fails, no message is sent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, but the description explains what that means concretely: the message is sent immediately and cannot be unsent from Fezola. It adds permission/configuration failure codes (CHAT_WRITE_NOT_GRANTED, CHAT_SEND_DISABLED), the multi-account requirement for accountId, and what is returned. Nothing contradicts the annotations.

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?

Dense and front-loaded: the core action and its constraint come first, then alternatives, then failure modes. A minor redundancy is naming the two failure codes and then pointing to send_chat_message for the same behavior, but no sentence is wasted.

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

Completeness5/5

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

Covers the full surface an agent needs for a 6-parameter write tool: threading semantics, alternatives, idempotency (via schema), attachment handling, error codes, and return value ("the sent reply with its link") despite having no output schema. Nothing material is missing.

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 100%, so most parameter meaning is already documented in the schema, including the accountId conditional and the requestId idempotency rules. The description adds only light value: where space/thread come from and the pointer that attachments behave as in send_chat_message. Baseline 3 is appropriate.

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 ("Replies as the user in an existing Google Chat thread") and immediately distinguishes it from send_chat_message for DMs/threadless conversations. It also names the sibling tools that supply the space and thread identifiers, so an agent can place it in the tool graph without opening a 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 about when to use it (existing thread, space and thread sourced from list_recent_chat, search_chat or get_chat_thread) and when not to (DM or group chat without threads → send_chat_message). It also states the failure mode CHAT_NOT_FOUND and that it never creates a new thread instead.

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