Skip to main content
Glama

set_animations

Freeze CSS animations and transitions by emulating reduced motion and injecting a kill stylesheet; note full re-enable requires restarting the browser.

Instructions

Freeze CSS animations/transitions via reduced-motion emulation + a kill-stylesheet; sites may serve reduced-motion content variants, and re-enabling fully applies only after restart_browser() because init scripts cannot be removed.

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_animations"
  }
}

Input Schema

NameRequiredDescriptionDefault
tabNo
enabledNo
persistNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

B3/5.0
Behavior3/5

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

With no annotations present, the description carries the full burden and does well on mechanism and side effects: it warns that sites may serve reduced-motion content variants and that re-enabling only fully applies after restart_browser() because init scripts cannot be removed. It still omits whether the effect is per-tab or global, what the return value reports, and what the kill-stylesheet does to page layout or measurements, leaving notable behavioral gaps for a state-mutating tool.

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 dense sentence that front-loads the action and mechanism, with the restart caveat appended. No filler, though the packed parenthetical and 'because' clause slightly hurt scannability.

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

Completeness3/5

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

An output schema exists, so return-value documentation is not required, and the restart/kill-stylesheet behavior is well covered. However, for a tool with three undocumented parameters and no annotations, the description should at minimum explain what 'persist' and 'tab' control and whether the change is scoped per tab.

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 description coverage is 0% across three parameters, so the description must compensate and does not. 'tab', 'enabled', and especially 'persist' (persist across what – tabs, sessions, restarts?) are never explained, even though 'persist' has a non-obvious default of true that materially changes 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 ('Freeze CSS animations/transitions') plus the mechanism ('reduced-motion emulation + a kill-stylesheet'), which is enough to distinguish it from generic navigation tools. It does not explicitly contrast with the sibling set_media, which likely also touches reduced-motion emulation, so the differentiation is inferred rather than stated.

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 explicit when-to-use guidance or comparison to alternatives such as set_media. The only conditional hint is the restart_browser() dependency for re-enabling, which is a prerequisite rather than a usage rule, and the default-disabled 'enabled' flag never has its intended workflow explained.

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