Skip to main content
Glama

update-mail-folder

Destructive

Updates a mail folder's properties, like renaming it by modifying the displayName. Use the folder ID from list-mail-folders.

Instructions

Update the properties of mailfolder object.

💡 TIP: Renames a mail folder by updating its displayName. Use list-mail-folders to find the folder ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYes
mailFolderIdYesPath parameter: mailFolderId
includeHeadersNoInclude response headers (including ETag) in the response metadata
excludeResponseNoExclude the full response body and only return success or failure indication
Behavior3/5

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

Annotations already indicate a mutating operation (destructiveHint: true), and the description confirms this with 'Update'. However, it only highlights one specific behavior (renaming) without detailing other potential effects or constraints on what properties can be updated, adding minimal extra behavioral context.

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 extremely concise: two sentences and a tip. The main purpose is front-loaded, and no extraneous information is present. Every part 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?

Given the presence of annotations, high schema coverage, and no output schema, the description covers the main use case well. It could be more complete by listing which properties are updatable and any restrictions, but overall it provides sufficient context for an AI agent.

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 description coverage is high (75%), so the schema already documents parameters thoroughly. The description adds value by mentioning 'displayName' in the tip, but does not clarify which other properties in the 'body' object are updatable or meaningfully augment the schema definitions.

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 'Update the properties of mailfolder object' and provides a concrete tip focusing on renaming via displayName, which distinguishes it from siblings like create-mail-folder, delete-mail-folder, and list-mail-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 gives a clear prerequisite ('Use list-mail-folders to find the folder ID') and a specific use case (renaming), but does not explicitly state when not to use this tool or alternatives for other updates, leaving some ambiguity.

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/Softeria/ms-365-mcp-server'

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