Skip to main content
Glama
flutter-devtools-mcp

flutter-devtools-mcp

by draganbajic

hot_restart

Restarts the running Flutter app from scratch without a full rebuild, so developers can apply code changes during development.

Instructions

Trigger a hot restart on the running Flutter app. Restarts the app from scratch but is faster than a full rebuild.

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": "hot_restart"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/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 disclosure burden. It usefully signals that the app is torn down and recreated "from scratch" rather than patched, which hints that in-memory state is discarded, but it does not state whether state is definitively lost, whether the call blocks until the app is ready, or whether reconnection is needed afterward.

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?

Two short sentences, both front-loaded with the action and then the key behavioral contrast. Every clause adds information and there is no filler or redundancy.

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?

For a zero-parameter, annotation-free action tool, the description covers the core action and a rough performance comparison. It falls short on the effects an agent needs to anticipate: whether app state and navigation history are reset, what the call returns or how completion is signalled, and how it differs from the nearest sibling.

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 there is nothing for the description to clarify beyond the schema. The baseline of 4 applies, with no parameter-level omissions possible.

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?

"Trigger a hot restart on the running Flutter app" gives a specific verb plus resource, and "restarts the app from scratch" implicitly contrasts with a state-preserving reload. However, it never names or addresses the hot_reload sibling, so the agent must infer the distinction rather than being told it.

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 clause "faster than a full rebuild" gives a comparative hint, and "from scratch" suggests when a full restart is warranted, but the guidance is only implied. There is no explicit statement of when to choose this over hot_reload or a full rebuild, and no prerequisites or exclusions are listed.

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