Skip to main content
Glama

Autolab Init

autolab_init

Initializes an Autonomous Lab project by creating state, paper template, working directories, and monitoring UI; if a project exists, warns and suggests resuming instead.

Instructions

Initialize an Autonomous Lab project.

Creates .autolab/ directory with state, profiles, and meeting log. Creates paper/ directory with LaTeX template. Creates working directories: data/, scripts/, figures/, results/. Opens the game-style monitoring UI in the browser.

If an existing project is found, returns a warning and suggests calling autolab_resume instead. Set force_new=True to overwrite.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "autolab_init"
  }
}

Input Schema

NameRequiredDescriptionDefault
ideaNoResearch project idea and context
titleNoPaper titleTITLE
domainNoProject domain: 'research' (default), 'software', 'consulting', 'legal', 'medical', or 'creative'. Controls role labels (e.g., PI/Trainee/Editor vs Tech Lead/Developer/Code Reviewer) and artifact names (Paper vs Pull Request vs Report).research
force_newNoForce fresh start even if project exists
project_directoryNoProject directory path.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.4

TDQS

A4.2/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden, and it does disclose the significant side effects: directory creation across multiple paths, a LaTeX template, and opening a browser UI. It also discloses overwrite semantics via force_new. It does not cover idempotency on partial state, permission requirements, or failure modes, which keeps it below a 5.

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?

Front-loaded one-line purpose followed by a scannable list of created artifacts and a closing conditional block. Every sentence conveys a distinct fact with no filler.

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 scaffolding tool with a rich output schema, the description covers what is created, the existing-project branch, and the override flag, which is enough to call it correctly. Minor gaps remain around behavior when a browser is unavailable and whether re-running without force_new mutates anything.

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?

Schema description coverage is 100% with defaults on all five parameters, so the baseline is 3. The description only adds meaning for one parameter (force_new=True overwrites), leaving idea, title, domain, and project_directory entirely to the schema.

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?

States a specific verb and resource ("Initialize an Autonomous Lab project") and then enumerates the exact artifacts produced: .autolab/, paper/, data/, scripts/, figures/, results/, and a browser UI. It explicitly contrasts itself with the sibling autolab_resume, so an agent can distinguish the two without opening either schema.

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?

Gives a clear trigger for the conditional path: an existing project yields a warning pointing to autolab_resume, and force_new=True overrides. It stops short of stating the inverse rule (use autolab_resume rather than init when continuing work) as direct agent guidance, but the routing information is present.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.