Skip to main content
Glama

asksteps: switch a process on or pause it (needs the account's mandate)

asksteps_set_process_active
Idempotent

Switches a process on (active = true) or pauses it (active = false). Requires "automation:write". Both directions need the account's mandate "activate" (granted by the account owner in the studio under AI agents) and work in three steps: without the mandate the answer is "confirmation_required" with the studio link and NOTHING happens — hand the user the url; with the mandate and without confirm the answer is "input_required" with the findings and what the switch does — read it to the user and ask; only with confirm = true it is carried out, and the account owner is emailed about it. Switching on makes the process start for every new submission and lets email reach visitors; pausing stops new cases but running cases keep going. "invalid" lists the checks that failed.

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": {
      "process_id": "<process_id>",
      "active": "<active>"
    },
    "name": "asksteps_set_process_active"
  }
}

Input Schema

NameRequiredDescriptionDefault
activeYestrue to switch on, false to pause.
confirmNoSet to true only AFTER the user has explicitly agreed. Without it nothing is switched.
process_idYesThe process id.

Output Schema

NameRequiredDescriptionDefault
urlNoPath of the process in the asksteps studio, where the user does it themselves.
noteYesOne or two sentences for the user. On "input_required" it says what the switch does and how many findings there are.
issuesNoThe findings that block (or would block) switching on, with path and code.
statusYesOutcome. One of: "activated", "paused", "unchanged" (already in that state), "input_required" (the mandate is there; read note and issues, ask the user and call again with confirm = true), "confirmation_required" (the account has not authorised an agent to do this: NOTHING happened, give the user the url), "invalid" (the checks failed; see issues), "not_found", "rate_limited", "not_connected", "error". Authorisation can also refuse before the tool runs: "plan_required" (the account's plan does not include agent access), "not_enabled" (the account owner has not switched agent access on), "permission_denied" (the connected user's role lacks the permission; the note names it), "mandate_required" (the owner has not granted a mandate for this). The note then says what the user has to do.
missingNoThe parameters you still have to supply: ["confirm"] on "input_required".
processIdNoThe id of the process.
processStatusNoThe status of the process after the call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the supplied annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false, openWorldHint=true), the description discloses the required authorization/mandate, the three-step confirmation protocol, the exact response states (confirmation_required, input_required, invalid), and the side effect that the account owner is emailed when the switch is carried out. It also clarifies that pausing does not stop already-running cases, which is important for a mutation.

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-loaded with purpose, then permissions/mandate, then the step-by-step response handling, then effects — a logical order with no filler. It is dense and a few clauses run long (the three-step sentence packs several conditions), but every sentence carries operational 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?

For a mutation tool with an output schema, the definition supplies everything an agent needs: authorization prerequisites, the interactive confirmation protocol, response-state handling, and the real-world effects of each direction. Nothing material is left for the agent to infer.

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 meaning beyond the field docs: it ties `active` to concrete downstream effects and situates `confirm` in the mandate/confirmation workflow rather than merely repeating the schema's note to set it after agreement. It does not cover `process_id` beyond the schema, which is the only minor gap.

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 opens with a specific verb and resource plus both directions and their boolean encoding: "Switches a process on (active = true) or pauses it (active = false)." It also states the concrete effects (starts the process for every new submission, lets email reach visitors; pausing stops new cases while running cases continue), so an agent knows exactly what this does versus a generic process update.

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 when/when-not guidance: the tool requires the "automation:write" scope and the account mandate "activate", and without the mandate nothing happens — instead hand the user the studio url. It further routes the agent through the confirm flow (read the findings to the user and ask, only then pass confirm = true) and tells it what "invalid" means.

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