Skip to main content
Glama

plan_next_slice

Parses dependency- and verification-annotated task lists to return the next unblocked task, helping agents choose the correct planning slice without manual checks.

Instructions

Parse task lists with dependencies ([after: T1]) and verify steps ([verify: ...]), returning the next unblocked task.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "tasksText": "<tasksText>"
    },
    "name": "plan_next_slice"
  }
}

Input Schema

NameRequiredDescriptionDefault
focusNooptional tag/module filter (e.g. "core", "verify")
tasksTextYesmarkdown task list with checkboxes (- [ ] / - [x])

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior2/5

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

No annotations, so the description carries the full behavioral burden, and it discloses only the dependency/verify syntax and the return concept. It says nothing about what happens when every task is blocked (empty result? error?), whether the task list is mutated or re-read each call, whether completed checkboxes are skipped, or what the returned task looks like. For a state-machine-ish tool with zero annotation coverage, that leaves significant blind spots.

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?

One sentence, front-loaded with the action and ending on the payoff. No filler and nothing to relocate.

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 two-parameter tool with full schema coverage and no output schema, the description covers the core contract: parse a checkbox list, honor dependency and verify markers, return one unblocked task. The remaining gap is the terminal/edge behavior when nothing is unblocked, which matters but is narrower than the basics it does cover.

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%, so the parameters themselves are already documented. The description does add genuinely useful syntax meaning for the tasksText payload ([after: T1], [verify: ...]) that the schema does not spell out, but it says nothing about the focus filter's effect on which task is selected, and the schema's own description of focus covers that adequately. Slightly above baseline, not clearly a 4.

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 concrete verb chain ("Parse... returning the next unblocked task") with a named resource (task lists) and its embedded syntax. An agent knows this returns a single next task rather than a plan or a check, though the description never contrasts it with plan_check or plan_brainstorm.

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 only implied by the return value ("next unblocked task"), which suggests calling it repeatedly to walk a plan. There is no explicit when-to-use, no precondition (does the list need to be created first?), and no routing to or away from sibling tools.

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