Skip to main content
Glama

record_site_motion

Destructive

Record a short motion-through video of a live site, including preloader, scroll, hover, cursor, and click/form motion, returning a filmstrip JPEG, .webm path, and Motion Evidence Sheet.

Instructions

Record a short motion-through video of a live website - preloader, scroll-triggered and hover/cursor animations - and return an inline filmstrip JPEG plus the .webm path. Requires the optional playwright and ffmpeg-static dependencies. Also writes a Motion Evidence Sheet (keyframes with census-stamped captions, diff masks, cursor-trail overlay, timeline strip) beside the filmstrip. This is not read-only: to expose hover/click motion it can click interactive elements and submit their forms.

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": {
      "url": "<url>"
    },
    "name": "record_site_motion"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesAbsolute URL of the site to record
framesNoFilmstrip tile count (default 16 → a 4x4 grid)
viewportNodesktop = 1440x900 (default); mobile = 390x844 iPhone-class with deviceScaleFactor 3, isMobile + hasTouchdesktop
waitStrategyNo'load' + settle works on heavy sites; 'networkidle' waits for total quietload

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.14.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed1 schema field changedv1.13.0
    • removedInput schema / additionalProperties
      Removed value: -false
  3. Changed1 schema field changedv1.6.0
    • addedInput schema / properties / viewport
      Added value: +{
      +  "default": "desktop",
      +  "description": "desktop = 1440x900 (default); mobile = 390x844 iPhone-class with deviceScaleFactor 3, isMobile + hasTouch",
      +  "enum": [
      +    "desktop",
      +    "mobile"
      +  ],
      +  "type": "string"
      +}
  4. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true; the description adds the *why* (it clicks interactive elements and submits their forms) plus the soft dependency requirement (playwright, ffmpeg-static) and the side-effect of writing a Motion Evidence Sheet beside the filmstrip. Time/cost and failure behavior are undisclosed, keeping it below 5.

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?

Three sentences, front-loaded with the action and the return value; the dependency caveat and the write-safety caveat follow in priority order. Slight densification with jargon ('census-stamped captions', 'diff masks') costs one point but each clause carries distinct information.

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?

There is no output schema, so the description correctly spells out the return shape (inline filmstrip JPEG plus .webm path) and the extra on-disk artifact. With four params fully schema-covered and a hard prerequisite noted, the only real gap is runtime/duration expectations for an expensive browser-recording operation.

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 frames, viewport, and waitStrategy are already fully documented with defaults and enum meanings. The description adds nothing per-parameter beyond the implicit 'short' framing, so the baseline 3 applies.

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 ('Record a short motion-through video of a live website') and enumerates the exact motion classes captured (preloader, scroll-triggered, hover/cursor). It also names the concrete return artifacts, so an agent can distinguish it from capture_live_site or analyze_scroll_map without opening a 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?

The closing sentence gives a clear selection condition and warning: 'This is not read-only: to expose hover/click motion it can click interactive elements and submit their forms' tells the agent when the side effects are warranted. It falls short of 5 because it never names the sibling capture tools it should be preferred over or substituted for.

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