Skip to main content
Glama
MarwanDevSpace

mcp-flutter-apk-injector

synthesize_flutter_payload

synthesize_flutter_payload

Compile a Flutter project and extract runtime artifacts (libflutter.so, libapp.so, flutter_assets, ICU data) into a payload directory ready for APK injection.

Instructions

Compile a source Flutter project and extract the runtime artifacts required for injection: libflutter.so (Flutter engine), libapp.so (Dart AOT snapshot), the flutter_assets bundle, and ICU data. Produces a payload directory ready to merge into a decompiled APK workspace.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
buildModeNorelease
outputDirNoOverride payload output directory
targetAbisNo
flutterProjectPathYes
Behavior3/5

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

With no annotations provided, the description carries the burden of disclosing behavior. It discloses that the tool compiles and extracts, and names the artifacts, but omits prerequisites (e.g., Flutter SDK), potential side effects (e.g., long build time, disk usage), and error conditions. This is moderate transparency—some behavior is explained, but significant details are missing.

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 two sentences with no filler. It front-loads the action and lists outputs efficiently. Every sentence provides essential information, making it concise and well-structured.

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 complex (build + extraction), but there is no output schema or annotations. The description covers the core purpose and output state, but does not mention what the tool returns (e.g., a path to the payload directory), failure modes, or environmental dependencies. It is minimally complete for a pipeline tool but leaves gaps in preconditions and return semantics.

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

Parameters2/5

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

Schema description coverage is only 25% (only outputDir has a description). The tool description does not elaborate on any parameter, so the agent must rely on parameter names and enums. It does not explain what flutterProjectPath should point to, how buildMode affects output, or the meaning of targetAbis. This is insufficient compensation for the low coverage.

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 tool's function: compiling a Flutter project and extracting specific runtime artifacts (libflutter.so, libapp.so, flutter_assets, ICU data). The verb 'compile' and resource 'source Flutter project' are specific, and the listed artifacts distinguish it from sibling tools like inject_flutter_runtime_and_smali which injects, not synthesizes.

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 says the output is 'ready to merge into a decompiled APK workspace,' which gives clear context of when to use it (before injection in the pipeline). It doesn't explicitly mention when not to use it or alternatives, but the context is unambiguous and implied by the tool's role among siblings.

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/MarwanDevSpace/mcp-flutter-apk-injector'

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