Skip to main content
Glama

get_component_tree

Retrieve the React component tree from a live React Native app to inspect component names and renderer details, enabling UI hierarchy analysis and rendering issue diagnosis.

Instructions

Best-effort React component display names / renderer info via Fusebox DevTools operations

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetIdNo
Behavior2/5

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

With no annotations, the description must disclose side effects and reliability. Only 'best-effort' hints at potential incompleteness or failure, but there is no mention of whether it's read-only, what conditions are required, or what happens when React info is unavailable.

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?

The description is a single concise sentence, making it easy to scan. However, the phrase 'via Fusebox DevTools operations' is somewhat jargon-heavy and not entirely necessary, though it doesn't waste words overall.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has no output schema, no annotations, and a single parameter. The description provides minimal context about return values, error behavior, or use cases. It does not sufficiently explain what a consumer should expect from the component tree operation, especially given the rich set of sibling tools.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema documents a single targetId parameter but provides no description. The tool description does not explain what targetId refers to, how it's used, or its format. With 0% schema description coverage, the description should compensate, but it doesn't mention the parameter at all.

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 clearly identifies the tool as dealing with React component display names and renderer info, distinguishing it from siblings like get_ui_tree. However, 'best-effort' adds uncertainty and the exact nature of the output (tree structure) is only implied by the tool name.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives. It does not mention prerequisites, when not to use it, or how it differs from similar tools like get_ui_tree or capture_react_profile.

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

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/RanjithKumarSeekolu/dejank'

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