Skip to main content
Glama

lethe_unsubscribe

Unsubscribe from chosen senders found in a saved mailbox scan by sending one-click RFC 8058 requests; without confirm, it returns the unsubscribe plan instead.

Instructions

Unsubscribe from the named sender addresses (from a saved scan; latest by default).

One-click senders (RFC 8058) get a single POST to their own unsubscribe URL. Senders with only a plain link are skipped unless allow_link_visits=true; a visited link may still need a confirm click on the sender's page. mailto-only senders are never contacted: lethe cannot send mail, so their addresses are returned for you to email yourself. Flagged senders (possible phishing or broken headers) are skipped unless include_flagged=true.

Nothing happens without confirm=true. Without it, this returns the plan.

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": {
      "senders": "<senders>"
    },
    "name": "lethe_unsubscribe"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNo
scan_idNo
sendersYes
include_flaggedNo
allow_link_visitsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so well: it discloses the external side effect (a single POST to the sender's own unsubscribe URL), the confirm-gated plan mode, what is skipped, and that mailto addresses are returned rather than acted on. The main gap is that it never mentions an authentication requirement, notable because siblings include lethe_login and lethe_auth_status.

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?

Front-loaded with the core action, then organized by sender type and finally the confirm gate, with no filler sentences. It is dense and near the upper limit of useful length, but every clause carries operational information.

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 5-parameter mutating tool with no annotations, no output schema, and no schema-level parameter docs, the description covers side effects, skip conditions, and the dry-run return ('returns the plan'). Only the authentication prerequisite and any per-sender failure reporting are left unaddressed.

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 0%, yet the description supplies meaning for four of five parameters: confirm (execution gate), scan_id (saved scan, latest by default), include_flagged, and allow_link_visits. The senders parameter's format (addresses vs. display names, and how they relate to a scan) is only implied.

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 named sender addresses') plus the source of those addresses ('from a saved scan; latest by default'), which is precise enough to distinguish it from lethe_scan and lethe_senders.

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?

Gives explicit when/when-not rules per sender type: RFC 8058 senders get a POST, link-only senders are skipped unless allow_link_visits=true, mailto-only senders are never contacted, and flagged senders are skipped unless include_flagged=true. It also states the dry-run default ('Nothing happens without confirm=true'), leaving no inference about safe first use.

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