Skip to main content
Glama

gmail_mark_read

Marks selected Gmail conversations as read using row indexes, search results, folders, or subject matches to clear unread status in bulk.

Instructions

Mark conversations as read (changed=false if they already were).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
allNoAct on EVERY conversation of the query/folder list (Gmail's 'Select all' after loading the whole list; repeated until the list is empty for actions that remove conversations from it). Needs query or folder; no index/indexes/match.
indexNoRow index from gmail.list / gmail.search (0 = first row).
matchNoSelect every row whose subject contains this text (case-insensitive).
queryNoRun this Gmail search first and take the rows from its results.
folderNoOpen this folder/label first and take the rows from it.
indexesNoSeveral row indexes (multi-selection).
max_rowsNoWith match, look at most at this many rows from the top.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose one useful behavioral trait — that unchanged conversations yield changed=false rather than an error, implying idempotency — but says nothing about permissions, scope of effect, or what a bulk 'all' action does to the mailbox.

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 tight sentence with the key outcome hint parenthesized, front-loaded and free of waste. It is arguably under-specified rather than verbose, but nothing in it is filler.

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 mutation tool with seven parameters and no annotations or output schema, the description is thin — it never explains that conversations must first be selected via list/search results. The fully documented schema compensates enough that an agent can still call it, but the mental model must be assembled from parameter descriptions.

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 coverage is 100%, so the seven selection parameters (all, index, indexes, match, query, folder, max_rows) are fully documented in the schema; baseline 3 applies. The description adds no meaning about how these selectors combine or which row source they draw from.

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?

States a specific verb and resource ("Mark conversations as read"), which is clear enough to act on. However it does not distinguish itself from nearby siblings like gmail_mark_unread, or from gmail_read (which opens a message), so the agent must rely on the tool name alone for that distinction.

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

Usage Guidelines2/5

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

No guidance on when to use this versus gmail_read, gmail_mark_unread, or gmail_read/scroll for reading mail. There are no stated preconditions tying it to a prior gmail_list or gmail_search selection, even though the parameters are all row-selection based.

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

Deploy Server

Other Tools