Skip to main content
Glama
Mail-MCP

Mail-MCP

by Rixtayz

List folders

mail_list_folders
Read-onlyIdempotent

Lists every Outlook mailbox folder with its path, message count, and unread count so you can choose the right folder before filing messages.

Instructions

List every folder of the personal Outlook mailbox with its path, total message count and unread count. Call it before filing messages to learn which folders exist. Other tools accept a folder by display name ("Invoices"), by path ("Archive/2024"), by well-known name (inbox, deleteditems, junkemail, archive) or by id.

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": "mail_list_folders"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
foldersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, and non-destructive behavior, so the safety profile is covered. The description adds useful behavioral context beyond annotations: it says the listing covers every folder in the personal mailbox and includes path, total count, and unread count. It does not discuss pagination or permissions, but the safety-relevant behavior is already in 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is three efficient sentences, front-loaded with the core action and scope. Each sentence earns its place: what is listed, when to call it, and how folder references are used by other tools.

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?

The tool is a simple zero-parameter read-only listing, and an output schema exists, so the description need not explain return values. It covers purpose, usage timing, mailbox scope, and interoperability of folder identifiers, which is complete for this complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With zero parameters, there are no parameter semantics to explain. The description still adds helpful context by explaining how other tools accept folder references (display name, path, well-known name, or id), but this does not relate to this tool's input schema. The baseline for a zero-parameter tool is 4.

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?

The description states a specific verb and resource: 'List every folder of the personal Outlook mailbox.' It also specifies the returned attributes (path, total message count, unread count), making the operation unambiguous.

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?

It gives a clear usage instruction: 'Call it before filing messages to learn which folders exist.' This tells the agent when to use it. It does not explicitly say when not to use it or name an alternative discovery tool, but the context is sufficient for this simple read-only listing.

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