Skip to main content
Glama

environment.locale

Override a browser's locale, such as de-DE, to test region-specific language and formatting behavior on the active page or a selected target.

Instructions

Override the browser locale, e.g. "de-DE".

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "locale": "<locale>"
    },
    "name": "environment.locale"
  }
}

Input Schema

NameRequiredDescriptionDefault
localeYes
target_idNoTarget handle (tgt_*). Omit for the active page.
browser_idNoBrowser handle (br_*). Omit to use the only running browser, or auto-launch one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

Annotations only tell the agent this is a non-read-only, open-world operation, so the description bears the burden of explaining mutation behavior and does not. It says nothing about whether the override persists across navigations, whether a reload is required to take effect, whether it applies per-target or per-browser, or how it is reverted.

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?

A single short sentence with the resource and the example front-loaded and no filler. It is efficient, though its brevity borders on under-specification rather than achieved conciseness.

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

Completeness2/5

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

For a state-mutating environment tool with no output schema, the definition leaves the important lifecycle questions unanswered: persistence, reload requirement, scope (target vs browser), and reset path. An agent could call it but could not predict the effect.

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 coverage is 67%: target_id and browser_id already carry their own descriptions, and the required locale parameter is undocumented in the schema. The description partially compensates by supplying the "de-DE" format example, but adds no detail on acceptable value ranges or fallback behavior.

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?

States a specific verb and resource ("Override the browser locale") plus a concrete example value ("de-DE"), which clearly separates it from sibling environment tools such as timezone or color_scheme. It does not explicitly name any sibling, so it stops short of full differentiation.

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

Usage Guidelines3/5

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

The word "Override" implies this changes existing state rather than reading it, which gives an implied usage context. However, there is no statement of when to prefer this over alternatives, no prerequisite conditions, and no pointer back to environment.reset for undoing the override.

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