Skip to main content
Glama
ABMIC

ABMIC

by zany92

set_flags

Add or remove flags such as read, unread, and flagged on selected messages in an IMAP mailbox, so you can update message status.

Instructions

Set flags on messages (read, unread, flagged, etc.)

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "messageIds": "<messageIds>",
      "flags": "<flags>"
    },
    "name": "set_flags"
  }
}

Input Schema

NameRequiredDescriptionDefault
flagsYesArray of flags to set (e.g., ["\Seen", "\Flagged"])
actionNoWhether to add or remove the flags (default: add)add
mailboxNoMailbox name (default: INBOX)INBOX
messageIdsYesArray of message IDs to set flags on

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries full burden but only states what the tool does without disclosing behavioral traits. It doesn't mention permission requirements, side effects (e.g., whether flags persist), error handling, or rate limits, which are critical for a mutation tool.

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 a single, efficient sentence that front-loads the core purpose with no wasted words. It uses parentheses to include helpful examples without cluttering the main statement.

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 mutation tool with 4 parameters, no annotations, and no output schema, the description is incomplete. It lacks details on behavioral context, error cases, or return values, leaving significant gaps for the agent to operate safely and effectively.

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 description coverage is 100%, so the schema fully documents all 4 parameters. The description adds minimal value by hinting at flag examples (e.g., 'read, unread, flagged'), but doesn't elaborate beyond what the schema provides, meeting the baseline for high coverage.

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 clearly states the verb ('Set') and resource ('flags on messages'), with examples of specific flags like 'read, unread, flagged'. It distinguishes from siblings like 'mark_as_read' by covering multiple flag types, though it doesn't explicitly contrast with them.

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?

No guidance on when to use this tool versus alternatives like 'mark_as_read' or 'auto_organize'. The description mentions flag types but doesn't specify scenarios or prerequisites for usage, leaving the agent to infer context from parameter names alone.

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