Skip to main content
Glama
giuseppeferretti

outlook-triage-mcp

ensure_inbox_rule

Idempotent

Idempotently create an inbox rule that moves messages from a sender matching a substring to a specified folder. Creates the folder if it does not exist.

Instructions

Idempotently provision one inbox rule. THE ONLY WRITE TOOL.

Creates (or converges) a rule: messages whose sender matches from_contains are moved to folder move_to_folder (created if missing). Safe to run repeatedly — an already-correct rule results in zero write calls; never duplicates rules or folders.

Disabled unless the server runs with OUTLOOK_MCP_ENABLE_WRITE=1 (which also requires re-consenting to write scopes on next sign-in).

Args: name: Rule display name — the idempotency key. from_contains: Substring matched against the sender address/name. move_to_folder: Target folder display name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
from_containsYes
move_to_folderYes
Behavior4/5

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

Annotations already indicate idempotent and non-destructive. The description adds details: 'zero write calls if already correct', 'never duplicates rules or folders', and the write-enablement condition. This enriches understanding beyond annotations.

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?

The description is concise and well-structured, with a bold introductory statement followed by details. The Args block is efficiently formatted. Minor redundancy with 'THE ONLY WRITE TOOL' emphasis, but overall effective.

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 operation with 3 params and no output schema, the description covers purpose, idempotency, and enablement condition. However, it lacks information about error handling, return values, or what happens if the folder creation fails. This is adequate but not fully complete.

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

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Even though schema description coverage is 0%, the description provides an Args block with clear explanations: name as idempotency key, from_contains as substring match, move_to_folder as target folder. This fully compensates for the schema's lack of descriptions.

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 clearly states the tool's function: 'Idempotently provision one inbox rule' and explains it moves messages matching 'from_contains' to 'move_to_folder'. It also distinguishes itself as 'THE ONLY WRITE TOOL' among siblings, establishing clear identity.

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 explains idempotency and safety of repeated runs, and notes the environment variable requirement for enablement. However, it does not explicitly compare against sibling tools like 'list_inbox_rules' or provide when-not-to-use guidance, though the 'only write tool' hint provides context.

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/giuseppeferretti/outlook-triage-mcp'

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