Skip to main content
Glama

Ask approval for a plan

propose_plan

When a job has several risky steps (deleting folders, dropping tables, changing SSH or closing access in the firewall, a reboot), list the exact calls you mean to make and ask for the user's approval once, instead of stopping at each one. steps: [{tool, args, why}] with tool one of run, start_job, write_file, db_query, magento, wp, rollback and args exactly as you will pass them later; why is one plain sentence for the user. The answer says which steps need approval and gives one link for the user. After they approve, make each call exactly as written (an approved step runs once, within 2 hours); steps that need no approval just run. Nothing in a plan runs by itself, and a changed step needs a new approval.

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": {
      "steps": "<steps>"
    },
    "name": "propose_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
stepsYes
titleNoWhat the plan achieves, in a few words, like: Remove the old shop and its database.
serverNoServer name or id. Optional when the account has one server.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

The description discloses important behavior beyond the annotations: the plan itself does not run automatically, the answer indicates which steps need approval and gives one link, an approved step runs once within two hours, and a changed step requires a new approval. These details are substantial for a non-read-only, open-world, non-idempotent tool.

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?

The description is front-loaded with the main use case and approval workflow, and most sentences carry useful operational detail. It is somewhat dense and long, with parenthetical examples, but it avoids unnecessary filler.

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?

The definition covers the approval workflow, return behavior, timing, and step structure well enough for an agent to use it. Remaining gaps are the incomplete tool enum and the absence of explicit routing guidance relative to wait_for_approval.

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?

The description adds useful meaning for the required steps array, including the tool/args/why structure and the instruction that args must match later calls exactly. However, its tool list omits site_console, which appears in the schema enum, and it does not mention the optional title and server parameters even though the schema documents them.

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 description clearly states the verb and resource: list planned calls and ask for user approval once before executing risky steps. It distinguishes this from stopping at each risky step individually, but does not explicitly differentiate from the sibling tool wait_for_approval.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a clear use case: when a job contains several risky steps such as deleting folders, dropping tables, changing SSH, firewall changes, or reboot. It implies alternatives by contrasting with stopping at each step and notes that steps needing no approval just run, but it does not explicitly say when not to use it or name wait_for_approval as an alternative.

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