Skip to main content
Glama

Mark a message read or unread

mark_message
Idempotent

Set a received email as read or unread to track your inbox or return it to your to-do pile; only changes the read flag and sends nothing.

Instructions

Mark a received message as read or unread, e.g. to put it back on your to-do pile after reading it with read_message. Only changes the read flag on the mail server; nothing is sent. Returns { ok: true }.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesMessage id from list_messages
unreadYestrue: mark as unread; false: mark as read

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.2
    • addedInput schema / properties / unread / description
      Added value: +"true: mark as unread; false: mark as read"
  2. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, so the safe-mutation profile is covered structurally. The description adds genuinely new context: only the server-side read flag changes, nothing is sent, and the result is { ok: true } — useful for an agent reasoning about side effects.

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 sentences, zero filler, with the core action front-loaded and the scoping/return details trailing. Every clause earns its place.

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?

For a two-parameter mutation tool with full schema coverage and annotations covering the safety profile, the description supplies the remaining gaps: mutation scope, absence of outbound side effects, and the return shape (no output schema exists). Nothing needed to call it correctly is missing.

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%, and the schema already explains that 'id' comes from list_messages and that 'unread' means true=unread / false=read. The description adds no parameter syntax or format 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 a received message as read or unread') and immediately bounds the scope to the read flag only, which separates it from siblings like read_message, delete_message, and reply_message. An agent can identify the operation without opening the 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 concrete use case ('put it back on your to-do pile after reading it with read_message'), which implicitly routes the agent: use read_message to read, this tool to flip the flag. There is no explicit when-not guidance or mention of alternatives like delete_message, so it stops short of a 5.

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