Skip to main content
Glama

List Spaces

list_spaces
Read-onlyIdempotent

Retrieve a formatted list of Google Chat spaces accessible to a user, including rooms and direct messages, with optional filters for space type and page size.

Instructions

Lists Google Chat spaces (rooms and direct messages) accessible to the user.

Returns: str: A formatted list of Google Chat spaces accessible to the user.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
page_sizeNo
space_typeNoall
user_google_emailYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, so the safety profile is covered. The description adds that the result is a formatted string of spaces accessible to the user, but does not disclose pagination, ordering, or space-type filtering behavior beyond the schema's default. There is no contradiction with 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?

The description is short and front-loaded with the action in the first sentence. The second 'Returns' line is somewhat redundant but concisely specifies the return format. No rambling or unnecessary detail.

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

Completeness2/5

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

For a simple list tool with strong annotations, the description is still incomplete because it omits any explanation of required parameter semantics and does not offer usage context such as discovering spaces before sending messages. With 0% schema coverage and no output schema details visible beyond 'str', the agent lacks enough guidance to filter spaces or understand the required email. The annotations cover safety, but not invocation semantics.

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

Parameters1/5

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

The description provides no information about the three parameters. With schema description coverage at 0%, it does not compensate by explaining why 'user_google_email' is required or what 'space_type' and 'page_size' mean. The agent must rely solely on parameter names, which is insufficient for correctly invoking the tool.

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 states a specific action ('Lists Google Chat spaces') and clarifies scope ('rooms and direct messages') and access ('accessible to the user'). It is clearly distinct from sibling tools like get_messages or search_messages, which handle message content rather than spaces.

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 implies use when needing to enumerate the user's spaces but gives no explicit when-to-use or alternative guidance. It does not mention that list_spaces is a prerequisite for messaging tools or contrast it with search_messages. Sibling differentiation is left mostly to the tool name.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/WorldCentralKitchen/google_workspace_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server