Skip to main content
Glama

Get Email Rule

emailrules_get
Read-onlyIdempotent

Retrieve the full configuration of an email rule, including conditions, actions, execution order, and enabled status.

Instructions

📖 Get details of a specific message rule (read-only, safe for unsupervised use)

Returns complete rule configuration including conditions, actions, and execution order.

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

Returns: Rule details including conditions, actions, sequence, and enabled status

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 already provide readOnlyHint, destructiveHint, idempotentHint, openWorldHint. Description adds 'safe for unsupervised use' and details return content (conditions, actions, execution order), which adds value 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?

Concise, well-structured with overview, args, and returns sections. Front-loaded with key read-only hint. No unnecessary words.

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 two simple required parameters and the presence of an output schema (not shown), the description explains return value comprehensively. No gaps for a retrieval tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, but description includes 'Args' section that briefly describes rule_id as 'The message rule ID' and account_id as 'Microsoft account ID', providing essential context for parameter usage.

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?

Clear verb 'Get' and resource 'message rule' with read-only hint. Distinguished from sibling tools that create, delete, or update rules.

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?

Explicitly states read-only and safe for unsupervised use, providing context for when to use. Could explicitly mention alternative tools for writing, but context is clear from sibling names.

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