Skip to main content
Glama

flag_email

Flag or clear flags on emails in Apple Mail with a chosen color to mark messages for follow-up or organization.

Instructions

Flags an email in the Mac's Apple Mail (Mail.app) with a color, or clears its flag.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.0.424

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It discloses that the operation mutates flag state and can clear a flag, but says nothing about required permissions, whether the target email must be identified by a parameter, valid color values, or what the tool returns.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single front-loaded sentence with no wasted language, clearly presenting the action, target, and platform. It is appropriately sized for the stated purpose, though the brevity leaves critical invocation details unaddressed.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no annotations, an empty input schema, and no output schema, the description is not complete enough to invoke correctly. It mentions email and color but provides no way to identify the email, no accepted color values, and no return-value or error behavior.

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

Parameters4/5

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

The input schema has zero parameters, so the baseline is 4. The description references an email and a color, but those concepts are not represented in the schema; that gap is a contextual-completeness issue rather than a parameter-semantics one, since there are no schema parameters to document.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb (flags/clears) and resource (an email in Mac Apple Mail), and specifies the flag color. It clearly identifies the Mac Mail platform, which helps distinguish it from sibling tools like outlook_flag_email, though it does not explicitly name that sibling as an alternative.

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?

The description implies when the tool applies (flagging/clearing flags in Apple Mail) but offers no explicit when-to-use, when-not-to-use, or alternative-tool guidance. It does not mention prerequisites, account selection, or how to choose between this and outlook_flag_email.

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

Deploy Server

Other Tools