Skip to main content
Glama

get_motion_dna

Read-onlyIdempotent

Extracts a website's motion DNA—animation stack, ScrollTrigger/pin/scrub counts, easing vocabulary and duration distribution—from the corpus or a fresh live headless capture.

Instructions

Get the Motion DNA of a website: animation stack, ScrollTrigger/pin/scrub counts, easing vocabulary and duration distribution. Live captures append a censusSummary block (per-source scroll-census counts) from the same single launch. Serves the corpus first; live-captures unseen URLs (headless browser required).

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": "get_motion_dna"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesAbsolute site URL
recaptureNoForce a fresh live capture even if a recent record exists

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. Addedv1.7.2

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare this read-only, idempotent, open-world and non-destructive, so the safety profile is covered. The description adds valuable behavior beyond annotations: it serves the corpus first, falls back to a live headless-browser capture for unseen URLs, and appends a same-launch censusSummary block for live captures. It could mention latency or cost implications, but the key sourcing and prerequisite behavior is disclosed.

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?

The description is three tight sentences with no repetition, and the core purpose is front-loaded before the sourcing and live-capture caveats. Every sentence contributes useful information.

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

Completeness5/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 explains the returned content well by naming the animation stack, trigger counts, easing vocabulary, duration distribution and the conditional censusSummary block. It also covers sourcing precedence and the headless-browser prerequisite, leaving little ambiguity for an agent deciding whether and how to call it.

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 both the url and recapture parameters are already fully documented in the schema. The description does not add syntax, format or usage detail for either parameter beyond what the schema provides, making the baseline 3 appropriate.

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?

The description states a specific verb and resource ('Get the Motion DNA of a website') and enumerates the exact motion-specific outputs: animation stack, ScrollTrigger/pin/scrub counts, easing vocabulary and duration distribution. This clearly distinguishes it from generic site-detail siblings like get_site_details or search_sites.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explains the corpus-first sourcing behavior and the live-capture fallback, which implies when a live capture happens, but it does not explicitly say when to use this tool instead of motion-related siblings such as search_motion, analyze_scroll_map or record_site_motion. The schema covers the recapture flag, but the description gives no guidance on when recapture is appropriate.

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