Skip to main content
Glama

Set language and region

set_locale_preferences
Idempotent

Sets the language and IANA time zone used in emails, notices, errors and tool results, or restores browser defaults. Use it to control how dates and messages appear.

Instructions

Choose the language (a code from the shipped locales, or null to follow the browser) and IANA time zone (e.g. Europe/Berlin, or null) for your emails, notices, errors and tool results; omitted fields stay as they are. Settings → Account shows the same. Returns { ok, locale, timeZone }.

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

Input Schema

NameRequiredDescriptionDefault
localeNoLanguage of the app, emails and messages: en; null follows the browser
timeZoneNoIANA time zone for dates in emails and notices (e.g. Europe/Berlin); null uses the browser's own on screen and UTC in mail

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.51.1

TDQS

A4.2/5.0
Behavior4/5

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

With only idempotentHint supplied, the description carries the behavioral load and does well: it discloses partial-update semantics ('omitted fields stay as they are'), the null-fallback resolution per field, where the change surfaces in the UI, and the exact return shape. Missing are permission/auth requirements and any confirmation that unlisted inputs are rejected.

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?

Front-loaded with the two settable values and their semantics, then closes with the return shape; no filler sentences. The main clause is long and semicolon-heavy, which costs a bit of scannability, but every clause contributes information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter, non-destructive, idempotent settings tool with no output schema, the description covers what changes, merge behavior, null resolution, UI reflection, and even the response shape. Nothing an agent needs in order to invoke it correctly appears to be 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%, so both parameters are already documented in the schema, establishing a 3 baseline. The description reinforces the null semantics and hints at a constrained locale set ('a code from the shipped locales'), but adds little format or validation detail beyond what the schema already says.

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?

States a specific action (choose/set) on two named resources (language and IANA time zone) and scopes the effect explicitly to 'emails, notices, errors and tool results'. The verb-plus-scope framing makes it clearly distinct from the read-side sibling get_locale_preferences without needing to name it.

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?

Gives clear operational context: null follows the browser, omitted fields stay as they are, and the change matches what Settings → Account shows, which helps an agent confirm intent with the user. It does not explicitly state when to prefer this over sibling settings tools or what preconditions apply (e.g. auth), so it stops short of full when-to-use guidance.

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