Skip to main content
Glama

Read a Google Chat thread

get_chat_thread
Read-only

Reads a full Google Chat thread, oldest first (at most 100 messages), with each message's author (fromMe for the user) and links. The space and thread ids come from the other Google Chat tools. 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": {
      "accountId": "<accountId>",
      "space": "<space>",
      "thread": "<thread>"
    },
    "name": "get_chat_thread"
  }
}

Input Schema

NameRequiredDescriptionDefault
spaceYesSpace: "spaces/AAAA".
threadYesThread: "spaces/AAAA/threads/BBBB" or just "BBBB".
accountIdYesGoogle Chat source, as returned by the other Google Chat tools.

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

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, destructiveHint=false, and the description usefully adds behavior beyond them: chronological oldest-first ordering, a hard cap of at most 100 messages, and that each message carries its author (`fromMe` for the user) plus links. It leaves open what happens past 100 messages (truncation vs. paging), which is the main remaining behavioral gap.

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 compact sentences with the ordering and size limit stated up front and no redundant filler. Every clause carries information: ordering, cap, per-message fields, id provenance, and read-only nature.

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?

With no output schema, the description does the work of describing the return shape (messages with author and links in oldest-first order), and the input schema fully documents the three required ids. It is nearly complete for a simple read tool; only the over-100-message behavior is unaddressed.

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 description coverage is 100%, so the schema already defines all three parameters and their formats. The description still adds a small amount of meaning by stating that both `space` and `thread` ids originate from the other Google Chat tools, a provenance hint the schema only states for `accountId`.

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 names a specific verb and resource ('Reads a full Google Chat thread') and adds concrete scope details: oldest-first ordering, a 100-message ceiling, and per-message author/links. It does not explicitly contrast itself with thread-adjacent siblings such as get_thread, get_message, or search_chat, so it is clear but not fully differentiated.

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 only implied: reading a whole thread rather than a single message. The one piece of guidance given is provenance for the ids ('The `space` and `thread` ids come from the other Google Chat tools'), which helps an agent obtain inputs but does not state when to prefer this over alternatives or any exclusions.

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