Skip to main content
Glama

asksteps: replace the building blocks and transitions of a process

asksteps_update_process
Idempotent

Changes a process of the connected asksteps account. Requires "automation:write". IMPORTANT: this REPLACES the building blocks and transitions completely — every block and transition you do not send is gone, together with the state it holds in open cases. Call asksteps_get_process first, change what the user asked for and send the result back whole. A block sent back with the key it was read with keeps its identity, position and open-case state; workflows assigned in the studio are never touched. A draft can be changed freely. An ACTIVE or PAUSED process can only be changed with the account's mandate "activate" (a paused process keeps sending for open cases): without it the answer is "confirmation_required", NOTHING was written, and you hand the user the url. An active process also refuses structural changes ("pause_required"), and changing portModes counts as one; name, description and labels still work. An exit whose mode you leave out of portModes keeps its stored mode. A fixed recipient address cannot be set; it is kept on the block it was on. An API request block (kind "api") keeps its stored settings when sent back with its key; it cannot be added and its settings cannot be set (api_part_studio_only).

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>",
      "spec": "<spec>"
    },
    "name": "asksteps_update_process"
  }
}

Input Schema

NameRequiredDescriptionDefault
specYesThe complete new process. Anything omitted is deleted.
process_idYesThe process id, as returned by asksteps_list_processes or asksteps_get_process.

Output Schema

NameRequiredDescriptionDefault
urlNoPath of the process editor in the asksteps studio. Hand it to the user; a process created here shows its blocks laid out when the studio opens it.
noteYesOne or two sentences for the user. On "confirmation_required" and "pause_required" it says why.
usedNoHow many the account holds. Only on "quota_exceeded".
limitNoThe plan limit. Only on "quota_exceeded".
issuesNoThe problems found, with path and code. Empty unless status is "invalid".
statusYesOutcome. One of: "created" (a draft exists, nothing is switched on), "updated", "invalid" (the issues say exactly what to fix; nothing was saved), "quota_exceeded" (the account holds as many processes as its plan allows), "pause_required" (the process is active and this change touches its structure — it can only be made while the process is paused), "confirmation_required" (the process is active or paused and the account has not authorised an agent to change it: NOTHING was written, give the user the url), "stale" (the process was switched on, paused or otherwise changed in status since you read it: NOTHING was written, read it again), "rate_limited" (too many changes to live objects in the last minute), "not_found", "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.
quotaKeyNoThe limit that was reached, for example "processes.max". Only on "quota_exceeded".
processIdNoThe id of the process.
processStatusNoThe status of the process after the call: "draft", "active" or "paused". A created process is always "draft".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / spec / properties / parts / items / properties / portModes
      Added value: +{
      +  "additionalProperties": {
      +    "type": "string"
      +  },
      +  "description": "How each exit of this block chooses among its transitions, by port name: \"first\" = the first transition in order whose condition matches wins, a transition without condition is the fallback (\"otherwise\") and must come last; \"all\" = every transition whose condition matches is taken, a transition without condition is always taken (\"always\"); if one of the chosen transitions leads to an end block, only that one is taken. Read: the effective mode of every exit that has transitions. Write: omit an exit to keep its stored mode; a new exit without a value is \"all\", except when its transitions mix one without and others with a condition, then it is \"first\". Any other value is rejected (process_port_mode_invalid).",
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
  2. Added

TDQS

A4/5.0
Behavior1/5

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

The annotations say destructiveHint=false, but the description explicitly says omitted blocks and transitions are removed together with the state they hold in open cases. That is destructive behavior, so the description contradicts the annotation and requires a score of 1 per the rules.

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 key replacement warning and then proceeds through operational caveats in a logical order. It is dense and mostly earns its length given the tool's complexity, but the single-paragraph wall of conditional rules reduces readability.

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 complex destructive-replacement mutation, the description covers the essential context: read-before-write behavior, full replacement, key-based identity retention, open-case state loss, active/paused mandates, structural restrictions, portModes behavior, fixed address handling, and API-block limitations. An output schema exists, so return-value details need not be repeated.

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 description coverage is 100%, so the baseline is 3, but the description adds cross-parameter meaning: the spec is a complete replacement, omitted parts are deleted, and the agent should read via asksteps_get_process and resend the whole spec. It also reinforces stored-key identity and portModes omission behavior, though much of this is already documented in the schema.

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 verb and resource: it changes a process in the connected asksteps account and explicitly replaces its building blocks and transitions. It also distinguishes the intended workflow from asksteps_get_process by instructing the agent to read first and send the whole changed process back.

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?

It gives explicit operating guidance: call asksteps_get_process first, change only what the user asked for, and send the full result back. It also names the conditions for active or paused processes, the activate mandate, the confirmation_required and pause_required outcomes, and structural-change restrictions.

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