Skip to main content
Glama
flutter-devtools-mcp

flutter-devtools-mcp

by draganbajic

start_tracking_rebuilds

Starts tracking which Flutter widgets rebuild and how often during app interaction so you can later identify unnecessary rebuilds and their code locations.

Instructions

Start tracking which widgets are rebuilding and how often. After starting, interact with the app, then call stop_tracking_rebuilds to see exactly which widgets rebuilt, how many times, and where they are in your code. This is the most effective way to find unnecessary rebuilds.

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_tracking_rebuilds"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.1/5.0
Behavior3/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. It discloses the two-phase capture workflow, which is the key behavior, but is silent on whether it requires an already-connected app, what happens if called while tracking is already active, and whether it discards prior data.

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 follow-up procedure, then the value proposition. No repetition or filler.

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

Completeness3/5

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

The description correctly explains that results surface via stop_tracking_rebuilds, which compensates for the absence of an output schema. However, for a zero-annotation tool, it omits preconditions such as needing a connected app and the effect of calling it twice, leaving real gaps.

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 no parameters and the schema coverage is 100%, so there is no parameter semantics burden to carry. Baseline 4 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: start tracking widget rebuild counts. It also names the paired tool stop_tracking_rebuilds and clarifies that the results come from the stop call, so an agent can distinguish it from siblings like start_profiling or start_network_capture.

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?

Gives an explicit usage workflow: start tracking, interact with the app, then call stop_tracking_rebuilds. It also motivates the tool (\"the most effective way to find unnecessary rebuilds\"). It doesn't address when to prefer it over start_profiling, but no prerequisite or exclusion is misstated.

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