Skip to main content
Glama
outlook-mcp

outlook-mcp

by Pepebits

block_sender

Destructive

Creates an inbox rule to block specified email addresses or domains, moving future messages to Deleted Items without affecting already received mail.

Instructions

Block senders by creating an inbox rule that moves their future mail to Deleted Items. Give addresses (exact match) and/or domains (matches any sender at that domain). Does not touch mail already received; use delete_message with ids for that. Undo with delete_rule.

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": "block_sender"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainsNoDomains to block, e.g. "example.com"
addressesNoEmail addresses to block

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description goes beyond them by explaining the mechanism (rule creation routing to Deleted Items), scoping the blast radius ("does not touch mail already received"), and naming a reversal tool. It does not mention required mailbox permissions or whether an existing conflicting rule is replaced, so it stops short of fully self-sufficient.

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?

Three short sentences, front-loaded with the action and effect, followed by input format, then boundaries and undo. Nothing is repeated from the schema or annotations and no sentence is filler.

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 two-parameter mutation with no output schema, the description supplies effect, scope boundary, and rollback path, which is enough to call it safely. It leaves unstated whether the tool errors or silently succeeds when neither addresses nor domains is supplied, given zero required parameters.

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 100% and already documents both arrays, yet the description adds real semantics: addresses are exact match, while domains match any sender at that domain, and either or both may be given. That matching-behavior detail is not derivable from the schema text alone.

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?

States a specific verb+resource ("Block senders") plus the mechanism ("creating an inbox rule that moves their future mail to Deleted Items"), which cleanly separates it from siblings like delete_message that act on existing mail.

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

Usage Guidelines5/5

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

Explicitly covers the when-to-use split against two named siblings: existing mail requires delete_message with ids, and reversal requires delete_rule. It also says what inputs to supply (addresses and/or domains), leaving no routing ambiguity.

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