Skip to main content
Glama

update-email

Idempotent

Change email read status, set or clear follow-up flags, and mark flag actions as complete using single or batch message IDs.

Instructions

Update email state. action=mark-read/mark-unread changes read status. action=flag sets follow-up flag. action=unflag clears flag. action=complete marks flag as done.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAction to perform (required)
idNoSingle message ID (required for mark-read/mark-unread, or use instead of ids for flag actions)
idsNoArray of message IDs for batch flag/unflag/complete operations
dueDateTimeNoDue date/time for follow-up, ISO 8601 (action=flag)
startDateTimeNoStart date/time for follow-up, ISO 8601 (action=flag)
Behavior4/5

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

Annotations already indicate idempotentHint=true and not destructive. The description adds specific behavioral details for each action, explaining exactly what state changes occur, which is beyond the schema enum descriptions.

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 extremely concise: one sentence with a clear opening and bullet-like enumeration of actions. Every sentence adds value, and there is no wasted text.

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?

Given the tool's complexity (5 scalar params, no output schema), the description covers all main actions. It could mention that the operation is idempotent and returns nothing, but overall it is sufficient for an agent to use correctly.

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?

With 100% schema description coverage, the schema already explains each parameter. The description does not add new meaning beyond what is in the schema, so baseline 3 is appropriate.

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 updates email state and enumerates all five actions (mark-read, mark-unread, flag, unflag, complete). It distinguishes itself from sibling tools like read-email or send-email by focusing on state mutations.

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

Usage Guidelines3/5

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

The description implicitly tells when to use the tool (for updating email state) but does not explicitly contrast with alternatives like manage-category or apply-category. No exclusions or prerequisites are mentioned.

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/littlebearapps/outlook-assistant'

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