Connect the Google Chat MCP server to your AI agent Open source, MIT, on npm. Setup instructions for Claude, Cursor and Codex are in the repository; adoption questions — Telegram. GitHub repository Telegram

Google Chat: Find a direct-message space — MCP tool

Google Chat MCP tool: Finds the existing direct-message space between the authenticated user and another user.

Technical name: find_direct_message

What task it solves

I want to message a specific person directly.

Resolves the other user (id or email) to the existing DM space, whose name then feeds send_message and list_messages.

When to use it

Use it before sending a direct message when only the person is known, not the space id.

What to provide

  • userrequired. users/<id>, users/<email>, or a bare Google user id / email address.

What it returns

The DM space (name spaces/<id>, spaceType DIRECT_MESSAGE).

What changes in Google Chat

The tool reads Google Chat data and does not change it.

Example request

Find my direct-message space with colleague@example.com so I can send them a note.

Errors and limitations

Returns HTTP 404 when no DM with that user exists yet — this tool cannot create one (creating a DM needs spaces:setup via Raw Google Chat API call). Access also depends on token permissions, quotas, and upstream API limits.

Related MCP tools

Technical details