Skip to main content
Glama

get-mailbox-settings

get-mailbox-settings
Read-only

Retrieve the signed-in user's mailbox settings, including automatic replies, language, time zone, and date/time formats.

Instructions

Get the user's mailboxSettings. You can view all mailbox settings, or get specific settings. Users can set the following settings for their mailboxes through an Outlook client: Users can set their preferred date and time formats using Outlook on the web. Users can choose one of the supported short date or short time formats. This GET operation returns the format the user has chosen. Users can set the time zone they prefer on any Outlook client, by choosing from the supported time zones that their administrator has set up for their mailbox server. The administrator can set up time zones in the Windows time zone format or Internet Assigned Numbers Authority (IANA) time zone (also known as Olson time zone) format. The Windows format is the default. This GET operation returns the user's preferred time zone in the format that the administrator has set up. If you want that time zone to be in a specific format (Windows or IANA), you can first update the preferred time zone in that format as a mailbox setting. Subsequently you will be able to get the time zone in that format. Alternatively, you can manage the format conversion separately in your app.

đź’ˇ TIP: Gets the current user's mailbox settings including automaticRepliesSetting (out-of-office status, message, scheduledStartDateTime/EndDateTime, externalAudience), language, timeZone, dateFormat, timeFormat, delegateMeetingMessageDeliveryOptions, and userPurpose.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
expandNoNavigation properties to inline, e.g. attachments on a message or event. Only navigation properties can be expanded: expanding a non-navigation property such as a message body fails with "Parsing OData Select and Expand failed", and an unsupported value may be ignored rather than reported. Request ordinary fields with $select instead.
selectNoComma-separated fields to return, e.g. id,subject,from,receivedDateTime
fetchAllPagesNoFollow @odata.nextLink and merge up to 100 pages into one response. Can return enormous payloads—only when the user explicitly needs a full export. Prefer a small $top first, then paginate or narrow with $filter/$search.
includeHeadersNoInclude response headers (including ETag) in the response metadata
excludeResponseNoExclude the full response body and only return success or failure indication
Behavior4/5

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

Annotations already convey readOnlyHint, destructiveHint, and openWorldHint, but the description adds valuable behavioral details beyond these: it explains that the GET returns the user's chosen time zone in the administrator-configured format, that Windows format is default, and that getting a specific format requires a prior update. This is transparent and does not contradict the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is lengthy, especially the time zone paragraph, which takes up several sentences. It is not front-loaded after the first sentence and includes a separate 'TIP' section at the end. While the information is relevant for correct usage, it could be more concise by trimming redundant explanations. Still, the description earns its keep with useful details, though it verges on verbosity.

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 read-only tool with no output schema, the description (including the TIP) enumerates the returned settings, explains time zone format behavior, and mentions the ability to request all or specific settings. It omits explicit mention of pagination or the fetchAllPages parameter, but those are covered in the schema. Overall, it provides sufficient context for an agent to use the tool correctly without surprises.

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 has 100% description coverage for all five parameters (expand, select, fetchAllPages, includeHeaders, excludeResponse), each with detailed explanations. The description itself does not add meaning beyond the schema; it only vaguely mentions 'get specific settings' which maps to select. Since the schema carries the full weight, a baseline score of 3 is appropriate.

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 retrieves the user's mailboxSettings, lists the specific settings included ('automaticRepliesSetting, language, timeZone, dateFormat, timeFormat, delegateMeetingMessageDeliveryOptions, and userPurpose'), and distinguishes between viewing all or specific settings via $select. It is unambiguous and differentiates itself from the sibling update-mailbox-settings by describing a get operation.

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 clear context on when to use this tool: to view mailbox settings, and it explains the workflow for time zone format conversion (update first, then get). However, it does not explicitly name alternatives or state exclusions like 'use update-mailbox-settings to modify settings', leaving some inference to the agent. The annotations (readOnlyHint) reinforce its read-only nature, but the description itself could be more explicit about not using this for modifications.

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/A-Impact-Pavel/ms365-mcp'

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