Skip to main content
Glama

outlook_create_rule

Create Outlook inbox rules to match incoming emails by criteria (sender, subject, body) and automatically apply actions: mark read, forward, categorize, or move to folder.

Instructions

Create an Outlook inbox rule (the Gmail-filter equivalent). Matches incoming messages by criteria and applies actions automatically. At least one criterion and one action required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesRule display name
accountNoAccount name (default account if omitted)
mark_readNoMark matching messages as read
forward_toNoEmail address to forward matches to (NOTE: forwarding sends mail automatically — use deliberately)
body_containsNoMatch body containing any of these
from_containsNoMatch sender addresses/domains containing any of these
assign_categoryNoCategory name to assign to matches
subject_containsNoMatch subject containing any of these
move_to_folder_idNoFolder ID to move matches to (from outlook_list_folders)
Behavior3/5

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

With no annotations provided, the description carries the full burden for behavioral disclosure. It adds the requirement of at least one criterion and one action, and notes that actions apply automatically, but it does not disclose side effects like immediate activation, rule precedence, or modification/deletion limitations. The forward_to warning lives in the schema, not the description.

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?

Three sentences, zero wasted words. It front-loads the main action, adds a clarifying analogy, and states a key constraint. Each sentence earns its place.

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?

For a 9-parameter creation tool with no output schema, the description covers the core idea, the requirement of criteria+action, and the automatic behavior. It misses some context like whether rules apply to existing messages or only new ones, but overall it's sufficiently complete for an agent to understand the tool's purpose and main constraints.

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 coverage is 100% with meaningful property descriptions, so the baseline is 3. The description introduces the concept of criteria vs. actions, which adds high-level meaning, but it does not map specific parameters to those roles 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 opens with a specific verb and resource: 'Create an Outlook inbox rule'. It further clarifies by calling it 'the Gmail-filter equivalent' and describes its function of matching messages by criteria and applying actions, which clearly distinguishes it from sibling tools like outlook_read or outlook_draft.

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 description implies usage through 'Gmail-filter equivalent' and the criteria/action behavior, but it does not explicitly state when to prefer this tool over alternatives or list excluded scenarios. It gives context but lacks direct when-to-use/when-not-to-use guidance.

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/marianasmall/mariana-outlook-mcp'

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