Skip to main content
Glama

aide_init

Initialize an AIDE development environment by creating structured configuration files through a guided, step-by-step process that respects user confirmation at each stage.

Instructions

Bootstrap the AIDE development environment into a project. Returns structured JSON for agent consumption — not prose.

The tool uses a two-call pattern for progressive disclosure:

First call (no category param): Returns a lightweight summary — every step with name, status (would-create/would-skip/exists), category, and filePath, but NO content fields. Also returns brainHints (vault candidates) and detected framework. Use this to understand what needs to be done.

Second call (with category param): The tool writes all would-create files directly to disk itself and returns a manifest — steps with filePath, status (created or exists), and name, but NO content. The agent never sees file content and never uses the Write tool for new files.

Exception — MCP steps: For MCP steps, the manifest includes prescription data (key name and entry object) so the agent can read the existing config, merge, and write. The tool never touches MCP config directly.

Exception — brain category: When calling with category=brain, also pass brainPath with the user-confirmed vault path. The tool creates the vault scaffold directories directly.

Exception — IDE VS Code steps: IDE steps that need external tooling (VS Code CLI) return instructions for the agent to execute, since those aren't simple file writes.

IMPORTANT — one-at-a-time wizard pattern using AskUserQuestion: Do NOT present a summary table of all categories. Do NOT offer "all" as an option. Do NOT ask conversational questions — use the AskUserQuestion tool with structured options at every pause point. Walk the user through ONE category at a time:

  1. Call without category first to get the metadata

  2. Present ONLY the detected framework — use AskUserQuestion with Yes/{alternatives} options. STOP.

  3. Present ONLY the first category with would-create steps — use AskUserQuestion with Yes/Skip options. STOP.

  4. If confirmed, call again with category=X (and brainPath when category is brain). The tool writes files and returns a manifest. Report what was created, then present the NEXT category with AskUserQuestion. STOP.

  5. Repeat step 4 for each remaining category in order: methodology, commands, agents, skills, mcp, brain, ide, readme

  6. For brain: use AskUserQuestion with brainHints as labeled options (user can pick Other for custom path). STOP.

  7. For MCP: use AskUserQuestion with Merge/Skip options. Merge the prescription entry into the existing config yourself (read → merge → write). STOP.

  8. For IDE: use AskUserQuestion with multiSelect for Zed/VS Code/Neither. STOP.

Each step is ONE AskUserQuestion → wait for selection → then proceed. Never show multiple categories at once. Never ask open-ended conversational questions.

Do NOT auto-apply steps without user confirmation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
frameworkNoForce a specific framework instead of auto-detecting. Use this when re-calling after the user confirms or overrides detection.
pathNoCustom project root path (defaults to server working directory)
categoryNoWrite all would-create files for this category to disk and return a manifest. Omit on the first call to get a metadata-only summary of all steps.
brainPathNoResolved brain vault path. Required when category=brain. The agent provides this after interviewing the user.
Behavior5/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 and excels. It details the tool's behavior extensively: the two-call pattern with different returns (lightweight summary vs. manifest), file handling (writes 'would-create' files directly, excludes 'content' fields), exceptions for MCP (provides 'prescription' data), brain (requires 'brainPath'), and IDE (returns instructions), and the strict wizard pattern with AskUserQuestion. This covers critical aspects like mutation (writing files), user interaction requirements, and output structure.

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

Conciseness3/5

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

The description is appropriately structured with clear sections (e.g., two-call pattern, exceptions, wizard pattern) and front-loaded key information. However, it is lengthy due to the complexity of the tool's behavior, with some redundancy (e.g., repeating 'Do NOT' prohibitions) and verbose step-by-step instructions. While necessary for clarity, it could be more streamlined without losing essential details.

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 high complexity (multi-step wizard, file writing, user interaction), no annotations, and no output schema, the description provides complete context. It thoroughly explains the tool's behavior, usage patterns, exceptions, and interaction model, ensuring an agent can correctly invoke it. The detailed guidance compensates for the lack of structured fields, making it fully adequate for the task.

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

Parameters4/5

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

The schema description coverage is 100%, providing a baseline of 3. The description adds significant value by explaining parameter usage in context: it clarifies that 'category' should be omitted on the first call and included on the second, specifies that 'brainPath' is required when 'category=brain' and obtained after user interview, and implies 'framework' is used for confirmation or override after detection. However, it doesn't detail 'path' beyond the schema's 'Custom project root path,' missing some contextual nuance.

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 explicitly states the tool's purpose: 'Bootstrap the AIDE development environment into a project.' It specifies the verb ('Bootstrap'), resource ('AIDE development environment'), and target ('project'), clearly distinguishing it from sibling tools like aide_discover, aide_scaffold, or aide_upgrade by focusing on initial environment setup rather than discovery, scaffolding, or upgrading.

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

Usage Guidelines5/5

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

The description provides explicit, detailed guidance on when and how to use this tool, including a two-call pattern (first without 'category' for metadata, second with 'category' for writing files), a step-by-step wizard pattern using AskUserQuestion, and specific exceptions for categories like MCP, brain, and IDE. It clearly distinguishes usage from alternatives by prohibiting actions like presenting summary tables, offering 'all' options, or auto-applying steps without confirmation.

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/aidemd-mcp/server'

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