Skip to main content
Glama
bgalmes

rubit-mcp-mail

by bgalmes

list_folders

Read-only

List mailbox folders with total and unread message counts, using normalized roles to locate folders like junk across different email providers.

Instructions

List the folders in a mailbox with message and unread counts.

Each folder has a normalized role that is stable across providers, so you can ask for 'junk' without knowing the server calls it 'Junk Email'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountNoAccount name. Optional when only one is configured.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the read-only nature is covered. The description adds useful behavioral context: output includes message/unread counts and normalized role values that are stable across providers, which is meaningful beyond the annotations.

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?

The description is compact and front-loaded with the core purpose. The second sentence adds valuable cross-provider context, though its phrasing about asking for 'junk' could be slightly clearer in relation to this specific tool.

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 simple read-only tool with one optional parameter and an output schema, the description covers the core behavior and adds useful output context. It is complete enough for an agent to invoke correctly, though a brief usage scenario would make it stronger.

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 description coverage is 100% and the only parameter, account, is already described in the schema. The description does not add parameter-level detail beyond what the schema provides, so the baseline score of 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: 'List the folders in a mailbox' with the additional detail of message and unread counts. This clearly differentiates it from sibling tools like list_messages and list_accounts.

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

Usage Guidelines2/5

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

No explicit guidance on when to use this tool versus siblings such as list_messages or search_messages. The note about normalized roles hints at cross-provider usability but does not explain when an agent should invoke list_folders instead of another tool.

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