Skip to main content
Glama
henrikogaard

infomaniak-admin-mcp

by henrikogaard

infomaniak_set_mailbox_spam_policy

DestructiveIdempotent

Update mailbox spam policy: configure spam movement, smart filtering folders, and admin note. Uses a two-phase commit to preview changes and confirm before applying safely.

Instructions

Update mailbox spam movement, smart filtering folders, and admin note. Two-phase commit: returns a current-state diff and confirmation token, then applies only if the policy state has not changed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNoMailbox admin note, max 80 characters, or null to clear it.
mailbox_nameYesLocal part of the mailbox (the part before @, e.g. 'info' for info@example.com). NOT the full email address.
has_move_spamNoWhether spam should be moved into the spam folder.
mail_hosting_idYesMail hosting ID. Discover via infomaniak_list_mail_hostings.
confirmation_tokenNoToken returned by the prior plan response. Required on the apply phase.
has_mail_filteringNoWhether Infomaniak mail filtering folders are enabled.
mail_filtering_folder_commercialsNoFolder used for commercial/newsletter filtering, or null to clear it.
mail_filtering_folder_social_networksNoFolder used for social-network filtering, or null to clear it.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

The description adds valuable behavior beyond annotations: it reveals the two-phase commit mechanism (current-state diff, confirmation token, conditional apply if state unchanged). This is complementary to the destructiveHint and openWorldHint annotations, providing concurrency control details not present in structured metadata.

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?

Two sentences, front-loaded with the core function, with the second sentence explaining the critical two-phase behavior. No wasted words.

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?

The description is adequate for a tool with a comprehensive input schema and an output schema. It covers the essential purpose and the two-phase commit workflow, though it could be slightly more explicit about the invocation sequence (plan call without token, apply call with token). This is partially addressed by the confirmation_token parameter description.

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?

All 8 parameters are fully described in the input schema (100% coverage), so the description does not need to add per-parameter details. It does mention the categories of fields (spam movement, smart filtering folders, admin note), but does not add new meaning beyond what the schema already provides.

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 uses the specific verb 'Update' and lists the exact resources: mailbox spam movement, smart filtering folders, and admin note. This clearly differentiates it from sibling tools like infomaniak_update_mailbox_folders or infomaniak_purge_spam_folder.

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

Usage Guidelines4/5

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

The description provides clear context for when this tool is relevant (updating spam policy), but does not explicitly mention alternatives or exclusion cases. For example, it doesn't state 'use infomaniak_update_mailbox_folders for folder name changes' or 'do not use this for filter scripts'.

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/henrikogaard/infomaniak-admin-mcp'

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