Skip to Content

Google Chat

Connect with Google Chat spaces to use real-time communication features such as sending messages, thread replies, and managing reactions.

💡

The use of raw or derived user data received from Workspace APIs will adhere to the Google User Data Policy, including the Limited Use requirements.

Key Features

  • List spaces
  • Send messages and thread replies
  • Search messages with date filtering
  • Add/remove emoji reactions
  • Update and delete messages
  • View space members
  • View user information

Basic Information

Authentication Method

Uses OAuth 2.0 for authentication.

Supported MCP Tools

Space Management Tools

get_chat_spaces

Lists all Google Chat spaces the user has access to.

Input Parameters:

  • pageSize (optional): Number of spaces to retrieve at once
  • pageToken (optional): Pagination token

get_space_members

Lists all members of a Google Chat space.

Input Parameters:

  • spaceName (required): Space name
  • pageSize (optional): Number of members to retrieve at once
  • pageToken (optional): Pagination token

Message Management Tools

get_space_messages

Retrieves messages from a specific Google Chat space with optional date filtering.

Input Parameters:

  • spaceName (required): Space name
  • pageSize (optional): Number of messages to retrieve at once
  • pageToken (optional): Pagination token
  • startDate (optional): Start date
  • endDate (optional): End date

get_message

Retrieves details of a specific message.

Input Parameters:

  • messageName (required): Message name

send_message

Sends a message to a Google Chat space.

Input Parameters:

  • spaceName (required): Space name
  • text (required): Message content

reply_to_thread

Replies to a specific message thread in Google Chat.

Input Parameters:

  • spaceName (required): Space name
  • threadName (required): Thread name
  • text (required): Reply content

update_message

Updates the text content of an existing message.

Input Parameters:

  • messageName (required): Message name
  • text (required): Updated message content

delete_message

Deletes a message from a Google Chat space.

Input Parameters:

  • messageName (required): Message name

search_messages

Searches messages in a Google Chat space with optional filtering by date range and keywords.

Input Parameters:

  • spaceName (required): Space name
  • pageSize (optional): Number of messages to retrieve at once
  • pageToken (optional): Pagination token
  • startDate (optional): Start date
  • endDate (optional): End date
  • query (optional): Search query

Reaction Management Tools

add_reaction

Adds an emoji reaction to a message.

Input Parameters:

  • messageName (required): Message name
  • emoji (required): Emoji

remove_reaction

Removes an emoji reaction from a message.

Input Parameters:

  • reactionName (required): Reaction name

User Management Tools

get_users

Retrieves user names for given user IDs. When multiple user IDs are provided, it returns the display name for each.

Input Parameters:

  • userIds (required): List of user IDs

Usage Example

For example,

  • When you input “Send ‘Meeting starting now’ message to ‘Project A’ space in Google Chat” as a prompt,
  • LLM calls the send_message tool via MCP to send the message.
  • Then, it responds in the chat based on the tool call results.
Last updated on