Skip to main content
Glama
flutter-devtools-mcp

flutter-devtools-mcp

by draganbajic

toggle_debug_paint

Toggle the debug paint overlay in a Flutter app to show widget borders, padding, and alignment guides for visual layout debugging.

Instructions

Toggle the debug paint overlay on the Flutter app. Shows widget borders, padding, and alignment guides.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It reveals the visible effect of the overlay, which is genuinely useful, but omits that this is a stateful on/off operation (a second call turns it off), whether state persists across hot reload, and whether a connected app is required.

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 with the action front-loaded and the observable effect second; every clause carries information and nothing is padded.

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, zero-return toggle, the description covers the essential contract: what it turns on and what the user will see. Only the toggle-off/statefulness and connection requirement are left out, which are minor for a tool this simple.

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 no parameter meaning for the description to add; baseline 4 applies. Nothing is misrepresented.

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?

States a specific verb (toggle) plus the exact resource (the debug paint overlay) and names the target platform (Flutter app). An agent can immediately distinguish it from siblings like inspect_widget or get_widget_tree, though the description does not explicitly name those alternatives.

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 second sentence ('Shows widget borders, padding, and alignment guides') implies the use case of diagnosing layout/padding problems, but there is no explicit statement of when to reach for this versus inspect_widget or get_widget_tree, and no mention of the prerequisite of an active app connection.

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