Skip to main content
Glama
peter14l

flutter-orchestrator

by peter14l

scaffold_flutter_database

Generate an offline-first Drift (SQLite) database with type-safe table schemas, reactive DAOs, and schema migration routines.

Instructions

Scaffolds an offline-first type-safe Drift (SQLite) database with table schemas, DAOs with reactive streams, and schema version migration routines.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tablesNoDatabase tables and column definitions.
databaseNameYesName of the database (e.g. 'App', 'Expense', 'Commerce').
schemaVersionNoSchema version number.
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It explains what is generated (schemas, DAOs, migrations) but omits side effects such as file creation, potential overwrites, required project context, or any dependencies it may install. It also does not describe what happens on failure or how the agent should verify the result. The description lacks critical behavioral transparency for a scaffolding operation.

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?

The description is a single, focused sentence that front-loads the core purpose and deliverables. There is zero redundancy or filler; every word contributes to understanding the tool's function. It is an exemplary concise definition.

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?

Despite the schema covering all parameters, the tool is complex (generates multiple artifacts) and lacks an output schema. The description does not mention what the agent should expect after execution (e.g., file paths, generated code structure, potential side effects on the project). It also does not specify any required preconditions or integration steps, making it incomplete for an agent that needs to invoke and verify the scaffold.

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% with descriptions for databaseName and schemaVersion, and the tables parameter is described. The tool description mentions 'table schemas' and 'migration routines' which align with the parameters but does not add substantive detail beyond what the schema already provides. The baseline of 3 applies because the schema carries the semantic load effectively.

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 clearly states the verb 'Scaffolds' and the resource 'offline-first type-safe Drift (SQLite) database' with specific deliverables: table schemas, DAOs with reactive streams, and schema version migration routines. This distinguishes it from sibling scaffolding tools like scaffold_flutter_backend or scaffold_flutter_auth_flow, which target different subsystems.

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 guidance on when to use this tool versus alternatives. It does not mention prerequisites (e.g., a Flutter project), scenarios where it should be avoided, or exclusions (e.g., if a backend database is needed). The agent must infer usage solely from the tool name and description.

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