Skip to main content
Glama
peter14l

flutter-orchestrator

by peter14l

generate_and_run_flutter_tests

Generate and run Flutter unit, widget, and state management tests, including commands to execute them.

Instructions

Generates Flutter Unit tests, Widget tests with testWidgets, and Riverpod/Bloc state tests, along with test execution commands.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
testTypeNoType of test to generate.widget
classNameYesName of the Screen, Widget, or Controller to test (e.g. 'DashboardScreen', 'AuthController').
stateManagementNoState management system.riverpod
methodsOrWidgetsToTestNoList of methods or user interactions to test.
Behavior2/5

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

No annotations are present, so the description carries the full burden of behavioral disclosure. It discloses that the tool produces 'test execution commands' but does not clarify whether the tool actually runs the tests, despite the name 'generate_and_run_flutter_tests'; it also does not state side effects such as writing test files into the project or requiring an existing Flutter project.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single sentence of roughly 25 words that front-loads the core purpose and contains no filler. Brevity comes at a small cost, since two of the four testType enum values are missing from the prose, but the structure itself is efficient.

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

Completeness2/5

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

This is a moderate-complexity tool (4 params) with no annotations and no output schema, so the description must carry more weight. It leaves unclear what the agent actually receives (generated test code, commands, or both), whether files are modified, and when to prefer this tool over generate_flutter_golden_tests; it also fails to mention the golden/integration support present in the schema.

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%, so the schema already documents all four parameters, warranting the baseline of 3. The description adds minor flavor (testWidgets for widget tests, Riverpod/Bloc for state tests) but no per-parameter semantics beyond what the schema provides.

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 ('Generates') with concrete resources: Flutter unit tests, widget tests via testWidgets, Riverpod/Bloc state tests, and execution commands. However, it does not distinguish itself from the near-sibling generate_flutter_golden_tests, and it omits 'golden' and 'integration' from the prose even though both appear in the testType enum, so the stated scope under-covers the actual scope.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no when-to-use guidance, no exclusions, and names no alternatives. With generate_flutter_golden_tests as a direct sibling covering one of this tool's own enum values, an agent has no basis in the description alone to decide which test-generation tool to call.

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

Install Server

Other Tools

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/peter14l/flutter-agent-orchestrator'

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