Skip to main content
Glama

search_spaces

Read-only

Find Google Chat spaces and group chats by full or partial name, sorted by recent activity. Matches names locally because the Chat API cannot filter by name.

Instructions

Find spaces and group chats by name (case-insensitive, part of the name is enough), most recently active first. The Chat API cannot filter by name, so this lists every space the user is in and matches locally.

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": {
      "query": "<query>"
    },
    "name": "search_spaces"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNo
limitNo
queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, so the description usefully adds that matching is case-insensitive and substring-based, that results are ordered most-recently-active first, and — importantly — that the tool lists every space the user belongs to and filters locally, which signals cost and result-freshness implications. It stops short of describing pagination or how limit interacts with the local match.

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?

Two sentences, no filler, with the search semantics and result ordering front-loaded and the implementation rationale placed second. Every clause carries information an agent can act on.

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

Completeness3/5

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

For a three-parameter read-only search with no output schema and no param descriptions, the definition covers matching and ordering but leaves 'type' and 'limit' semantics, result shape, and any paging behavior unexplained. Adequate to call correctly with a query alone, but incomplete for filtered or bounded use.

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 description coverage is 0%, so the description must carry parameter meaning; it does this well for the required 'query' parameter (name, partial match, case-insensitive) but says nothing about 'type' (SPACE/GROUP_CHAT/DIRECT_MESSAGE) or what 'limit' caps after local matching. Partial compensation for an entirely undocumented schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a clear verb+resource (find spaces and group chats by name) and adds distinguishing detail: case-insensitive, partial-name matching, most recently active first. It doesn't explicitly contrast with the sibling list_spaces or find_group_chats, so an agent must infer that this is the name-search variant rather than an exhaustive lister.

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?

Usage is implied by 'Find spaces and group chats by name' plus the note that the Chat API can't filter by name, which explains why the local-match approach exists. There is no explicit statement of when to prefer this over list_spaces or find_group_chats, and no exclusions or prerequisites are given.

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