Skip to main content
Glama

Autolab Resume

autolab_resume

Restore an interrupted Autonomous Lab session after a crash or disconnect by loading saved state, reading recent logs, listing files, and opening monitoring UI so an agent can continue work.

Instructions

Resume an interrupted Autonomous Lab session.

Call this when the AI agent was disconnected, the process crashed, or a new conversation is started for an existing project.

This tool:

  1. Loads the full saved state (iteration, role, status, progress, editorial)

  2. Reads the last several meeting log entries to reconstruct context

  3. Lists all existing files (scripts, figures, paper sections)

  4. Opens the monitoring UI

  5. Returns a comprehensive briefing so the AI can continue seamlessly

After this returns, follow the MANDATORY NEXT STEPS to re-enter the loop.

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_resume"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_directoryNoProject directory path.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.4

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and largely meets it: it enumerates five concrete actions (loads saved state, reads meeting logs, lists files, opens the monitoring UI, returns a briefing). The mention of opening a UI is a useful side effect to disclose. It doesn't state whether the resume itself writes or mutates persisted state, nor what permissions are required, which are the notable gaps.

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 opening sentence is front-loaded and the numbered list is scannable. Most lines earn their place, though 'so the AI can continue seamlessly' and the vague capitalized 'MANDATORY NEXT STEPS' add little actionable information.

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?

An output schema exists, so return values needn't be explained, and the numbered behavior list covers the restore sequence well. What's missing is how resume relates to its siblings and whether persisted state is modified — minor gaps for a low-complexity, single-parameter tool.

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 coverage is 100% and the single parameter project_directory already has a description and a default of '.', so the schema does the work. The description never references the parameter, adding no meaning beyond it; per the rubric, a fully covered single parameter lands at baseline 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: 'Resume an interrupted Autonomous Lab session.' The trigger conditions (disconnect, crash, new conversation on an existing project) sharpen the scope, but the definition never names a sibling such as autolab_init or autolab_next, so the agent must infer the boundary between starting fresh and resuming.

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?

It gives clear when-to-use conditions — agent disconnected, process crashed, or a new conversation for an existing project — which is more than most tools offer. It stops short of explicit when-not guidance or naming the alternative to use for a brand-new project, so the exclusion is only implied.

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