Skip to main content
Glama

Close a plan step

plan_close_step

Closes the current step of a plan with its deliverable and one proof per checklist item, in checklist order. The server refuses, and lists exactly what is missing, when the deliverable is empty or a criterion has no proof; it also refuses any step other than the current one. A closed step never changes: to fix it, a correction step can be proposed as an amendment. Each closure is also saved as a memory in the plan's project. A phase completed by this closure waits for the user's validation. Refused by the server, with nothing saved: content containing a payment card number, an API key or private key, or a password.

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": {
      "plan_id": "<plan_id>",
      "step_id": "<step_id>",
      "deliverable": "<deliverable>",
      "proofs": "<proofs>"
    },
    "name": "plan_close_step"
  }
}

Input Schema

NameRequiredDescriptionDefault
proofsYes
plan_idYes
step_idYes
deliverableYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Adds substantial behavior beyond the annotations: refusal with an enumerated list of what is missing, immutability of a closed step, the memory side effect in the plan's project, and a secret-scanning rejection policy that saves nothing. It does not describe what a successful call returns (e.g. any identifier or created memory reference), and does not reconcile the 'never changes' wording with idempotentHint=false.

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 action and its payload contract, then layers refusal, immutability, side effects, and content policy. Dense but nearly every clause carries a distinct constraint; the final content-policy sentence is somewhat tacked on and could be merged with the refusal sentence.

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 non-idempotent mutation with no output schema and no documented params, it covers failure modes, irreversibility, and downstream effects well. The remaining gap is the success return value, which the agent cannot infer from any structured field.

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?

With 0% schema description coverage the description must carry all four parameters, and it does define the two non-obvious ones: deliverable must be non-empty, and proofs is one entry per checklist item in checklist order — a cardinality and ordering constraint the schema cannot express. It says little about plan_id versus step_id beyond the 'current step' concept.

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 ('Closes the current step of a plan') plus the exact payload shape required: a deliverable and one proof per checklist item in checklist order. The 'current step' scoping and the note that a fixed closure must go through an amendment make it distinguishable from the sibling amendment/validation tools.

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?

Gives an explicit when-to-use (closing the current step with deliverable and proofs), an explicit when-not (any step other than the current one is refused), and an alternative route for corrections (propose an amendment). It also names the follow-on condition that a completed phase waits for user validation.

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.

Resources