Skip to main content
Glama
Google Workspace MCP connector

Google Workspace MCP connector

by animesh-ex

chat_list_spaces

Read-only

Lists the Google Chat spaces you belong to, including rooms, group chats and direct messages. Filter results by type and set page size to retrieve the conversations you need.

Instructions

List Google Chat spaces (rooms, group chats and direct messages) you belong to.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "chat_list_spaces"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoany
pageSizeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.7.0

TDQS

A3.7/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds some useful behavioral context by specifying that results are limited to spaces the caller belongs to and by enumerating space types, but it does not explain pagination, authorization requirements, rate limits, or response behavior.

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?

The definition is a single front-loaded sentence with no unnecessary wording. It efficiently states the action, resource, included space types, and access scope.

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 simple read-only list tool with two optional parameters and no output schema, the description is nearly complete: it identifies the resource and the scope of results. It leaves minor gaps around pagination and how the type filter works, but it is sufficient for an agent to understand the tool's purpose and default invocation.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate for undocumented parameters. It indirectly maps natural-language space categories to the `type` enum, but it never explains how to use the filter, the default `any` behavior, or the `pageSize` parameter and its pagination implications.

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?

The description uses a specific verb, "List," and a specific resource, "Google Chat spaces," and clarifies that these include rooms, group chats, and direct messages. It also states the scope constraint "you belong to," making it distinguishable from sibling tools that list members, messages, or send messages.

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

Usage Guidelines3/5

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

The description makes the general use case clear through "spaces you belong to," which implies listing accessible spaces. However, it gives no explicit guidance on when to use this tool versus alternatives such as chat_search_messages or chat_list_members, and no prerequisites or exclusions are stated.

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

Deploy Server

Other Tools