Skip to main content
Glama

skeleton.preview

Overlay a captured skeleton on the live page, anchored to its measured element, to verify the placeholder matches before screenshotting. Runs in an isolated shadow root; call with remove:true to clear it.

Instructions

Draw a captured skeleton over the live page, anchored to the element it was measured from, so you can screenshot it and see whether the placeholder actually matches. The overlay lives in a shadow root outside the app tree, so page CSS cannot restyle it and it cannot restyle the page. Call with remove:true to take it down.

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": {
      "name": "<name>"
    },
    "name": "skeleton.preview"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
colorNo
removeNoRemove the overlay instead of drawing one.
selectorNoAnchor element. Defaults to the selector the skeleton was captured from.
animationNo
highlightNo
target_idNoTarget handle (tgt_*). Omit for the active page.
browser_idNoBrowser handle (br_*). Omit to use the only running browser, or auto-launch one.
breakpointsNoDefault "container". See skeleton.emit.
container_colorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

The description adds meaningful behavior beyond annotations: the overlay lives in a shadow root outside the app tree, page CSS cannot restyle it, and it cannot restyle the page, plus remove:true tears it down. It does not cover persistence, failure modes, or side effects beyond the overlay itself.

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?

Three tight sentences: purpose first, isolation behavior second, teardown command last. Every sentence earns its place and the important constraints are front-loaded.

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?

It covers the core preview behavior and teardown, but for a 10-parameter tool it leaves many gaps: what 'name' selects, how selector/animation/breakpoints affect the overlay, and whether prior previews persist. Adequate but with clear omissions.

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?

The description only explains remove:true, which is already documented in the schema. With 50% schema coverage, parameters such as name, color, highlight, animation, and container_color have no meaning in either place, so the description does not compensate for the gap.

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?

The description uses a specific verb ('Draw') and resource ('captured skeleton over the live page') and states the anchoring behavior. It is clear what the tool does, but it does not explicitly differentiate itself from siblings like skeleton.show or skeleton.emit by name.

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?

It states the intent of use (screenshot the overlay to verify the placeholder matches) and gives a teardown instruction with remove:true. It lacks explicit when-not-to-use guidance or named alternatives, so it falls short of a 5.

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