Skip to main content
Glama

Language and region

get_locale_preferences
Read-only

Retrieve the configured locale and time zone for emails, notices, errors, and tool results. Use it to see whether null values fall back to browser settings.

Instructions

The language your emails, notices, errors and tool results are written in, and the time zone their dates are read in. Returns { locale, timeZone }; null locale follows the browser in the app (English in mail), null timeZone is the browser's own on screen and UTC in mail.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.51.1

TDQS

B3.4/5.0
Behavior3/5

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

The readOnlyHint=true annotation already declares this is a safe read, so the bar is lower, and the description does add real value by disclosing the null fallback rules and how behavior differs between the app (browser locale) and mail (English/UTC). It stops short of saying whether these preferences are per-user or instance-wide, or whether the read can fail.

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?

Two tight sentences with no filler; the return shape is stated before the fallback caveats, which is the right order for an agent. The opening clause is slightly indirect — it defines the values before saying the tool returns them — but nothing is wasted.

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 zero-parameter getter with no output schema, the description carries the necessary weight: it names both returned fields and documents the two distinct null semantics that would otherwise mislead an agent. The only gap is scope (user vs instance) and any error behavior, both minor here.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so there is nothing for the description to disambiguate and it correctly stays silent on inputs. Baseline for a parameterless tool applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description makes the resource concrete: it explains that this is the language used for emails, notices, errors and tool results, plus the time zone used for dates, and it names the return shape { locale, timeZone }. It does not distinguish itself from the sibling set_locale_preferences or explain that it simply reads current preferences, so an agent must infer the get/set split from the name alone.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no mention of prerequisites, and no reference to the obvious alternative (set_locale_preferences) for changing these values. The content is interpretive rather than directive — it tells the agent how to read the results but not when to call the tool.

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

Deploy Server

Other Tools