Skip to main content
Glama
zafnz
by zafnz

flutter_analyze

Run static analysis on a Flutter project to surface errors, warnings, and info-level issues with file locations and rule names.

Instructions

Run static analysis on a Flutter project. Returns all errors, warnings, and info-level issues with file locations and rule names.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_dirYesPath to the Flutter project directory

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.2.5

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations provided, the description carries the disclosure burden. It clearly describes the behavior: static analysis is run and all errors, warnings, and info-level issues are returned with file locations and rule names. It does not mention side effects or prerequisites, but for a static analysis tool non-mutation is reasonably inferable.

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 sentences deliver the core purpose and output details with no filler. The main action is front-loaded and every word contributes value.

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

Completeness5/5

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

This is a simple one-parameter tool with no output schema, and the description adequately covers both what the tool does and what it returns. Nothing essential is missing for an agent to decide whether to invoke it.

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

Parameters3/5

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

Schema description coverage is 100%: project_dir is already documented as 'Path to the Flutter project directory'. The description does not add additional parameter nuance, so the baseline of 3 is appropriate.

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?

The description names a specific verb ('Run static analysis'), a specific resource ('a Flutter project'), and the output it produces. This clearly distinguishes it from siblings like flutter_test and flutter_run.

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 purpose implies when to use it: when code quality/static analysis results are needed. However, it does not explicitly state when to choose this over alternatives or mention any exclusions or prerequisites, so the guidance is only implied rather than direct.

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

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/zafnz/flutter-dev-mcp'

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