Skip to main content
Glama
mail-mcp

mail-mcp

by honest-magic

star

Destructive

Flag an email as starred over IMAP, working with Gmail, Outlook, and custom domains. Use it as a simpler alternative to label modification when you just need to mark a message.

Instructions

Star (flag) an email (sets the \Flagged 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": "star"
  }
}

Input Schema

NameRequiredDescriptionDefault
uidYesThe UID of the email to star
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/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false and destructiveHint=true, so the safety profile is already known; the description adds useful protocol detail (the \Flagged flag) and cross-provider compatibility. However, it never addresses reversibility — that starring can be undone via the unstar sibling — which is the key context an agent needs against a destructiveHint=true annotation, and it says nothing about the confirmation-mode requirement beyond the schema field.

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 dense sentence with zero padding, front-loading the verb and resource before the mechanism and the sibling alternative. Every clause (mechanism, provider coverage, alternative) earns its place.

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?

No output schema exists, but the tool is simple and all four parameters are fully documented in the schema. The only real gap is behavioral: no mention of undo semantics or confirm-mode implications for a mutating operation, which matters for a destructiveHint=true tool.

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%, so uid, folder, accountId, and confirmationId are all documented in the schema itself. The description adds no syntax, format, or defaulting detail beyond what the schema states (e.g., folder defaulting to INBOX is schema-only information). Baseline 3 applies when the schema carries the parameter burden.

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?

Names a specific verb (star/flag) and resource (an email), and goes further by naming the underlying mechanism (sets the \Flagged IMAP flag) and the providers it works with. An agent can distinguish it from siblings like modify_labels or unstar 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?

Explicitly positions itself as the "simpler alternative to modify_labels," which gives the agent a clear routing decision between the two. It stops short of stating when not to use it (e.g., batch starring or unstaring), so it is clear context rather than 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.