Skip to main content
Glama
Arenukvern

Flutter Inspector MCP Server

debug_dump_layer_tree

Analyze and debug Flutter app layer trees by dumping their structure for detailed inspection. Connects to the default Flutter debug port (8181) or a custom port to identify layout issues.

Instructions

RPC: Dump the layer tree (ext.flutter.debugDumpLayerTree). Connects to the default Flutter debug port (8181) unless specified otherwise.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
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 full burden. It mentions connecting to a debug port, implying a read-only diagnostic operation, but doesn't disclose critical behavioral traits like whether it requires Flutter app to be in debug mode, potential performance impact, error handling, or output format. This leaves significant gaps for an agent to understand how to use it safely and effectively.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is efficiently structured in two sentences: the first states the core purpose and RPC method, the second provides the default port and customization option. Every sentence adds essential information with zero waste, making it easy to parse.

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 a debugging tool with no annotations and no output schema, the description is incomplete. It lacks details on prerequisites (e.g., Flutter app must be running in debug mode), expected output format, error conditions, and behavioral implications, which are crucial for an agent to use this tool correctly in context.

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 100% (the 'port' parameter is fully documented in the schema), so the baseline is 3. The description adds minimal value beyond the schema by mentioning the default port 8181, but doesn't provide additional semantics like valid port ranges or connection behavior.

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: 'Dump the layer tree' with the specific RPC method 'ext.flutter.debugDumpLayerTree'. It distinguishes itself from sibling tools like 'debug_dump_focus_tree' and 'debug_dump_render_tree' by specifying the layer tree. However, it doesn't explicitly contrast with all similar debug dump tools, keeping it at a 4 rather than a 5.

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

Usage Guidelines4/5

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

The description provides clear context for when to use this tool: when needing to dump the layer tree in Flutter debugging, with guidance on the default port (8181) and option to specify another. It doesn't explicitly state when not to use it or name alternatives among siblings, but the context is sufficient for typical usage.

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