Skip to main content
Glama

maid_init

Sets up MAID project directory structure and configuration. Run once to initialize a new project or add MAID support to an existing codebase.

Instructions

Initialize a MAID project using MAID Runner.

When to use:

  • Starting a new project: Set up MAID directory structure

  • Onboarding existing project: Add MAID support to existing codebase

  • Resetting: Use force=True to reinitialize

What it creates:

  • manifests/ directory for task manifests

  • .maid/ directory for MAID configuration

  • Basic MAID project structure

Tips:

  • Run once at project setup

  • Use force=True only if you need to reset MAID configuration

Args: target_dir: Directory to initialize (defaults to current directory) force: Whether to force initialization even if already initialized

Returns: InitResult with initialization outcome

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
target_dirNo.
forceNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
successYes
target_dirYes
errorsYes
Behavior4/5

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

With no annotations, the description fully handles behavioral disclosure, detailing what it creates (directories), tips (run once), and return type. Could expand on potential side effects of force=True.

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 well-structured with clear sections, concise sentences, and no redundant information. Every sentence adds value.

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?

Despite no annotations and a low schema coverage, the description covers purpose, usage, effects, parameters, and return type comprehensively. Output schema exists but its absence in the prompt doesn't reduce completeness.

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?

Schema description coverage is 0%, but the description adds meaningful explanations for both parameters (target_dir, force) beyond the schema's defaults and types, aiding correct invocation.

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 initializes a MAID project, listing its verb-init, resource-project, and scope. It distinguishes from siblings by focusing on initialization vs. file listing or validation.

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?

Provides explicit when-to-use scenarios (starting new project, onboarding, resetting) and when to use force=True. However, it doesn't explicitly mention when NOT to use it or compare with sibling tools.

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/mamertofabian/maid-runner-mcp'

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