Skip to main content
Glama

List Outlook folders

list_outlook_folders
Read-only

List the mail folders in the user's connected Outlook mailboxes, with their ids and message counts. Use it when the user names one of their folders, before searching it with search_outlook_messages(folder=...).

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

Input Schema

NameRequiredDescriptionDefault
accountNoEmail address or id:<mailbox id> of one connected Outlook mailbox. Omit to use every connected mailbox.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / account / description
      Previous value: -"Email address of one connected Outlook mailbox. Omit to use every connected mailbox."New value: +"Email address or id:<mailbox id> of one connected Outlook mailbox. Omit to use every connected mailbox."
  2. Added

TDQS

A4.5/5.0
Behavior4/5

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

The readOnlyHint annotation already declares this a safe read, so the description's job is to add context — and it does by disclosing that results span every connected mailbox by default and that each folder carries an id and message count. It does not address pagination or account-permission requirements, which is a minor gap for a read-only listing.

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 sentences, each earning its place: the first defines the output and scope, the second defines the trigger and the follow-on call. Nothing is repeated from the title and there is no filler.

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?

For a one-optional-parameter read tool with no output schema, the description carries exactly the missing burden: what comes back (ids and counts) and when to call it. Annotations cover the safety profile and the schema covers the parameter, leaving nothing material unexplained.

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% and the single account parameter is fully documented in the schema, so the baseline is 3. The description's plural "mailboxes" is consistent with the schema's "Omit to use every connected mailbox" default but adds no syntax or format detail beyond 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?

"List the mail folders in the user's connected Outlook mailboxes, with their ids and message counts" names a specific verb and resource plus the scope (all connected mailboxes) and the payload returned. It is easily distinguished from search_outlook_messages, which is named explicitly as the downstream consumer of these folder ids.

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?

The definition states the triggering condition ("Use it when the user names one of their folders") and the sequencing relative to an alternative ("before searching it with search_outlook_messages(folder=...)"). An agent knows both when to call this and what to do with the result.

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.