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

List folders

mailbox_list_folders
Read-only

List all mail folders with exact paths, special roles, and message counts so you can choose the right folder for other mailbox operations.

Instructions

List every mail folder with its exact path (use these paths in other tools), special role (Inbox, Sent, Archive, Junk, Trash, Drafts), total and unread counts, and optionally size.

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_folders"
  }
}

Input Schema

NameRequiredDescriptionDefault
include_sizeNoAlso return each folder's size in bytes
include_countsNo
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.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered; the description adds the non-obvious behavioral trait that returned paths are meant to be reused verbatim elsewhere and discloses the exact payload fields (role, counts, size). It leaves unstated whether counts are computed live or cached and whether nested folders are flattened.

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?

A single dense sentence with the resource and payload front-loaded and no filler. Every clause (paths, roles, counts, optional size) carries information an agent needs.

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 takes on the return-value burden and does so by enumerating fields and naming the special roles. Remaining gaps — hierarchy/flattening of nested folders, live vs. cached counts — are minor for a read-only listing tool.

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%; include_size and response_format are already documented in the schema, and the description only echoes them ('optionally size'). The one undocumented parameter, include_counts, is implied by 'total and unread counts' but the description never says how to suppress counts, 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.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('List every mail folder') and then enumerates exactly what each entry contains: exact path, special role, total and unread counts, optional size. An agent knows precisely what this returns and how the paths feed other tools, without 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?

The parenthetical '(use these paths in other tools)' gives concrete downstream usage guidance that is genuinely actionable. It does not, however, contrast with a sibling such as mailbox_manage_folder (mutation) or say when-not to call this, so it stops short of explicit routing.

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