Skip to main content
Glama
p-l-ta

mail-mcp

by p-l-ta

set_message_flags

Update an email's read and flagged status using its message ID. Control inbox organization by setting these flags.

Instructions

Set read and/or flagged status on a message identified by RFC message-id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
message_idYes
readNo
flaggedNo
Behavior3/5

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

Annotations already indicate this is a non-read-only, non-destructive operation. The description adds that it modifies flags based on RFC message-id, but does not disclose other behavioral traits like side effects, permissions, or rate limits. With annotations providing a baseline, the description adds modest value.

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?

The description is a single, concise sentence that immediately conveys the tool's purpose. No redundant or unnecessary words, and it is front-loaded with the action.

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?

The tool has no output schema, so the description should ideally mention return values or success/failure behavior. It does not. However, given the tool's simplicity (3 simple parameters), the description is minimally adequate but lacks completeness on what happens after execution.

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 0%, so the description must compensate. It implicitly explains message_id as 'RFC message-id' and mentions 'read and/or flagged status', tying the two boolean parameters to their purpose. However, it does not clearly state that 'read' sets the read flag and 'flagged' sets the flagged flag, leaving some ambiguity.

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 clearly states the tool sets read and/or flagged status on a message identified by RFC message-id. It uses a specific verb ('Set') and resource ('flags on a message'), and the RFC message-id identifier distinguishes it from sibling tools like bulk_mark_read which operates on multiple messages.

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 tool versus alternatives like bulk_mark_read for bulk operations or when not to use it. The description only explains what it does, not the context of use.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/p-l-ta/mail-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server