Skip to main content
Glama
flutter-devtools-mcp

flutter-devtools-mcp

by draganbajic

start_profiling

Starts a performance profiling session; interact with the app to generate activity, then stop profiling to retrieve the analysis. Run the app in profile mode for accurate results.

Instructions

Start a performance profiling session. After starting, interact with the app (scroll, tap, navigate) to generate activity, then call stop_profiling to get the analysis. The app should be running in profile mode (flutter run --profile) for accurate results.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "start_profiling"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses the profile-mode prerequisite and that a session must be terminated via stop_profiling to get results, but says nothing about what happens if the app is not in profile mode, whether a session already running causes an error, or any side effects/overhead.

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?

Three short sentences, front-loaded with the action, then the required follow-up workflow, then the environment precondition. Every sentence carries distinct, actionable information with no padding.

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

Completeness4/5

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

For a zero-parameter, no-output-schema, no-annotation tool, the description covers the essential lifecycle (start → interact → stop) and the environment requirement. It stops short of covering failure modes or re-entrancy, which would round out a profiling session tool.

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

Parameters4/5

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

The tool takes zero parameters, so the baseline is 4; there is nothing for the description to disambiguate. It correctly says nothing extraneous about inputs.

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 uses a specific verb+resource pairing ("Start a performance profiling session") and names stop_profiling as its counterpart, so the agent can tell the two apart. It does not explicitly distinguish itself from other start_* siblings like start_network_capture or start_tracking_rebuilds, which is the only thing keeping this from 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?

It gives a clear call sequence: start, interact with the app (scroll, tap, navigate), then call stop_profiling for the analysis. It also states a prerequisite (app must be running with `flutter run --profile`). There is no explicit when-not-to-use guidance or comparison against the other capture tools, so no 5.

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