Skip to main content
Glama

list_folders

Read-onlyIdempotent

List the folders of one mailbox with their message and unread counts. "path" is what the other tools take; "name" is the readable form. "special_use" says which folder is Sent, Trash, Drafts, Junk or Archive whatever language the server names it in.

Input Schema

NameRequiredDescriptionDefault
account_idYesId from list_mail_accounts

Output Schema

NameRequiredDescriptionDefault
foldersYesFolders of the mailbox

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is fully covered. The description adds that counts are returned and explains the semantics of the output fields, but since a full output schema exists, much of that is restating structured data rather than new behavioral context. The special_use explanation (locale-independent Sent/Trash/Drafts/Junk/Archive identification) is the one genuinely additive point.

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?

Three short sentences, front-loaded with the primary action, and every clause carries information. Light redundancy with the output schema keeps it from being maximally tight.

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 annotations, a single fully documented parameter, and an output schema, the description supplies what remains: the scope (one mailbox), the returned counts, and how to interpret path/name/special_use. Nothing essential for a correct call is missing.

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 the schema documents it at 100% coverage ('Id from list_mail_accounts'). The description adds nothing about account_id and instead describes output fields, so it neither compensates nor detracts. Baseline 3 for full schema coverage.

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 (list the folders) plus the scope (one mailbox) and the payload (message and unread counts). It is clearly distinguishable from every sibling, none of which list folders, though it never says so explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not-to-use statement, but the clause '"path" is what the other tools take' implicitly tells the agent this is the discovery step that feeds move_message, create_folder, and similar tools. That hint is useful but left for the agent to infer.

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.