Skip to main content
Glama

List rules

list-rules
Read-only

Lists Outlook inbox rules, optionally including their conditions, actions, and exceptions, so you can review how incoming email is being processed.

Instructions

Lists inbox rules in your Outlook account

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-rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
includeDetailsNoInclude conditions, actions, and exceptions

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered and the description doesn't contradict it. The description adds one useful scoping fact — only inbox rules are returned — but says nothing about response size, pagination, or whether includeDetails affects output verbosity.

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?

A single front-loaded sentence with no filler or redundancy. Nothing could be removed without losing information.

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

Completeness3/5

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

The tool is simple, has an output schema so return values needn't be described, and has full schema coverage on its one parameter. However, for a listing tool it leaves open whether results are paginated or limited in count, which an agent would want to know.

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 a single optional parameter with full schema description coverage, so the schema itself explains that includeDetails adds conditions, actions, and exceptions. The description adds no extra meaning about when or why to set it, which is acceptable given the high coverage baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ("Lists") and a specific resource ("inbox rules") with a scope qualifier ("in your Outlook account"). An agent can distinguish it from create-rule and edit-rule-sequence by reading the verb alone, though it doesn't explicitly rule out other rule scopes.

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?

No when-to-use guidance, no mention of prerequisites (e.g., authentication), and no pointer to alternatives such as create-rule or edit-rule-sequence. Usage is only inferable from the tool name and the word "Lists".

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