Skip to main content
Glama

batch_flag_messages

Flag multiple email messages at once by setting a follow-up flag, helping you organize your Outlook mailbox.

Instructions

Flag a list of messages (set followup flag to 'flagged').

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mailboxNo
message_idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.2

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the behavioral disclosure burden. It does state the exact mutation ('set followup flag to flagged'), which is useful, but it omits other traits such as idempotence, whether prior flags are overwritten, authorization needs, and result/error behavior.

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?

One sentence that front-loads the action and adds a precise parenthetical about the flag value. Every word earns its place with no redundant detail.

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

Completeness3/5

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

For a simple two-parameter flagging tool, the description is mostly sufficient: the agent knows what tool to call and what the core action does. Gaps remain around the optional mailbox parameter, batch behavior details, and return/error semantics, but these are not severe for routine use.

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 needed to compensate. It only loosely maps 'list of messages' to message_ids and says nothing about the optional mailbox parameter, its meaning, or the expected format of message IDs. Most parameter understanding is left to inference.

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 states a specific action (flag) and resource (a list of messages), and clarifies the exact flag state being set ('followup flag to flagged'). This clearly distinguishes it from single-message flag_message, unflag_message, and 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 Guidelines3/5

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

The phrase 'a list of messages' implies this is the batch variant for flagging multiple messages, but the description never explicitly says when to prefer this over flag_message or when to avoid it. Usage context is implied rather than stated.

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