Skip to main content
Glama

Import an existing app into App Factory

import_app

Adopt an already-built app as an App Factory project in maintenance mode: analyze the codebase, create an audit phase, and journal the baseline. Enables the improvement and fix loop.

Instructions

Adopt an already-built app as an App Factory project in maintenance mode: analyzes the codebase, creates the project (phase=audit) and journals the baseline. From there the improve/fix loop is: suggest_improvements -> make changes -> test_app -> run_audit -> deploy. All brain/journal/memory tools work on it like any other project.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
goalYesWhat the user wants: e.g. 'fix the login bug', 'modernize the UI', 'add payments'
appPathYesAbsolute path to the app's root folder
Behavior4/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 disclosure. It explicitly states that the tool analyzes the codebase, creates a project in phase=audit, journals the baseline, and places the project in maintenance mode. This goes beyond simply saying 'import' and gives meaningful behavioral context, though it does not discuss potential errors or reversibility.

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, front-loaded with the primary purpose. The second sentence efficiently conveys the resulting workflow. No wasted words.

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?

Given the tool's simplicity (2 parameters, no output schema), the description fully covers what happens on import, the resulting project state (maintenance mode, phase=audit), and the continuation workflow. Enough for an agent to select and invoke the tool correctly.

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?

The input schema provides 100% coverage with descriptions for both parameters (appPath and goal). The description does not add parameter-specific details beyond the schema, but the schema descriptions are sufficient, 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 clearly states the tool's action: 'Adopt an already-built app as an App Factory project in maintenance mode.' It specifies the resource (existing app) and the outcome (project creation with phase=audit), distinguishing it from other project-related tools like start_project.

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 gives clear context for when to use this tool: when you have an already-built app to adopt. It also outlines the downstream improve/fix loop, implying this tool is a prerequisite to suggest_improvements, test_app, etc. However, it does not explicitly contrast with alternative tools like start_project.

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/DPGS-oss/app-factory-mcp'

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