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

Top senders

mailbox_list_senders
Read-only

Groups messages matching a query by sender address or domain with counts, newest date and unread count, so you can identify who fills the inbox and act on it.

Instructions

Group messages matching a query by sender address with counts, newest date and unread count. Use it to find who fills the inbox, then act with mailbox_move_messages, mailbox_create_filter or 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_senders"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNoGmail-style query. Examples: from:amazon is:unread | subject:"invoice" newer_than:30d | has:attachment larger:5M | label:$purchases | color:red | is:starred -from:me | has:unsubscribe older_than:6m | (from:a OR from:b) | in:Archive. Bare words search headers and body. Empty = all messages.newer_than:90d
foldersNoDefault INBOX; ["all"] for every folder
group_byNoaddress
scan_limitNoNewest N matching messages to scan
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

A3.8/5.0
Behavior3/5

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

With readOnlyHint=true and openWorldHint=true already declared, the description's added value is that results are aggregated per sender with count, newest date and unread count. It omits notable behavioral facts such as the default 90-day query window and the scan_limit cost of scanning up to 20k messages.

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 tight sentences: the first defines the operation and its outputs, the second gives the workflow. Nothing is wasted and the key information is front-loaded.

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 6-parameter read-only aggregation tool with no output schema, the description adequately conveys what comes back and what to do next. It leaves default-window behavior and scan cost to the schema, which is acceptable but not fully satisfying given the tool's scan-oriented nature.

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 67%, and the query/folders parameters are already richly documented in the schema. The description only echoes the grouping concept and never mentions that group_by can be 'domain' or that response_format controls markdown vs. json, so it adds little beyond the schema.

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 ('Group messages matching a query by sender address') and names the output fields (counts, newest date, unread count), which makes the shape of the result predictable. It doesn't explicitly contrast with the closest sibling, mailbox_count_messages, so an agent must infer the difference.

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 a clear motivating scenario ('find who fills the inbox') and names concrete follow-up actions (mailbox_move_messages, mailbox_create_filter, mailbox_unsubscribe), which is genuinely actionable routing. It stops short of saying when NOT to use it or pointing at a counting/paging alternative.

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