Skip to main content
Glama

moa_tower_boot

Boots the tower workspace for a git repo: validates repository state, writes namespace identity docs, and registers the tower roster entry with your orchestrator agent ID.

Instructions

Boot the tower workspace for a git repository: validates the repo (inside a git repo, ≥1 commit), writes the state + namespace identity docs to the shared board, and registers the tower roster entry (name "tower") with your orchestrator agent id. The tower_agent_id must belong to a spawned tower-orchestrator subagent — "main" is rejected (main is never the tower; boot first, then let the orchestrator drive plan/spawn/merge itself). Idempotent lifecycle: repeated boot while booted errors; teardown clears the namespace so boot works again. No .tower/ directory is created inside the repo — state lives in the board, worktrees live in a sibling -worktrees/ dir. Optional delegator_agent_id (M1): registers a roster entry {name:"delegator", kind:"delegator", agentId} — the delegation channel, which may ONLY call moa_tower_send addressed to the tower.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
baseNoBase branch for missions (default: the repo's current branch).
modeNoTower mode (default "branch"; "pr" is reserved for a future gh-backed mode).
repo_rootNoOptional alias for the same value as workspace (must resolve to the identical absolute path when provided); defaults to workspace.
workspaceYesThe absolute repo root (main checkout) this tower namespace anchors to. Required on every tower tool — the server cwd is never used as a fallback.
ci_commandNoOptional CI command (B2): moa_tower_ci runs it in each mission worktree and the merge gate turns hard (green ci/<branchSlug> record required) once set. Re-booting with ci_command is the idempotent configuration channel — it updates the repo doc instead of erroring.
tower_agent_idYesYour orchestrator agent id — the roster entry for the tower is registered with it. Must be the engine agent id of a spawned tower-orchestrator subagent; "main" is rejected outright (main is never the tower).
delegator_agent_idNoOptional delegator engine agent id (M1): registers the roster entry {name:"delegator", kind:"delegator", agentId}. A delegator may only call moa_tower_send addressed to the tower; every other tower tool rejects it.
Behavior5/5

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

With no annotations, the description carries full burden and acquits itself well. It discloses repo validation, board writes, roster registration, idempotency error behavior, directory layout (no .tower/, sibling worktrees), and delegator access restrictions. These are significant contextual behaviors beyond a simple 'boot' statement.

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?

The description is dense but each sentence contributes unique information: lifecycle, constraints, directory layout, delegation. It is front-loaded with the core purpose and follows with supporting details. Slightly long but no redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex tool with 7 parameters and no output schema, the description covers validation, side effects, lifecycle, directory layout, and parameter restrictions. It doesn't mention return values or success behavior, but that is not required given no output schema. A brief mention of prerequisites like moa_init might improve 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 coverage is 100%, so baseline is 3. The description adds meaningful nuance for tower_agent_id (must be a spawned subagent, 'main' rejected) and delegator_agent_id (only moa_tower_send). It also clarifies workspace/repo_root validation. However, it does not mention ci_command or mode, leaving schema descriptions to carry those.

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 verb 'Boot' and resource 'tower workspace for a git repository', then enumerates specific actions: validates repo, writes state docs, registers roster entry. This distinguishes it from sibling tools like moa_tower_plan or moa_tower_merge.

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?

It provides explicit when-to-use context: 'boot first, then let the orchestrator drive plan/spawn/merge itself'. It also gives when-not: repeated boot errors, 'main' is rejected, and mentions teardown clears the namespace for re-boot. This effectively guides tool selection and sequencing.

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/Yorha9e/moamcp'

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