Skip to main content
Glama

List Inbox Rules

list_mail_rules
Read-only

List inbox rules in the order they run, with each rule's conditions and actions, including forwarding rules, to check where mail is being sent.

Instructions

List the inbox rules, in the order they run, with each rule's conditions and actions. Shows forwarding rules too, so it is a way to check where mail is being sent.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_mail_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
mailboxNoEmail address of another mailbox to act on (delegated or shared), e.g. 'someone@example.com'. Omit for your own mailbox; required when this server signs in as an application. Only addresses this server is configured to allow will be accepted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.6.1

TDQS

A4.2/5.0
Behavior4/5

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

The readOnlyHint already establishes safety, and the description adds useful behavioral detail: rules are returned in execution order and include conditions, actions, and forwarding rules. It does not mention pagination or permission constraints, but those are minor for a read-only list operation.

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 short sentences with the primary purpose front-loaded. Every sentence adds useful information about ordering, rule contents, and forwarding-rule visibility.

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 simple read-only list tool with one optional parameter and no output schema, the description explains the relevant return contents and ordering. It could be slightly more complete by mentioning whether pagination or default-mailbox scope applies, but no major gaps remain.

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?

There is only one optional parameter, and its schema description coverage is 100%, so the schema already explains the mailbox behavior. The description adds no additional parameter semantics beyond what the schema provides, which matches the baseline for this situation.

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 gives a specific verb and resource: list inbox rules. It also states the scope clearly with rule order and conditions/actions, which makes it distinguishable from generic mail listing tools.

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?

It gives a clear use case: checking where mail is being sent, including forwarding rules. It does not state when not to use it or name alternatives such as create_mail_rule or list_mail_folders, so it falls short of full routing guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools