Skip to main content
Glama
Google Messages MCP

Google Messages MCP

by ilakskill

Search conversations

gmsg_search
Read-only

Searches Google Messages conversations by name, snippet, or phone number, scanning the loaded chat list up to a configurable number of entries to find matching threads.

Instructions

Find conversations whose name, snippet or number contains the query (scans the loaded conversation list, scrolling to load up to scan entries).

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": "gmsg_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
scanNoHow many list entries to scan. Default 150.
queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, so the safety profile is already covered; the description adds the non-obvious mechanic that this is a client-side scan of the already-loaded list that scrolls to fetch up to `scan` entries. That caveat materially affects expectations about recall and completeness on large mailboxes, which no structured field conveys. It stops short of stating what happens when the scan cap is hit (silent truncation), so not a 5.

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?

A single front-loaded sentence with the match fields stated first and the scanning caveat in a tight parenthetical; nothing is padding. The nested parenthetical is slightly dense but carries necessary behavioral information.

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 two-parameter read-only search with no output schema, the definition covers what is searched, how deep, and that results come from a loaded list. Remaining gaps are minor: case sensitivity, ordering, and whether an empty result means 'not loaded yet' versus 'not found'.

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 only 50% — `query` has no schema description — but the description compensates by stating exactly which fields the query is matched against. It also reinforces `scan` by framing it as the scrolling depth of the loaded list, adding meaning beyond 'How many list entries to scan'.

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 uses a specific verb and resource ('Find conversations') and names the three fields matched against ('name, snippet or number'), which is far more precise than the tool title 'Search conversations'. It does not explicitly contrast itself with siblings such as gmsg_list_conversations or gmsg_read_conversation, leaving the agent to infer the distinction.

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: an agent can tell this is the lookup path when it has a text fragment rather than a known conversation. However, there is no explicit when-to-use/when-not guidance and no mention of how this differs from listing or reading conversations, which are the obvious adjacent siblings.

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