Skip to main content
Glama
mdwsk88

MS 365-21V MCP Server

by mdwsk88

Get Mail Folder

mail_get_folder

Retrieve mailbox folder details and item counts, including unread messages, using a folder ID or well-known name.

Instructions

Read mailbox-folder details and item counts. Requires delegated Mail.Read. Chinese intents / 中文意图: 查看邮件文件夹详情, 查看文件夹未读数量, 读取邮箱目录信息.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
folderIdYesFolder ID or well-known name such as inbox or drafts.
Behavior4/5

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

With no annotations, the description adequately discloses the tool's read-only nature ('Read') and permission requirements ('Requires delegated Mail.Read'). It also hints at unread count behavior via the Chinese intents. It does not describe potential side effects or failure modes, but for a simple read operation, this is acceptable.

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 concise, consisting of two short sentences. The English sentence conveys the core function and permission, while the Chinese lines add multilingual intent examples without unnecessary fluff. Every element serves a purpose.

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?

Given the tool's simplicity (one required parameter, no output schema) and lack of annotations, the description covers the essential aspects: purpose, permission, and unread count context. It could be slightly more specific about what 'folder details' includes, but overall it is sufficient for an agent to select and invoke the tool correctly.

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?

The input schema already provides complete coverage of the 'folderId' parameter, including a description of well-known names like 'inbox' or 'drafts'. The tool description adds no additional parameter context beyond what the schema defines, 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?

The description clearly states the tool reads mailbox-folder details and item counts, using a specific verb ('Read') and resource. It distinguishes itself from sibling tools like mail_list_folders and mail_get_message by focusing on folder metadata and counts rather than listing all folders or retrieving individual messages.

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

Usage Guidelines3/5

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

The description provides some usage context through the Chinese intent examples (e.g., '查看邮件文件夹详情', '查看文件夹未读数量'), implying it should be used for viewing folder details and unread counts. However, it does not explicitly mention alternatives or when not to use this tool, leaving some ambiguity relative to similar mail folder tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mdwsk88/ms-365-21v-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server