Skip to main content
Glama

Autolab Record

autolab_record

Records a completed lab turn by saving it to the meeting log, updating state, advancing iteration, and refreshing progress for the monitoring UI.

Instructions

Record a completed turn. Non-blocking — updates state and returns immediately.

The monitoring UI (opened by autolab_init) auto-refreshes to show progress. User feedback is optional and picked up in the next autolab_next call.

This tool:

  1. Saves the turn to meeting_log.md

  2. Updates state.json (advance iteration, flip role, store status)

  3. Compresses old meetings every 6 turns

Call this AFTER completing your role actions (as PI or Trainee).

CRITICAL LOOP PROTOCOL — you MUST follow the MANDATORY NEXT STEPS in the return message:

  • Normal turns: call lab_meeting, then autolab_next.

  • Submission/editorial: call autolab_editorial (blocks until editor acts).

  • NEVER stop. NEVER end your turn. The loop runs indefinitely.

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

Input Schema

NameRequiredDescriptionDefault
roleNoRole that just acted: 'pi' or 'trainee'
statusNoStatus: 'continue' or 'ready_for_review'continue
contentNoFull content of the turn (review, agenda, results, etc.)
summaryNoBrief summary of what was done this turn
progressNoPI overall project progress 0-100 (set only by PI)
project_directoryNoProject directory path.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.4

TDQS

A4.3/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 does well: it discloses that the call is non-blocking and returns immediately, that it writes to two named files, that compression runs every 6 turns, and that user feedback is deferred to the next autolab_next call. It stops short of covering failure modes, what happens if a turn is recorded twice, or what the 'MANDATORY NEXT STEPS' payload looks like.

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 core action and its side effects are front-loaded in the first line, and the numbered list is easy to scan. The all-caps loop protocol section is repetitious ('NEVER stop. NEVER end your turn.') and could be tightened, but it is purposeful emphasis in a loop-driving tool rather than 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?

An output schema exists, so the description is not obligated to explain return values, yet it helpfully points at the 'MANDATORY NEXT STEPS' in the response. For a six-parameter state-mutating tool it covers the essential workflow contract, with the only real gap being error or duplicate-record behavior.

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%, so every one of the six parameters is already documented in the schema, which sets the baseline at 3. The description adds contextual meaning for role and status by tying them to the PI/Trainee and submission workflows, but says nothing about progress (PI-only 0-100) or project_directory beyond what the schema already states.

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 gives a specific verb and resource ('Record a completed turn') and then enumerates exactly the three side effects: saving to meeting_log.md, updating state.json, and compressing old meetings every 6 turns. That level of specificity lets an agent distinguish it from autolab_next, lab_meeting, and autolab_editorial without opening any schema.

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 states the trigger explicitly ('Call this AFTER completing your role actions (as PI or Trainee)') and routes the agent to alternatives by condition: normal turns go to lab_meeting then autolab_next, while submission/editorial turns go to autolab_editorial. Both when-to-use and when-to-use-something-else are covered.

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