Skip to main content
Glama

Search Google Chat

search_chat
Read-only

Searches Google Chat messages containing all the words of query. Without space: Google Chat full-text search across all conversations (mode native); when Google refuses it for the account, Fezola reads the 40 most active conversations of the period (mode scan, at most 90 days) and filters the text itself. With space: Fezola reads that space's messages since since (default 30 days, at most 90, at most 1,000 messages) and filters the text (mode space_scan). Fezola's filtering ignores accents and case. mode in the result reports the method used. Read-only.

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_chat"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of messages.
queryYesWords to search for.
sinceNoStart date. Defaults to 30 days ago.
spaceNoA specific space: "spaces/AAAA" (filtered by Fezola).
accountIdNoA single Google Chat source.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well past the read-only annotations: discloses the native-vs-scan fallback when Google refuses full-text search, the scan scope (40 most active conversations, at most 90 days), space-scan caps (90 days, 1,000 messages), client-side filtering semantics, and that `mode` in the result reports which path ran. This is exactly the behavioral context an agent cannot get from 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?

Four dense sentences, front-loaded with the verb and the highest-value distinction (with vs. without `space`); every clause carries operational information (limits, defaults, result field). It is information-dense rather than padded, though the mode jargon (native/scan/space_scan) makes a first read heavier than necessary.

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

Completeness5/5

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

For a 5-parameter, branching search tool with no output schema, the description covers default behavior, mode selection, truncation limits, temporal bounds, filtering semantics, and the one return-field an agent needs (`mode`). Nothing required to call it correctly or to interpret truncated results is absent.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3, but the description adds real meaning: `query` is AND-semantics over words, `space` switches the entire retrieval mode rather than just narrowing, and `since` is bounded to 90 days with a 30-day default in space mode. It does not repeat `limit`'s bounds, which the schema already documents.

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?

Names a specific verb and resource ("Searches Google Chat messages") and sharpens it with matching semantics: messages "containing all the words of `query`", accent- and case-insensitive. The `space`/no-`space` branch immediately separates it from listing tools like list_chat_spaces, so an agent can tell what this returns without opening the schema.

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

Usage Guidelines4/5

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

Explains the two invocation contexts clearly: omit `space` for full-text search across all conversations, supply `space` to scan one conversation since `since`. What is missing is routing guidance against likely alternatives (search_messages, list_recent_chat, get_chat_thread) — nothing says when to prefer those instead.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources