Skip to main content
Glama

List the folders of a mailbox

list_folders

Lists the folders the people of a mailbox made in it, beside the six every mailbox has (inbox, sent, drafts, spam, trash, archive), each with its id, its name, its full path ("Clients/LCS") and its parent. The ids are what list_conversations, search_conversations and file_conversation take, and what update_folder and delete_folder act on.

Input Schema

NameRequiredDescriptionDefault
boxYesThe address of the mailbox to look in, for example "simon@sonentreprise.com": call list_sender_addresses to find it. A support queue is not a mailbox and has no folders.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does reasonably well: 'Lists' implies a read-only operation, the six implicit folders are disclosed so the agent isn't surprised by pre-existing entries, and the hierarchical nature (full path, parent) is surfaced. It omits ordering guarantees and whether custom folders can nest arbitrarily, which keeps it below a 5.

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?

A single dense sentence front-loads what the tool returns, with the id-consumer clause tacked on for routing. Every clause carries information, though the sentence is long enough that splitting the returned-fields list from the id-consumption note would read more cleanly.

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?

There is no output schema, yet the description effectively documents the return shape (id, name, full path, parent) and explains where those ids are consumed. Combined with a single fully-documented parameter, an agent has everything needed to call this correctly.

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?

Only one parameter and schema coverage is 100%; the schema already documents the 'box' argument, including the pointer to list_sender_addresses and the queue caveat. The description adds nothing about the parameter, so the 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 ('Lists the folders ... of a mailbox') and immediately scopes it: the six default folders plus user-created ones. It even enumerates the returned fields (id, name, path, parent), so the agent knows exactly what it gets without opening a 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 description routes the agent by naming the downstream consumers of the returned ids (list_conversations, search_conversations, file_conversation, update_folder, delete_folder), which implicitly tells it to call this first when folder identity is needed. It stops short of an explicit 'use this before X, not Y' statement, and the negative case (a support queue has no folders) lives in the schema rather than the description.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources