Skip to main content
Glama

skeleton.emit

Read-only

Convert a captured skeleton into ready-to-paste HTML, CSS, React, Vue, Svelte, or JSON source, with mobile-first CSS, percentage-based geometry, and reduced-motion support.

Instructions

Turn a captured skeleton into ready-to-paste source: html, css, react, vue, svelte, or the raw json. Output is mobile-first CSS - the narrowest captured width is the base rule and wider ones are min-width overrides - with horizontal geometry in percentages so it stretches between breakpoints. Honours prefers-reduced-motion.

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.emit"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
colorNoBone fill. Default a theme-neutral translucent grey.
formatNoDefault "html".
animationNoDefault "shimmer".
componentNoComponent name for react/vue/svelte output.
highlightNoShimmer sweep colour.
save_pathNoAlso write the generated source here.
breakpointsNoWhat the breakpoints ask about. "container" (default) uses @container queries keyed on the width of the skeleton itself, which is what its geometry is relative to. "media" uses viewport @media queries: only correct when the skeleton fills the viewport, but needed for browsers older than Chrome 105 / Safari 16 / Firefox 110.
class_prefixNoCSS class prefix. Default skeleton-<name>.
container_colorNoSurface fill for container bones. Defaults to the bone colour at lower opacity.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the description's job is to add generation semantics -- and it does: mobile-first CSS with the narrowest captured width as the base rule, min-width overrides for wider widths, percentage horizontal geometry, and prefers-reduced-motion support. The one notable gap is that it never mentions the save_path side effect (writing source to disk), which sits in tension with the read-only hint and is only discoverable by reading the schema.

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 purpose before the CSS output characteristics, and nothing is redundant filler. Slightly dense in the second sentence, but every clause conveys real output semantics the agent cannot get from annotations.

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?

With 10 parameters, no output schema, and no annotations covering mutation, the description should say more about what 'name' refers to (a stored skeleton id vs. a label for the new artifact) and about the save_path write behavior. Output structure is reasonably conveyed through the CSS explanation, but input-side assumptions are left implicit.

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 90%, so the schema already explains name, color, format, animation, component, highlight, save_path, breakpoints, class_prefix, and container_color in detail. The description lists the format options and the CSS geometry model but adds no syntax, defaulting, or interaction rules beyond what the schema states; 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?

Opens with a specific verb and resource -- 'Turn a captured skeleton into ready-to-paste source' -- and enumerates every output format (html, css, react, vue, svelte, raw json). Combined with the sibling names (skeleton.capture, skeleton.preview, skeleton.show), an agent can immediately tell this is the code-emission step rather than a capture or display step.

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?

Usage is only implied: 'a captured skeleton' signals that capture must come first, and the word 'emit' plus the format list signals source generation rather than preview. There is no explicit statement of when to choose this over skeleton.preview or skeleton.show, and no note on what happens if the named skeleton does not exist.

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