Skip to main content
Glama

get_composition_example

Generates an HTML snippet that composes multiple web components using slot assignments from their Custom Elements Manifest. Provide 1-4 component tag names to get a realistic composition example.

Instructions

Generates a realistic HTML snippet showing how to compose two or more web components together. Slot assignments are drawn from CEM slot definitions. Provide 1–4 component tag names; a single tag name returns a standalone usage example.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
libraryIdNoOptional library ID to target a specific loaded library instead of the default.
tagNamesYesArray of 1–4 custom element tag names to compose (e.g. ["my-card", "my-button"]).

Tool Definition Quality

Score is being calculated. Check back soon.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bookedsolidtech/helixir'

If you have feedback or need assistance with the MCP directory API, please join our Discord server