Skip to main content
Glama
mailbox-org-mcp
by getrdone

List newsletter subscriptions

mailbox_list_subscriptions
Read-only

Find newsletters and mailing lists you receive, grouped by sender with message counts and working unsubscribe methods, so you can choose one to unsubscribe.

Instructions

Find mailing lists and newsletters you receive (messages with List-Unsubscribe), grouped by sender with message count, unread count, newest date, list id and which unsubscribe methods work. Pick a row's folder+uid for mailbox_unsubscribe.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNoExtra Gmail-style filter, default the last 180 daysnewer_than:180d
offsetNo
foldersNoFolders to scan; default ["all"] (except Trash/Junk)
scan_limitNo
response_formatNo'markdown' for readable text (default), 'json' for complete structured datamarkdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and openWorldHint=true, so the safety profile is covered; the description adds real behavioral context by disclosing the detection mechanism (List-Unsubscribe) and that results are aggregated per sender with counts and dates. It omits the cost profile of the scan despite scan_limit defaulting to 4000 messages, which is a meaningful behavioral omission.

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?

Two dense sentences, zero filler, with the scan criterion and output shape front-loaded and the handoff to mailbox_unsubscribe placed last where it reads as a next step.

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?

With no output schema, the description carries the return-shape burden and does so adequately by listing grouping, counts, dates, list id and unsubscribe methods. It falls short on pagination and scan-budget behavior for a tool that can scan thousands of messages.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Half the parameters (limit, offset, scan_limit) are undocumented in the schema and the description adds nothing about them, including the costly scan_limit knob. The only pointer toward identifiers (folder+uid) refers to output rows, not input parameters, so the description does not compensate for the coverage gap.

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?

The description names a specific verb ('Find') and a precisely scoped resource: newsletters the user receives, identified by the List-Unsubscribe header. It also enumerates the grouping key (sender) and the returned fields, so an agent can distinguish this from generic list tools like mailbox_list_senders.

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?

It gives an explicit follow-up path: pick a row's folder+uid and pass it to mailbox_unsubscribe, which makes the tool's role in the workflow unambiguous. It does not state when the tool would be inappropriate (e.g. versus mailbox_list_senders) or what happens when no List-Unsubscribe senders exist, so it stops short of full when/when-not guidance.

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