Skip to main content
Glama
Arenukvern

Flutter Inspector MCP Server

inspector_get_layout_explorer_node

Retrieve detailed layout explorer information for a specific widget in a Flutter app, enabling precise debugging of widget trees and layout issues. Supports custom debug ports.

Instructions

RPC: Get layout explorer information for a widget (ext.flutter.inspector.getLayoutExplorerNode). Connects to the default Flutter debug port (8181) unless specified otherwise.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
objectIdYesID of the widget to inspect
portNoOptional: Custom port number if not using default Flutter debug port 8181
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions connecting to a Flutter debug port, which implies network interaction and potential debugging context, but doesn't describe what 'layout explorer information' includes, whether it's read-only or has side effects, error conditions, or response format. This leaves significant gaps for a tool with no annotation coverage.

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 concise and front-loaded, stating the core purpose in the first clause. The second sentence adds useful context about the default port. There's no wasted language, but it could be slightly more structured (e.g., separating purpose from technical details).

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?

Given the complexity of debugging tools, no annotations, and no output schema, the description is incomplete. It lacks details on what 'layout explorer information' entails, how to interpret results, error handling, or dependencies on other tools (e.g., needing to select a widget first). This makes it inadequate for guiding an agent in a Flutter debugging context without additional assumptions.

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?

The schema description coverage is 100%, with clear descriptions for both parameters ('objectId' as ID of the widget to inspect, 'port' as optional custom port). The description adds minimal value beyond the schema by referencing the default port 8181, but doesn't provide additional context like format examples for 'objectId' or implications of port usage. With high schema coverage, the baseline score of 3 is appropriate.

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 states the tool's purpose: 'Get layout explorer information for a widget' with the specific RPC method 'ext.flutter.inspector.getLayoutExplorerNode'. It uses a precise verb ('Get') and resource ('layout explorer information for a widget'), but doesn't explicitly differentiate from sibling tools like 'inspector_get_children_details_subtree' or 'inspector_get_details_subtree', which also retrieve widget information.

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?

The description provides some usage context by mentioning the default Flutter debug port (8181) and the option to specify a custom port, which implies it's used for debugging Flutter applications. However, it doesn't explicitly state when to use this tool versus alternatives like other inspector tools (e.g., for layout vs. children details) or provide exclusions or prerequisites beyond the port information.

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

Related 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/Arenukvern/mcp_flutter'

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