Skip to main content
Glama

unflag_message

Clear the follow-up flag on an email message to reset its status and remove it from flagged items.

Instructions

Clear the follow-up flag on a message.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mailboxNo
message_idYes
include_rawNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.2

TDQS

C2.8/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 only states the action itself; it does not disclose whether unflagging is idempotent, what happens if the message isn't currently flagged, whether other flags are affected, or what the response looks like. For a mutation tool this is a notable gap.

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, direct sentence with the verb front-loaded. No wasted words; it conveys the essential action immediately and is appropriately sized for the tool's simplicity.

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

Completeness2/5

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

For a 3-parameter tool with no annotations and no output schema, the one-line description leaves important gaps: it doesn't explain mailbox or include_raw, doesn't say when to use single versus batch unflagging, and provides no behavioral caveats. The description is too minimal to be fully actionable.

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

Parameters2/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 for undocumented parameters. It only weakly implies that message_id identifies the message to unflag; mailbox and include_raw are not addressed at all. The added meaning over the schema's bare parameter names is minimal.

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 ('Clear') and resource ('follow-up flag on a message'), making the core action clear and distinguishing it from tools like mark_read or archive_message. However, it does not differentiate from closely related siblings such as flag_message or batch_unflag_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?

The description gives no guidance on when to use this tool versus alternatives like batch_unflag_messages or flag_message. There are no conditions, exclusions, or context signals to help an agent choose between the single-message and batch variants.

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