Skip to main content
Glama
hasan-imam

mcp-outlook-applescript

by hasan-imam

set_email_flag

Set or update the follow-up flag on an email by providing the email ID and status (0 to clear, 1 to flag, 2 for completed).

Instructions

Set the follow-up flag status on an email. Use flag_status 1 for flagged, 2 for completed, or 0 to clear. Returns a success confirmation. For a simpler clear-only operation, use clear_email_flag instead. Returns an error if the email ID does not exist.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
email_idYesThe email ID to flag (e.g., from list_emails or search_emails)
flag_statusYesFlag status: 0 = not flagged, 1 = flagged, 2 = completed (e.g., 1 to flag for follow-up)
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses that the tool returns a success confirmation, returns an error if the email ID does not exist, and defines the meaning of the flag_status values. This is strong transparency for a simple mutation tool, though it does not mention permissions or reversibility.

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 three sentences containing purpose, usage values, an alternative, and error behavior. Every sentence adds value, with no repetition or fluff.

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 simple 2-parameter tool with no output schema, the description covers purpose, usage, error handling, and the alternative tool. It is sufficiently complete for the tool's complexity.

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 coverage is 100%, so the schema already documents both parameters thoroughly. The description re-states the flag_status codes but adds little beyond what the schema provides, so it neither compensates nor harms.

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 the follow-up flag status on an email, specifying the exact resource and action. It also differentiates from the sibling clear_email_flag by offering it as a simpler clear-only alternative.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly instructs to use clear_email_flag for clear-only operations, providing a clear alternative. It also specifies the numeric flag_status values (1, 2, 0), telling the agent exactly how to achieve each state.

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/hasan-imam/mcp-outlook-applescript'

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