Skip to main content
Glama
mail-mcp

mail-mcp

by honest-magic

mark_read

Destructive

Set an email's IMAP Seen flag to mark it read by account and UID in Gmail, Outlook, or custom domains; use instead of changing labels.

Instructions

Mark an email as read (sets the \Seen flag) via IMAP — works with Gmail, Outlook, and custom domains. Simpler alternative to modify_labels.

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>",
      "uid": "<uid>"
    },
    "name": "mark_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
uidYesThe UID of the email to mark as read
folderNoThe folder containing the email (default: INBOX)
accountIdYesThe ID of the account to use
confirmationIdNoConfirmation token from a prior confirmation-required response. Required to execute write operations when server is in --confirm mode.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so safety is covered by structured data; the description adds real value by disclosing the underlying mechanism (IMAP \Seen flag) and provider compatibility (Gmail, Outlook, custom domains), which clarifies that the 'destructive' hint refers to a reversible flag change. It does not mention the confirmation-token requirement for write mode, but that is fully documented in the schema.

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?

A single tight sentence with the action, mechanism, and compatibility front-loaded, followed by a one-clause comparison to the sibling. Every element earns its place and nothing is buried.

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 four-parameter mutation with rich schema coverage and annotations but no output schema, the description supplies the mechanism, provider scope, and sibling routing needed to call it correctly. The only omission is execution-mode behavior (confirmation flow), which the schema already handles.

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 description coverage is 100%, with uid, folder, accountId, and confirmationId all documented inline, including the folder default and the confirmation-token purpose. The description adds no parameter-level detail beyond that, so the baseline 3 applies.

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?

States a specific verb and resource ('Mark an email as read'), names the concrete mechanism it triggers ('sets the \Seen flag'), and explicitly contrasts itself with the sibling modify_labels. An agent can distinguish it from mark_unread or modify_labels without opening any 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?

Provides a clear selection rule by calling itself a 'simpler alternative to modify_labels', so an agent knows when this tool wins over the label-editing path. It does not state exclusions (e.g., when to prefer mark_unread or how it behaves on already-read mail), so it stops short of full when/when-not guidance.

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