Skip to main content
Glama
icloud-mcp

icloud-mcp

by mcdscot

icloud_set_flags

Mark iCloud Mail messages as read/unread or flagged/unflagged by UID and mailbox to update message status.

Instructions

Mark messages read/unread and/or flagged/unflagged.

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": {
      "uids": "<uids>",
      "mailbox": "<mailbox>"
    },
    "name": "icloud_set_flags"
  }
}

Input Schema

NameRequiredDescriptionDefault
seenNoTrue = mark read, False = mark unread.
uidsYesMessage UIDs from icloud_search_messages.
flaggedNoTrue = flag, False = unflag.
mailboxYesMailbox name, e.g. 'INBOX', 'Archive', 'Sent Messages'. See icloud_list_mailboxes.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds nothing beyond the action itself: it does not say that the flags are applied to every UID supplied, what happens if both flags are null, or how partial failures are reported. With annotations carrying the safety baseline, this is a marginal contribution.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with zero wasted words. The terseness borders on under-specification, but nothing redundant is present.

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?

The tool is simple, has only four parameters with full schema coverage, and ships an output schema, so the description need not explain return values. However, key semantics such as what happens when both seen and flagged are omitted, and whether the operation applies uniformly across all UIDs, are left unexplained.

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%, with each parameter documented (including the UID source and the mailbox reference to icloud_list_mailboxes). The description adds no additional meaning about parameter interaction or defaults, so the baseline of 3 applies.

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?

States a specific verb (Mark) and resource (messages) plus the exact attributes being changed (read/unread, flagged/unflagged), so an agent knows precisely what the call does. It does not name any sibling, but no sibling in the list performs flag mutation, so confusion risk is low.

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?

There is no when-to-use guidance, no prerequisites, and no mention of alternatives or follow-up workflows. The 'and/or' hints that either flag may be set independently, but that is already visible in the schema's nullable parameters.

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