Skip to main content
Glama

get_component_dependencies

Retrieve the dependency graph of a web component, showing both direct and transitive dependencies. Uses the component's tag name to trace which components it renders.

Instructions

Returns the dependency graph for a component — direct dependencies (components it renders) and transitive dependencies (full tree). Requires a CEM built with dependency reference data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
libraryIdNoOptional library ID to target a specific loaded library instead of the default.
tagNameYesThe custom element tag name to inspect (e.g. "my-dialog").
includeTransitiveNoWhen true (default), resolves the full transitive dependency tree.

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