Skip to main content
Glama
peter14l

flutter-orchestrator

by peter14l

generate_flutter_api_bridge

Generate Flutter API client contracts with Dio REST client, JSON DTOs, Riverpod providers, and WebSocket subscriptions. Define service models and endpoints to scaffold all networking code.

Instructions

Generates full-stack Flutter API client contracts: Dio REST client, JSON DTOs, Riverpod providers, and WebSocket realtime subscription providers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelsNo
baseUrlNoBase API URL.https://api.example.com
endpointsNo
serviceNameYesName of the API service (e.g. 'Order', 'Product', 'User').
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses what is generated (four artifacts), which is helpful for an agent to infer the side effects (code generation, no destructive operations). However, it does not clarify whether the tool overwrites existing files, whether it requires a specific project structure, or whether it generates code in-place. This is a minor gap but not misleading.

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 that is concise and front-loaded with the main verb and object, then lists deliverables. No wasted words. It could benefit from breaking into two sentences to separate the purpose from the deliverables, but it is appropriately short for the information conveyed.

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?

The tool is moderately complex (4 parameters with nested structures) and has no output schema or annotations. The description explains the overall output but does not explain required inputs (e.g., that models and endpoints are optional or how they are used), nor does it clarify return behavior (e.g., does it write files, return code?). For a code-generation tool, this is a clear gap, but the core purpose is clear enough for a simple use case.

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 50% (serviceName and baseUrl have descriptions, but models and endpoints do not). The description adds little about parameters beyond the overall purpose. It does not explain how models and endpoints relate to the generation, forcing the agent to infer from names. The coverage is moderate, so the description could have compensated more, but the basic intent is inferable.

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 specific action (Generates) and the resource (full-stack Flutter API client contracts), listing four concrete deliverables (Dio REST client, JSON DTOs, Riverpod providers, WebSocket realtime subscription providers). This distinguishes it from sibling tools like scaffold_flutter_backend or generate_flutter_mock_factory, though it does not explicitly name an alternative.

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

Usage Guidelines4/5

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

The description implies use when needing a full-stack Flutter API integration, but it does not explicitly state when not to use it or mention alternatives. Given the sibling tools (e.g., generate_flutter_mock_factory for mocks, scaffold_flutter_backend for backend scaffolding), the description could be more explicit about selection criteria, but the output specifics are clear enough.

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