Skip to main content
Glama

get_work_plan_waves

Read-only

Computes the WAVES of the work plans: the layering of the live plans along their plan-to-plan dependencies (wave 0 has no unsettled plan prerequisite). A wave is NOT readiness: a plan can sit in wave 0 and still be blocked by an open task prerequisite, so each plan carries its readiness and blockedBy, and parallelNow lists the plans of the wave that are ready. blocked lists the plans held out of the waves (a cancelled prerequisite that is not lifted, or a plan that waits for one); cycle lists the plans caught in a loop — the read ends, it never fails. execution (gatesClaims: true) says the EXECUTION GATE is live: the tasks that carry this plan's label are handed out by claim_task and list_tasks({ executable: true }) only while the plan is pret or en-cours, has no blocking dependency, no other identity leads it under a live claim and the task itself is refined; otherwise claim_task refuses them with plan-not-ready and planGate. Tasks without a plan label are unaffected. It is guidance for the claim protocol, not a lock. An edge whose prerequisite is a DOCUMENT is never read as settled (the validation of documents is not read yet): an existing document reads open (blocking, reason document-not-read), a deleted one target-missing; the response carries limits when it applies. A work plan is a named list of tasks (a sprint, an MVP milestone): NOT the planning tool propose_plan, NOT a canvas dependency link between blocks. A task belongs to a plan by the label plan: followed by the plan code; progress, refinement and readiness are COMPUTED at read time and not stored. An ARCHIVED prerequisite that was not done BLOCKS (target-archived), here and in claim_task / executable alike, until a human lifts it through a decided arbitration. Modifies nothing.

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

Input Schema

NameRequiredDescriptionDefault
versionNoFilters the OUTPUT to the plans of this version; the layering accounts for every live plan.
includeBrouillonNoWhether the output includes the plans in `brouillon` (default: true). The layering itself always accounts for every live plan.
expectedProjectIdNoUUID of the project THIS call targets (overrides the session project).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."New value: +"UUID of the project THIS call targets (overrides the session project)."
  2. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."New value: +"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."
  3. Added

TDQS

A3.8/5.0
Behavior5/5

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

Annotations only cover the read-only/no-destructive safety profile, and the description adds substantial behavior beyond that: the read terminates on cycles and never fails, `blocked`/`cycle`/`limits` response sections, how document prerequisites are treated as unsettled, and how archived prerequisites block across `claim_task` and `executable`. It also discloses the downstream effect that `claim_task` refuses gated tasks with `plan-not-ready` and `planGate`.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

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

The definition is a single ~350-word paragraph with no headings or line breaks, mixing purpose, output semantics, gating rules, document-edge behavior, and archived-prerequisite rules. The purpose is front-loaded, but the density and lack of structure make it hard to scan for a tool with only three optional parameters.

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?

Despite having no output schema, the description explains the response fields (`readiness`, `blockedBy`, `parallelNow`, `blocked`, `cycle`, `execution`, `limits`) and the edge cases that produce them. For a computed read tool with subtle dependency semantics, an agent has enough to interpret results correctly.

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 the three parameters are already documented in the schema. The description adds only indirect context ('the layering accounts for every live plan', 'the response carries `limits` when it applies') and never explains the `version` or `expectedProjectId` filters, so the baseline 3 applies.

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 opening clause gives a specific verb and resource: 'Computes the WAVES of the work plans: the layering of the live plans along their plan-to-plan dependencies.' It also explicitly rules out confusions ('NOT the planning tool `propose_plan`, NOT a canvas dependency link'), but those differentiators are buried deep in the paragraph rather than near the purpose statement, so the core identity takes work to extract.

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?

The description clarifies what a wave is NOT (readiness) and ties the tool to the claim protocol (`claim_task`, `list_tasks({ executable: true })`), which implies usage context. However, it never states directly when an agent should call this tool versus `get_work_plan`, `get_work_plan_resume`, or `list_work_plans`; the guidance is inferable rather than explicit.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.