Skip to main content
Glama

Create mail filter

email_filter_create

Create server-side email filters to automatically manage messages: file into folders, discard, mark as read, or redirect based on conditions like sender or subject.

Instructions

Create a server-side mail filter (sieve). Note: ox-mcp manages its own sieve script and activates it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesHuman-readable rule name.
stopNoStop processing further rules after this one matches.
actionYes
serverNoServer/account id to target. Defaults to the configured default server.
matchAllNotrue = all conditions must match (AND); default any (OR).
conditionsYes
Behavior4/5

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

Annotations indicate the tool is not read-only and not destructive. The description adds value by noting that ox-mcp manages its own sieve script and activates it, giving insight into side effects and lifecycle beyond what annotations provide.

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?

The description is two sentences, front-loaded with purpose, and a concise note. No unnecessary elaboration. Every 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 creation tool with 6 parameters, nested objects, and no output schema, the description covers the key behavioral note (script management). However, it omits what the tool returns (e.g., confirmation, filter ID). Slightly incomplete but overall adequate.

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 description coverage is 67%, and the description does not add further parameter-specific details. While the schema itself documents parameters well (e.g., 'Human-readable rule name', 'Stop processing further rules'), the tool description does not enhance understanding beyond that. Baseline 3 is appropriate.

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 it creates a server-side mail filter (sieve), which is a specific verb+resource. It distinguishes from sibling tools like email_filter_update and email_filter_list by specifying creation. The mention of ox-mcp managing its script adds context without muddying purpose.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool vs alternatives (e.g., email_filter_update). It does not state prerequisites or conditions under which to create a filter. The note about script management hints at automation but lacks explicit usage directives.

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/Rheopyrin/ox-mcp'

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