Skip to main content
Glama

get_flutter_performance_overlay

Display Flutter rendering performance overlay to analyze UI frame rates, identify rendering bottlenecks, and optimize app performance during development.

Instructions

Get Flutter rendering performance info

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
package_nameYes
device_serialNo

Implementation Reference

  • The main handler function for the 'get_flutter_performance_overlay' tool, registered via @mcp.tool() decorator. It executes ADB command to dump Flutter gfxinfo framestats for the given package on the specified device.
    @mcp.tool() def get_flutter_performance_overlay( package_name: str, device_serial: str | None = None ) -> str: """Get Flutter rendering performance info""" output = run_adb([ "shell", "dumpsys", "gfxinfo", package_name, "framestats" ], device_serial) return output
  • The @mcp.tool() decorator registers the get_flutter_performance_overlay function as an MCP tool.
    @mcp.tool()

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/rahulkr/r_adb_mcp_server'

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