Skip to main content
Glama
outlook-mcp

outlook-mcp

by Pepebits

unsubscribe

Destructive

Unsubscribe from a mailing list using the message's List-Unsubscribe header, via RFC 8058 one-click POST, mailto request, or a returned web link. Accepts up to 50 message ids; never use on spam or phishing.

Instructions

Unsubscribe from the mailing list a message came from, using its List-Unsubscribe header. Prefers RFC 8058 one-click (an HTTPS POST), then sends the mailto request from your account. If only a web link exists, returns it for the user to open. Accepts id or ids (up to 50). Never use this on spam or phishing: unsubscribing confirms the address is active.

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

Input Schema

NameRequiredDescriptionDefault
idNoA single message id
idsNoSeveral message ids (up to 50); give either id or ids, not both

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only say readOnly=false, destructive=true, openWorld=true; the description goes further by disclosing that it issues an HTTPS POST to a third party, sends mail from the user's account, and may simply hand back a link instead of acting. It also warns that the act confirms the address is live, a consequence an agent could not infer from annotations alone.

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?

Three tight sentences ordered by importance: what it does, how it resolves the method, then the safety warning. The 'up to 50' detail is duplicated from the schema, a minor redundancy, but nothing else is wasted.

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?

For a two-parameter mutation tool with no output schema, the description covers the method-selection branches, the parameter shape, the possible non-action outcome (returning a link), and the risk profile. An agent has everything needed to call it and to anticipate what comes back.

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 description coverage is 100% and already documents id, ids, and the 50-item cap and mutual exclusivity. The description's 'Accepts id or ids (up to 50)' merely restates that, adding no new semantics; baseline 3 applies.

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 and resource ('Unsubscribe from the mailing list a message came from') plus the mechanism ('its List-Unsubscribe header'), which distinguishes it from generic mail-sending or sender-blocking tools. An agent knows exactly what operation this performs before opening the schema.

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?

Gives explicit when-not guidance ('Never use this on spam or phishing: unsubscribing confirms the address is active') and a clear preference order for methods (RFC 8058 POST, then mailto, then return a web link). It does not name the sibling get_unsubscribe_info as a prerequisite check, but the conditional logic for choosing among fallbacks is spelled out.

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