Skip to main content
Glama
outlook-mcp

outlook-mcp

by Pepebits

delete_rule

Destructive

Delete an inbox rule in Microsoft 365 or Outlook.com by its rule ID. List rules first to find the ID, then remove unwanted or outdated rules from your mailbox.

Instructions

Delete an inbox rule by id (see list_rules).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so irreversibility is on record structurally. The description adds essentially no behavioral context beyond that - no error behavior for an unknown id, no idempotency note - but with annotations covering the safety profile the bar is lower, so this is adequate rather than strong.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

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

A single front-loaded sentence with no filler, action first and the id-source pointer trailing. Appropriately sized for a one-parameter destructive call.

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?

For a trivial one-parameter mutation with annotations present and no output schema, the definition covers the essentials: what it destroys and where the identifier comes from. It stops short of documenting failure modes or safety confirmation behavior, which would round out a destructive tool.

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%, so the description carries the burden for the single 'id' parameter; it does clarify that the id is a rule id and that list_rules is the source for valid values, which is real added meaning. It still omits format or example values, leaving a partial gap.

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 and resource ('Delete an inbox rule') plus the addressing key ('by id'), and points to list_rules so the agent knows where ids come from. It does not explicitly contrast with create_rule or delete_message, but the verb+resource pair is unambiguous enough to select it.

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

Usage Guidelines3/5

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

Usage is implied rather than spelled out: call it with an id obtained from list_rules. There is no explicit when-not guidance (e.g., prefer disabling a rule vs. deleting it) and no statement of preconditions such as the rule needing to exist or belong to the caller.

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