Skip to main content
Glama

list-supported-languages

list-supported-languages
Read-only

Retrieve supported locales and languages for a user's mailbox to validate the preferred language before updating mailbox settings.

Instructions

Get the list of locales and languages that are supported for the user, as configured on the user's mailbox server. When setting up an Outlook client, the user selects the preferred language from this supported list. You can subsequently get the preferred language by getting the user's mailbox settings.

đź’ˇ TIP: Lists locales and languages the user's mailbox server supports for the Outlook UI and message rendering. Returns localeInfo objects with locale (e.g. 'en-US') and displayName ('English (United States)'). Use this to validate the locale value before calling update-mailbox-settings to change the user's preferred language.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topNoPage size (Graph $top). Start small (e.g. 5–15) so responses fit the model context; raise only if needed. Use $select to return fewer fields per item. For more rows, use @odata.nextLink from the response instead of a very large $top.
skipNoItems to skip for pagination. Not supported with $search.
countNoSet true to enable advanced query mode (ConsistencyLevel: eventual). Required for complex $filter on flag/flagStatus or contains().
filterNoOData filter expression. Add $count=true for advanced filters (flag/flagStatus, contains()). Cannot combine with $search.
searchNoKQL search query — wrap value in double quotes. Cannot combine with $filter.
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
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds that it returns localeInfo objects with specific fields and that it is sourced from the mailbox server, which is useful. It does not contradict any annotations, but it also does not disclose any additional behavioral traits beyond what annotations and schema already imply. With annotations covering the core behavior, the description provides modest added transparency.

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?

The description is two sentences plus a tip. The first sentence states the core purpose, and the second adds context about the flow. The tip is front-loaded with a bullet and provides concrete return format and usage advice. It is efficient without being overly terse, though the phrase 'You can subsequently get the preferred language by getting the user's mailbox settings' could be trimmed. Overall, it 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?

Since there is no output schema, the description properly explains the return format (localeInfo objects with locale and displayName). It also gives a practical validation use case. All parameters are documented in the schema, and the description covers the essential context. It does not mention pagination behavior, but the schema already covers $top/$skip/fetchAllPages, so nothing critical is missing.

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 100%, and each parameter (top, skip, count, filter, search, fetchAllPages, includeHeaders, excludeResponse) already has a detailed description in the input schema. The tool description does not add any parameter-specific guidance beyond what the schema provides. Per the calibration baseline for high schema coverage, a 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 gets the list of locales and languages supported on the user's mailbox server. It specifies the exact resource and purpose, and distinguishes itself from the sibling list-supported-time-zones by focusing on languages/locales rather than time zones. The mention of 'localeInfo objects with locale (e.g. 'en-US') and displayName' further clarifies the output, making it unambiguous.

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 clear context: this list is used when setting up an Outlook client, and to validate a locale before calling update-mailbox-settings. It references get-mailbox-settings for retrieving the preferred language, effectively routing the agent to related tools. However, it does not explicitly state when not to use this tool or compare it to alternatives like list-supported-time-zones, so it lacks explicit exclusions—hence a 4 rather than a 5.

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