Skip to main content
Glama

environment.reset

Restores all browser environment overrides to their default values, returning pages to normal behavior after testing. Clock and fault rules must be cleared separately.

Instructions

Put every environment override back to browser defaults. Clock and fault rules are cleared separately.

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": "environment.reset"
  }
}

Input Schema

NameRequiredDescriptionDefault
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

A4/5.0
Behavior3/5

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

Annotations already declare this is a mutating, open-world operation (readOnlyHint=false, openWorldHint=true), so the description's incremental job is to say what state is lost. It does say environment overrides return to browser defaults, but leaves unstated whether the reset is reversible, whether it can affect more than the currently addressed target, and how it interacts with an active page. Adequate but not rich for a destructive-ish mutation.

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

Conciseness5/5

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

Two short sentences, front-loaded with the action and scope, with the caveat sentence carrying the boundary information. No filler.

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-required-parameter reset with a fully described schema and safety-relevant annotations already present, the description is close to complete. The main residual gap is whether the reset is scoped to the addressed target versus all environments, which matters given the 'every' wording.

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 target_id and browser_id are already fully documented including the omission behavior. The description adds no parameter meaning and its 'every environment override' phrasing arguably sits in mild tension with the per-target scoping the schema exposes, without resolving it.

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 verb ('put ... back to browser defaults') and a precisely scoped resource ('every environment override'), and explicitly draws the boundary against clock and fault rule resets. An agent can distinguish this from sibling resets like cpu.reset or network.simulate_reset without opening any schema.

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 a clear exclusion — clock and fault rules are cleared by something else — which steers the agent away from over-scoping. It never names the alternative tools explicitly, so routing still requires the agent to infer which sibling handles clock/fault.

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