Skip to main content
Glama

Autolab Editorial

autolab_editorial

Waits for the editor to act on a submitted manuscript or completed reviews, blocking until an editorial decision is made or the timeout expires.

Instructions

Wait for the Editor (user) to act on the submitted manuscript.

Call this in two scenarios:

  1. After PI submits a manuscript (autolab_record with status='ready_for_review'). Waits for the editor to either Desk Reject or Invite Reviewers.

  2. After all reviewer reports are complete. Waits for the editor to make a final decision (Accept/Minor/Major/Reject).

This tool BLOCKS until the editor acts OR the configured timeout expires (default 30 min, configurable via editor_timeout_minutes in config.yaml, set to 0 to wait forever). When timeout expires, returns an AI Editor prompt — you must then act as editor and call autolab_editor_act.

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

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

A4.4/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: it discloses that the call BLOCKS, the default 30-minute timeout, the config key editor_timeout_minutes, and the set-to-0 infinite-wait escape hatch. Minor gaps remain about behavior if invoked in an invalid state (e.g. before submission), but the core behavioral profile is unusually well covered.

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?

Front-loads the core action in one sentence, then uses a short numbered list for the two scenarios and a final sentence for timeout behavior. Slightly verbose in restating configuration mechanics, but every clause carries actionable information.

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?

An output schema exists, so return-value detail is not required, and the description still explains the two qualitatively different return modes (editor acted vs. timeout prompt). For a blocking orchestration tool with one trivial parameter, nothing an agent needs in order to call it correctly is missing.

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?

There is a single optional parameter with 100% schema description coverage, so the schema already documents it and the description adds nothing further about project_directory semantics. Baseline 3 applies when the schema does the heavy lifting.

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?

Names a specific action (block and wait for the Editor) on a specific resource (the submitted manuscript), and enumerates the two exact pipeline states that precede it. The agent can distinguish this from autolab_editor_act, which the description explicitly names as the follow-up tool.

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?

Gives explicit when-to-use conditions as two numbered scenarios: after autolab_record returns status='ready_for_review', and after all reviewer reports complete. It also states the fallback path (call autolab_editor_act when the timeout fires), leaving no routing ambiguity.

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