Skip to main content
Glama

manage-rules

Destructive

Create, update, list, reorder, or delete Outlook inbox rules. Set conditions like sender, subject, or attachments, and actions such as move, copy, forward, or mark as read to automate email management.

Instructions

Manage inbox rules. action=list (default) lists rules. action=create creates a new rule with conditions, actions, and optional exceptions. action=update modifies an existing rule. action=reorder changes rule execution priority. action=delete removes a rule.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionNoAction to perform (default: list)
includeDetailsNoInclude detailed conditions, actions, and exceptions (action=list)
nameNoRule name (action=create required, action=update to rename)
displayNameNoAlias for `name` (matches Graph's own `displayName` field).
dryRunNoPreview rule without creating/updating (action=create, action=update)
isEnabledNoEnable/disable rule (action=create default: true, action=update)
sequenceNoExecution order, lower = higher priority (action=create default: auto, action=reorder required)
fromAddressesNoComma-separated sender emails to match (action=create/update)
containsSubjectNoComma-separated subject keywords (OR logic). e.g. "invoice, receipt, payment" (action=create/update)
bodyContainsNoComma-separated body text keywords (OR logic) (action=create/update)
bodyOrSubjectContainsNoComma-separated keywords matching body OR subject (OR logic) (action=create/update)
senderContainsNoComma-separated partial sender matches (action=create/update)
recipientContainsNoComma-separated partial recipient matches (action=create/update)
sentToAddressesNoComma-separated recipient emails to match (action=create/update)
hasAttachmentsNoMatch emails with attachments (action=create/update)
importanceNoMatch emails with this importance (action=create/update)
sensitivityNoMatch emails with this sensitivity (action=create/update)
sentToMeNoMatch emails sent to me (action=create/update)
sentOnlyToMeNoMatch emails where I am the only recipient (action=create/update)
sentCcMeNoMatch emails where I am in CC (action=create/update)
isAutomaticReplyNoMatch automatic reply emails (action=create/update)
moveToFolderNoFolder name to move matching emails to (action=create/update)
copyToFolderNoFolder name to copy matching emails to (action=create/update)
markAsReadNoMark matching emails as read (action=create/update)
markImportanceNoSet importance on matching emails (action=create/update)
forwardToNoComma-separated emails to forward matching messages to (action=create/update)
redirectToNoComma-separated emails to redirect matching messages to (action=create/update)
assignCategoriesNoComma-separated Outlook categories to assign (action=create/update)
stopProcessingRulesNoStop evaluating subsequent rules (action=create/update)
deleteMessageNoMove matching emails to Deleted Items (action=create/update)
exceptFromAddressesNoComma-separated sender emails to exclude (action=create/update)
exceptSubjectContainsNoComma-separated subject keywords to exclude (action=create/update)
exceptSenderContainsNoComma-separated partial sender matches to exclude (action=create/update)
exceptBodyContainsNoComma-separated body keywords to exclude (action=create/update)
exceptHasAttachmentsNoExclude emails with attachments (action=create/update)
ruleNameNoName of existing rule (action=update/reorder/delete)
ruleIdNoID of existing rule (action=update/delete)
Behavior4/5

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

Annotations already indicate destructiveHint=true and readOnlyHint=false. The description adds value by detailing each action's behavior (creates, modifies, deletes, reorders) and noting the default action (list). This provides a behavioral overview beyond the binary annotation, though it does not disclose potential side effects like reordering affecting other rules.

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 a single dense paragraph that front-loads the core purpose and then enumerates actions concisely. While no sentence is wasteful, the structure could be improved with bullet points or clearer separation of actions. It is appropriately sized for the tool's complexity.

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?

Given the tool's complexity (37 parameters, no output schema), the description adequately covers the five actions and their parameter relevance. However, it fails to explain return values (e.g., what 'lists rules' returns) or handling of edge cases (e.g., errors, pagination). More context on output would improve completeness.

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?

The input schema has 100% parameter description coverage, so baseline is 3. The description provides a high-level narrative linking actions to parameter groups but does not add new parameter-specific details beyond what the schema already states. It helps contextualize parameters within actions but doesn't compensate for any gaps.

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 identifies the tool as managing inbox rules with specific actions (list, create, update, reorder, delete), each with a brief purpose. It distinguishes the resource ('inbox rules') and the verb ('Manage,' then detailed action verbs), making it clear what the tool does.

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 enumerates actions and their default behavior (e.g., action=list is default) but does not provide explicit guidance on when to use this tool versus alternatives or when not to use it. There are no mentions of prerequisites, side effects, or sibling tools, so the agent must infer usage context from the action list alone.

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/littlebearapps/outlook-assistant'

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