Skip to main content
Glama

animations

List CSS keyframes, transitions, Web Animations API, and View Transitions with selectors, properties, durations, and play states. Record new motion over a window after actions like hover or click.

Instructions

List the page animations: CSS animations, transitions, Web Animations and View Transitions, each with selector and ref, animated properties, duration, delay, easing (linear() curves included), iterations, play state, timeline (document, scroll, view). composited_estimate guesses whether only transform/opacity/filter move (an estimate, not the compositor's answer); fade_only marks opacity-only fades, what prefers-reduced-motion should leave. Without duration_ms: what runs now. With duration_ms: records every animation that starts in the window, optionally after an action (hover, click, scroll, key), since a 150 ms transition is over before a second call. Refuses on a hidden page. Pair with emulate_media reducedMotion to check the reduced version.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax animations listed; the summary counts all
scopeNoCSS selector: only animations on this element or inside it
actionNoAction run right after recording starts
tab_idNoTarget tab; omitted = last tab navigated in this session, else the active one
frame_idNoTarget iframe id from get_frames; omitted = main frame
duration_msNoRecord for this many ms (max 30000) instead of a snapshot

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.28.0

TDQS

A4.3/5.0
Behavior4/5

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

Adds behavior well beyond the annotations: it refuses on a hidden page, warns that composited_estimate is a guess rather than the compositor's answer, defines fade_only, and explains the 150 ms-transition timing rationale for recording. Annotations declare readOnlyHint=false and idempotentHint=false, which is consistent with the fact that it can trigger click/hover/scroll/press_key actions.

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 core capability and output shape, then the two operating modes, then caveats. Dense semicolon-clause sentences pack substantial information with little waste, though the length pushes toward run-on territory.

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?

With no output schema, the description carries the burden of explaining return values and does so (selector/ref, animated properties, duration, delay, easing, iterations, play state, timeline, composited_estimate, fade_only). It also covers the hidden-page refusal and the reduced-motion workflow. Minor gap: it does not describe the limit/summary interaction that the schema implies.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description goes further by explaining the semantic split between snapshot mode and duration_ms recording mode, and by clarifying that optionally an action runs after recording starts. This adds meaning about how parameters interact rather than restating field text.

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 and resource ("List the page animations") and enumerates the four animation technologies it covers (CSS animations, transitions, Web Animations, View Transitions), plus the per-item fields it returns. An agent can distinguish this from get_css_styles or watch_dom without opening the 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?

Clearly partitions two modes: without duration_ms it is a snapshot of what runs now; with duration_ms it records every animation that starts in the window, optionally after an action. It also routes for a related task ("Pair with emulate_media reducedMotion"). It does not explicitly contrast with sibling listing tools like get_css_styles, so it stops short of a full when/when-not statement.

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