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.

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.8/5.0
Behavior5/5

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

Annotations only declare non-readonly/non-idempotent/non-destructive, but the description adds rich behavior: nothing runs automatically, approved steps run once within a 2-hour window, non-approval steps just run, and a changed step requires re-approval. It also describes the response shape (which steps need approval plus one user link), well beyond what the structured fields convey.

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 trigger condition is front-loaded and each sentence carries real information about the approval lifecycle. It is dense but slightly long, with parameter semantics embedded mid-paragraph rather than cleanly separated, costing it a perfect score.

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?

With no output schema, the description still explains what the answer returns (approval-needed steps and a link). For a tool that only proposes rather than executes, the lifecycle, timing window, and re-approval rules make it complete for correct invocation.

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?

The description explains the steps array structure ({tool, args, why}), clarifies that 'why' is one plain sentence for the user, and that args must match later invocations — meaningful semantics beyond the schema. However, it omits the 'title' and 'server' parameters, and its tool enum list drops 'site_console' which the schema includes, so coverage (67%) is not fully compensated.

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?

The description states a specific action (list the exact calls and ask for approval once) and scope (jobs with several risky steps), with concrete examples of risky operations (deleting folders, dropping tables, firewall changes). An agent can distinguish this batching/approval tool from per-step execution siblings like run, start_job, and 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 Guidelines5/5

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

Explicit trigger is given ('When a job has several risky steps... ask for the user's approval once, instead of stopping at each one'), which also names the alternative behavior (per-step approval). The post-approval workflow ('make each call exactly as written') is spelled out, leaving no inference about when to choose this path.

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