Skip to main content
Glama
mail-mcp

mail-mcp

mark_read

Marks specified email messages as read or unread by UID in a folder; requires modification permission for the account.

Instructions

Mark messages read (or unread with read=false). Requires allow_modify = true for the account.

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

Input Schema

NameRequiredDescriptionDefault
readNo
uidsYes
folderNoINBOX
accountYes

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 already declare readOnlyHint=false and destructiveHint=false, so the description needn't restate that this mutates state. It adds real context beyond them by disclosing the account-level permission requirement (allow_modify) and by explaining the inverse-unread behavior of the read flag. It stops short of covering partial-failure behavior for invalid UIDs or whether the operation is idempotent.

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 short sentences with zero filler, leading with the action and following with the permission constraint. Every clause carries information an agent needs.

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 simple four-parameter mutation with no output schema, the auth prerequisite and mode switch are the most important additions and both are present. Still missing are the semantics of uids/folder and any note on partial success or error behavior, which matters for a batch UID operation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden, yet it explains only the read flag's meaning (read=false marks unread). The three other parameters — account, uids, and folder — receive no semantic elaboration, leaving the meaning of uids (per-folder message identifiers) and folder scoping undocumented.

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 states a specific verb and resource ("Mark messages read") and immediately clarifies the inverse mode ("unread with read=false"). No sibling tool in the list performs this operation, so an agent can identify it unambiguously from name plus description.

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?

It supplies a hard prerequisite (allow_modify = true for the account), which is genuinely useful for deciding whether the call can succeed. However, it gives no when-to-use vs. alternative guidance (e.g., versus move_message or get_thread) and no when-not-to-use conditions beyond the permission gate.

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