List PDLC sessions

pdlc.listReadsOnly looks things up; never changes your workspace.

What it does

Lists the PDLC sessions in the connected workspace, most recently updated first, up to 50. A PDLC session is an optional tracker of where a piece of work is in the loop: plan → write tests → code → verify → ship; project.initialize opens one. Returns count and sessions with id, state, planId, prdId (both currently always null) and updatedAt. Use it to find a sessionId you lost, then pass it to pdlc.status or the loop tools. Read-only; takes no parameters.

Ask your agent

You don’t call pdlc.list yourself. Say something like this to Claude Code, Cursor or another MCP-connected agent:

  • “What work sessions do I have open in Test Maze?”
  • “Find the session we started yesterday so we can pick it up again”

Inputs

None. The agent calls it with an empty object.

The MCP call

What the agent’s MCP client sends (placeholders in angle brackets):

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "pdlc.list",
    "arguments": {}
  }
}

Connect your agent

npx -y @testmaze/mcp init tmt_xxx
claude mcp add tm --scope project -- npx -y @testmaze/mcp

Create the token in your Test Maze workspace under Settings → MCP. Setup for Cursor, Cline, Gemini CLI and Codex CLI is shown there too.