Skip to main content
Glama

environment.reduced_motion

Toggles the browser's prefers-reduced-motion setting to enable or disable reduced-motion behavior for accessibility testing and page inspection.

Instructions

Toggle prefers-reduced-motion.

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": {
      "reduced": "<reduced>"
    },
    "name": "environment.reduced_motion"
  }
}

Input Schema

NameRequiredDescriptionDefault
reducedYes
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

C2.4/5.0
Behavior2/5

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

Annotations declare readOnlyHint=false and openWorldHint=true, so the agent knows this mutates browser state, but the description adds nothing: not whether the setting persists across navigations, whether it is per-target or global, or how to undo it. The word 'toggle' actively undersells the required-state semantics implied by the schema.

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

Conciseness3/5

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

One short sentence is front-loaded and wastes no words, but at this length brevity becomes under-specification rather than economy given a required parameter and destructive-ish state change.

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?

This is a mutating, open-world tool with no output schema and three parameters; the description should at minimum say what gets changed, in what scope, and how to revert. None of that is present, so an agent can invoke it but cannot reason about side effects.

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

Parameters2/5

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

Schema coverage is 67%, and the one required parameter `reduced` has no description in either the schema or the description — the agent gets no hint that `true` means emulate reduced motion. The description restates the resource name but clarifies neither the required boolean nor how target_id/browser_id scope the change.

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

Purpose3/5

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

Names a specific resource (the prefers-reduced-motion media feature) but the verb is weak: 'toggle' suggests flip-on-call while the required `reduced` boolean means it actually sets an explicit state. It doesn't distinguish this from the sibling environment.media_features, which plausibly overlaps.

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?

No when-to-use guidance, no prerequisites, and no mention of alternatives even though environment.media_features and environment.reset are obvious candidates for related emulation control. The agent must infer that this sets a single emulated media feature.

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