Skip to main content
Glama

manage-rules

Create, list, reorder, or delete Outlook inbox rules to automatically organize emails based on sender, subject, attachments, and other conditions.

Instructions

Manage inbox rules. action=list (default) lists rules. action=create creates a new rule. action=reorder changes rule execution priority. action=delete removes a rule.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionNoAction to perform (default: list)
includeDetailsNoInclude detailed rule conditions and actions (action=list)
nameNoName of the rule to create (action=create, required)
fromAddressesNoComma-separated sender email addresses (action=create)
containsSubjectNoSubject text the email must contain (action=create)
hasAttachmentsNoApply to emails with attachments (action=create)
moveToFolderNoFolder to move matching emails to (action=create)
markAsReadNoMark matching emails as read (action=create)
isEnabledNoEnable rule after creation, default: true (action=create)
sequenceNoExecution order, lower numbers run first (action=create default: 100, action=reorder required)
ruleNameNoName of the rule (action=reorder required, action=delete alternative to ruleId)
ruleIdNoID of the rule to delete (action=delete)

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