Skip to main content
Glama

Progress of a plan

plan_status
Idempotent

Returns where each part of a plan stands (waiting, running, done, failed, yours, after yours, waiting for a yes) and the answers of the parts Leanfare finished.

Instructions

Returns where each part of a plan stands (waiting, running, done, failed, yours, after yours, waiting for a yes) and the answers of the parts Leanfare finished. Use it after plan or plan_run to collect answers: wait up to 50 seconds for running parts (it returns as soon as none runs). Each answer is also saved in the project's .leanfare/plans// (git ignores it). With no id it lists the plans Leanfare keeps (the last 20 and any still running, newest first: id, task, when made, parts done or running), to find a lost id; wait, peek and folder then do nothing. It marks the answers as taken unless peek is true. To stop parts use plan_stop.

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

Input Schema

NameRequiredDescriptionDefault
idNoThe plan's id, from plan. Leave it out to list the plans Leanfare keeps.
peekNotrue: only look, without taking the answers (Leanfare's plan card uses it).
waitNoSeconds to wait for the running parts to end before answering.
folderNoThe project folder to save the answers in. By default, the folder the MCP client started Leanfare in.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.15.5
    • changedInput schema / properties / id / description
      Previous value: -"The plan's id, from plan."New value: +"The plan's id, from plan. Leave it out to list the plans Leanfare keeps."
    • removedInput schema / required
      Removed value: -[
      -  "id"
      -]
  2. First observedv0.15.1

TDQS

A4.8/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: the 50-second wait returns early as soon as nothing is running, answers are persisted to .leanfare/plans/<id>/ (git-ignored), and answers are marked as taken unless peek is true — a side effect that explains why readOnlyHint is false. It also bounds the listing to the last 20 plus running plans, newest first, which the annotations say nothing about.

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 return value, then usage, then storage, then the no-id mode — a sensible priority order with no filler sentences. It is a dense run-on paragraph with several parentheticals, so a line break or two would improve scanability, but every clause carries 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?

There is no output schema, so the description must carry return-value semantics — and it does, spelling out both the per-part states and the answers, plus the listing payload fields (id, task, when made, parts done or running). For a 4-parameter tool with no output schema, nothing an agent needs before calling is missing.

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?

Schema coverage is 100%, so baseline is 3, but the description adds real meaning: wait returns as soon as none runs rather than blocking the full duration, peek suppresses the taken-marking consequence, and wait/peek/folder are inert when id is omitted. That last interaction rule is not derivable from the schema alone.

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?

States a specific verb and resource ("Returns where each part of a plan stands") and enumerates the exact state vocabulary (waiting, running, done, failed, yours, after yours, waiting for a yes), plus the secondary no-id listing mode. An agent can distinguish it from plan, plan_run and plan_stop without opening any schema.

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?

Explicit sequencing guidance ("Use it after plan or plan_run to collect answers"), an explicit alternate mode ("With no id it lists the plans ... to find a lost id"), and an explicit routing to a sibling for a different need ("To stop parts use plan_stop"). It even states when the wait/peek/folder params are inert.

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