Skip to main content
Glama

mute_thread

Mute a Gmail thread and archive it; if Gmail rejects native muting, the response clarifies it was archived so you know new replies can return to the inbox.

Instructions

Attempts Gmail's native conversation mute (the reserved MUTE label via users.threads.modify), then archives the thread. Gmail's API does not officially expose muting, so the native attempt may be rejected — in that case the response says explicitly that the thread was ARCHIVED, not muted, and that new replies will return to the inbox. It never reports "muted" for something that is not a mute. Optionally (also_filter_subject=true) installs a subject-matching filter; read the response's collateral-scope warning first, because such a filter auto-archives that subject from ANY sender indefinitely.

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": {
      "account": "<account>",
      "thread_id": "<thread_id>"
    },
    "name": "mute_thread"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountYesAccount id ("personal", "tamu").
thread_idYesThread id (from search_emails / read_emails / get_email_thread).
also_filter_subjectNoAlso create a persistent Gmail filter that auto-archives any future message with this thread's subject — from ANY sender, indefinitely. Far broader than a mute. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.2

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only say readOnlyHint=false and destructiveHint=false, and the description goes far beyond that: it discloses the hidden fallback (thread gets archived, not muted), the exact semantics of the returned message, and a strong warning that the optional filter auto-archives that subject from ANY sender indefinitely. That collateral-scope disclosure is precisely the kind of durable side effect annotations do not capture.

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 primary behavior and its caveat are front-loaded, and the optional dangerous flag is separated into its own sentence. Some clauses (the 'never reports muted' assurance) restate the preceding point, adding a little length without new information.

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?

There is no output schema, and the description compensates by explaining what the response will say in both the success and rejection paths. For a mutation tool with an unreliable upstream API and a dangerous optional flag, nothing an agent needs in order to call it safely is missing.

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 the baseline is 3, but the description adds real meaning: it frames also_filter_subject as a persistent, sender-agnostic, indefinitely-scoped action rather than a per-thread mute. The thread_id and account parameters are left entirely to the schema, which is acceptable given full coverage.

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 opens with a precise verb+resource: it attempts Gmail's native conversation mute via users.threads.modify and then archives. It is clearly distinguishable from siblings like archive_emails or label_thread because it explains the mute mechanism and the archive fallback in the same breath.

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?

It states the operating context clearly and warns that the native mute may be rejected, which tells the agent what outcome to expect. The also_filter_subject option gets explicit when-to-use guidance ('read the response's collateral-scope warning first'). It stops short of naming an alternative sibling to use instead when a plain mute is not achievable.

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