Skip to main content
Glama

Move Email Rule Up

emailrules_move_up

Change the execution order of email rules by moving a rule up one position, increasing its priority.

Instructions

✏️ Move a message rule up one position in execution order (requires user confirmation recommended)

Increases the rule's priority by moving it one position higher in the execution order. Rules at the top (sequence = 1) cannot be moved up.

Args: rule_id: The message rule ID to move account_id: Microsoft account ID

Returns: Updated rule with new sequence number

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rule_idYes
account_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations are minimal, but the description adds behavioral context: requiring user confirmation, incrementally moving up, and the inability to move the top rule. This goes 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise with a clear title, short paragraph, and structured Args/Returns sections. No unnecessary information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the simple tool (2 parameters, no nested objects) and the presence of output schema, the description covers the purpose, constraints, and return value adequately.

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 0%, but the description includes a one-line explanation for each parameter ('The message rule ID to move', 'Microsoft account ID'), adding some meaning beyond the parameter names.

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 action ('Move a message rule up one position in execution order') and the resource ('message rule'), distinguishing it from sibling tools like emailrules_move_down and emailrules_move_top.

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 provides context on when to use (to increase priority) and a constraint ('rules at the top cannot be moved up'), but does not explicitly compare to alternatives like move_down or move_top.

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/robin-collins/m365-mcp'

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