Skip to main content
Glama
viftode4
by viftode4

list_mail_folders

Read-onlyIdempotent

List your Outlook mail folders by viewing top-level items or expanding a specific parent folder ID. Use the returned cursor to fetch additional folders.

Instructions

List your own Outlook mail folders, or children of an exact folder ID. Follow nextCursor for more results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cursorNoOpaque nextCursor from the same query in this connection.
parentIdNoExact message or folder ID returned by a mail tool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.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, idempotentHint, and destructiveHint false, so the safety profile is covered. The description adds useful behavioral context: it only lists the user's own folders, supports a parent folder filter, and instructs to follow nextCursor for pagination.

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?

Two short sentences with no filler. The primary purpose is front-loaded, and the pagination note is appended cleanly. Every word earns its place.

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 list operation, the description covers the core functionality and pagination. It doesn't specify return format, but no output schema exists and the annotations already convey the safe nature. Slight gaps on error handling and authentication are acceptable given the simplicity.

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 100%, with both cursor and parentId adequately described in the input schema. The description adds no additional parameter details beyond echoing 'exact folder ID' for parentId, so it meets the baseline without exceeding it.

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 clearly states the action (list) and resource (mail folders), and specifies two modes: listing the user's own folders or children of a specific folder ID. This distinguishes it from siblings like list_mail_messages, which operate on messages rather than folders.

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 provides context for when to use the tool (listing folders, optionally children of a given ID) and mentions pagination via nextCursor. It doesn't explicitly name alternatives, but the resource type is clear enough to differentiate from message-listing tools.

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