Skip to main content
Glama

plan_next

Activates the next pending plan step and returns its ID and text, while rejecting a new step if a lock is already active.

Instructions

Activate the next pending plan step ([~]) and return it.

Returns: The ID and text of the next step; an error message if a lock is already active or the plan file is missing; 'PLAN_DONE' when all steps are done.

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": "plan_next"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does meaningful work: it discloses a state mutation (activation/locking), the failure conditions (lock already active, plan file missing), and a sentinel return ('PLAN_DONE'). It does not explain whether activation is reversible, how the lock is released, or what happens on repeated calls, which keeps it from 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight sentences with the action front-loaded and the outcomes grouped under a clear 'Returns:' heading. The phrase 'and return it' is mildly redundant with the Returns block, a minor bit of waste in an otherwise efficient definition.

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?

For a zero-parameter state-mutating tool with an output schema that documents the response shape, the description supplies exactly the missing behavioral layer: activation semantics, error conditions, and the terminal sentinel. Nothing an agent needs in order to call it correctly is absent.

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?

The tool takes zero parameters, so parameter semantics baseline to 4; the description correctly adds no parameter claims and the empty schema is fully self-consistent with the no-argument design.

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?

The description uses a specific verb and resource — 'Activate the next pending plan step ([~]) and return it' — including the literal marker syntax, which lets an agent distinguish it from plan_done/plan_fail/plan_create without opening a schema. It stops short of explicitly naming which sibling to use instead, so it is not a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied: calling this advances the plan by pulling the next pending step, and the fallback 'PLAN_DONE' signals exhaustion. However, there is no explicit statement of when to call it versus plan_done or plan_fail, and no prerequisites or ordering guidance (e.g., that an activated step must later be closed out).

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

Deploy Server

Other Tools