Skip to main content
Glama
jopmiddelkamp

outlook-mcp-limited

list_folders

Browse mail folders and retrieve their IDs for referencing emails, or drill into one level of subfolders under a parent folder when a parentFolderId is given.

Instructions

List mail folders. With no parentFolderId, returns top-level folders. With parentFolderId set, returns immediate child folders (one level deep). Use the returned 'id' as a folder reference for list_emails. For Outlook's standard folders you can also pass their well-known names directly (inbox, drafts, sentitems, deleteditems, junkemail, archive, outbox, conversationhistory) without calling this tool first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of folders to return. Default 100, max 200.
parentFolderIdNoIf set, list the immediate children of this folder (subfolders). If omitted, list top-level folders in the user's mailbox.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.2

TDQS

A4.5/5.0
Behavior4/5

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

No annotations are provided, so the description carries the burden, and it does disclose real behavioral traits: recursion is limited to one level deep, the scoping depends on whether parentFolderId is present, and the 'id' field in the response is the folder reference. It stops short of covering permissions, pagination behavior against the limit parameter, or response shape.

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?

Four compact sentences, front-loaded with the core behavior, then the id-for-list_emails tip, then the well-known-names shortcut. Every sentence carries information; slight redundancy between the descriptions of parentFolderId here and in the 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 no output schema, the description does the necessary work of noting that the returned 'id' is the folder reference to reuse, and with no annotations it covers scoping and depth. It does not address the limit parameter's interaction (e.g., truncation of results in large mailboxes), which is the main remaining gap.

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?

Schema coverage is 100%, so the baseline is 3 and the schema already documents both parameters. The description still adds meaning: it clarifies the depth semantics ('immediate child folders, one level deep') rather than just 'children', and it enumerates the valid well-known folder name values, which the schema does not.

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 mail folders') and immediately splits the behavior by input: no parentFolderId returns top-level folders, parentFolderId returns immediate children. It also distinguishes itself from siblings by naming list_emails as the consumer of the returned id.

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

Usage Guidelines5/5

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

Explicitly tells the agent when NOT to call it: Outlook's well-known folder names (inbox, drafts, sentitems, etc.) can be passed directly to other tools without calling list_folders first. This is a genuine routing rule against an alternative path, not just a use-case hint.

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