Skip to main content
Glama

asksteps: publish a form, or get the link to publish it

asksteps_publish_form
Idempotent

Publishes a form or funnel — or, when the account has not authorised an agent to publish, returns the link where the user does it themselves. Requires "publish:write". Read the status: "confirmation_required" means NOTHING happened and you should hand over the url; "input_required" means you must ask the user for the fields listed in "missing" and call again; "published" means it is live at the returned url. NEVER invent a slug — it becomes a public address that stays in circulation. Ask the user. Publishing puts the form on the open internet, with the legal obligations that come with a public page; say so before you ask. Taking a form offline (publish = false) always works and needs no mandate.

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": {
      "form_id": "<form_id>"
    },
    "name": "asksteps_publish_form"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugNoThe path the form should live at, e.g. "kontakt". Ask the user; never make one up.
targetNoWhere to publish: "page" (a page on the asksteps platform, the usual choice) or "whitelabel" (the customer's own subdomain or domain). Defaults to "page".
confirmNoSet to true only AFTER the user has explicitly agreed. Without it nothing is switched.
form_idYesThe form or funnel id.
publishNotrue to publish (default), false to take it offline again.
visibilityNoWho may find it: "public" (listed and indexable), "unlisted" (only via the link) or "password". Ask the user.

Output Schema

NameRequiredDescriptionDefault
urlNoThe public address of the form once it is live, or the link where the user confirms the publication themselves.
noteYesOne sentence for the user. On "confirmation_required" make clear that nothing has been published yet.
statusYesOutcome. One of: "published" (it is live now), "unpublished" (taken offline), "input_required" (the mandate is there but something is missing — see missing), "confirmation_required" (no mandate: give the user the url and let them do it), "not_connected", "not_found", "not_allowed" (the mandate does not cover this channel), "rate_limited" (too many calls in the last minute — wait a minute), "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.
targetNoThe channel this answer is about: "page" (a page on the asksteps platform) or "whitelabel" (the customer's own subdomain or domain).
missingNoThe parameters you still have to supply, by name. Ask the user for each of them and call again with all of them plus confirm = true. Never invent a slug — it becomes a public address that stays in circulation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / status / description
      Previous value: -"Outcome. One of: \"published\" (it is live now), \"unpublished\" (taken offline), \"input_required\" (the mandate is there but something is missing — see missing), \"confirmation_required\" (no mandate: give the user the url and let them do it), \"not_connected\", \"not_found\", \"not_allowed\" (the mandate does not cover this channel), \"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."New value: +"Outcome. One of: \"published\" (it is live now), \"unpublished\" (taken offline), \"input_required\" (the mandate is there but something is missing — see missing), \"confirmation_required\" (no mandate: give the user the url and let them do it), \"not_connected\", \"not_found\", \"not_allowed\" (the mandate does not cover this channel), \"rate_limited\" (too many calls in the last minute — wait a minute), \"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."
  2. Changed1 schema field changed
    • changedOutput schema / properties / status / description
      Previous value: -"Outcome. One of: \"published\" (it is live now), \"unpublished\" (taken offline), \"input_required\" (the mandate is there but something is missing — see missing), \"confirmation_required\" (no mandate: give the user the url and let them do it), \"not_connected\", \"not_found\", \"not_allowed\" (the mandate does not cover this channel), \"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), \"owner_required\" (only the account owner may do this), \"mandate_required\" (the owner has not granted a mandate for this). The note then says what the user has to do."New value: +"Outcome. One of: \"published\" (it is live now), \"unpublished\" (taken offline), \"input_required\" (the mandate is there but something is missing — see missing), \"confirmation_required\" (no mandate: give the user the url and let them do it), \"not_connected\", \"not_found\", \"not_allowed\" (the mandate does not cover this channel), \"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."
  3. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and idempotentHint=true, so safety is partly covered, and the description adds real context: the 'publish:write' mandate requirement, the fact that publishing is public with legal obligations, and the hard rule never to invent a slug because it becomes a persistent public address. It does not discuss the response shape, but an output schema exists to carry that.

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 the core action and the fallback outcome, then status semantics, then the irreversible slug warning. Dense but almost every clause is actionable; the note on legal obligations of a public page is slightly tangential to the agent's mechanics but still informs how to advise the user.

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 six parameters, an output schema, and strong annotations, the description covers permissions, all three status outcomes, the user-confirmation gate, the slug hazard, and the offline path. Nothing an agent needs in order to call this safely is missing.

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 schema already defines slug, target, confirm, publish, and visibility — the baseline would be 3. The description still adds meaning by tying slug to a permanent public address and stressing that confirm requires explicit user agreement and that publish=false is the no-mandate path.

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?

Names a specific verb and resource ('Publishes a form or funnel') and immediately states the alternate outcome: returning a publish link when the account has not delegated publishing. This is clearly distinct from the create/update/get siblings, which do not put anything live.

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 explicit when-to-use and what-to-do-next guidance keyed on status: 'confirmation_required' means hand over the url, 'input_required' means collect the listed missing fields and retry, 'published' means it is live. It also routes the offline case (publish = false) and names the required scope.

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