Skip to main content
Glama

Publish HelpCenter Change Set

helpcenter_publish_change_set
Destructive

Release a change set: publish every item in it together — now, or at a scheduled time.

A change set is a named release. It groups work that already exists — staged edits on published articles, never-published draft articles, and category visibility changes — and publishes all of it together, now or at a scheduled time. It owns no content: removing an item or deleting the set never deletes the work, which simply stays unreleased.

Use one when several articles have to go live at the same moment — a feature launch, a restructure, a coordinated translation. For one article, helpcenter_publish_staged_changes (or publishing a draft with helpcenter_update_article) is simpler. The flow: stage edits with helpcenter_stage_article_changes, or write drafts with helpcenter_create_article and published: false -> helpcenter_create_change_set -> helpcenter_add_change_set_items -> check readiness with helpcenter_get_change_set -> helpcenter_publish_change_set -> poll helpcenter_get_change_set_status until done.

Change sets are part of the Catalyst plan, behind the same gate as staged changes; on other plans the API answers 402.

ACCEPTED IS NOT DONE. The API answers 202 either way:

  • status 'queued': publishing has started in the background. The articles are NOT necessarily live yet — poll helpcenter_get_change_set_status until done is true, then read each item's outcome.

  • status 'scheduled' (you passed scheduled_for): the release is armed and nothing is live yet. Calling this again with another time moves it; helpcenter_unschedule_change_set cancels it.

Before accepting, the API checks readiness; if anything blocks the release it refuses with 422 listing the blockers, and nothing is published. Check with helpcenter_get_change_set first.

Everything in the set becomes visible to readers at once. Each staged edit archives the live version it replaces, so a single article can be rolled back afterwards with helpcenter_restore_article_version.

Requires a write-scoped API key.

Args:

  • change_set_id (number, required).

  • scheduled_for (string, optional): a future time, ISO 8601 WITH a timezone, e.g. '2026-10-01T09:00:00Z'. Omit to publish now.

  • release_note (string, optional): the release's own label, up to 500 characters, shown with the change set.

  • change_note (string, optional, up to 2,000 characters): why these edits go live now, in a sentence or two of plain text. TEAM-ONLY: the team reads it beside the edit in the dashboard's Overview; it is never in a response, a webhook, search, or anything a reader sees. Recorded on every article the release changes; with scheduled_for it is kept with the schedule and recorded when the release runs. Give one whenever you change content.

  • change_refs (array, optional, at most 5): links to what asked for the change — a ticket, a pull request, a release note — each { label (up to 80 characters), url (https on a public host name; not an IP address or localhost, no user:password@) }. Team-only, like change_note.

Returns (HTTP 202): { status: "queued", change_set, status_url } or { status: "scheduled", change_set }.

Errors: 402 if the plan does not include change sets; 403 if the key is read-scoped; 409 CHANGE_SET_NOT_OPEN if it is already publishing or published; 422 if it is empty, has blockers, or scheduled_for is in the past. A change_note or change_refs the API refuses (too long, too many links, a url that is not https on a public host) refuses the whole call, and nothing is written.

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": {
      "change_set_id": "<change_set_id>"
    },
    "name": "helpcenter_publish_change_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
site_idNoWhich help center to act on: an id from helpcenter_list_sites. Needed when this connection reaches more than one help center; omit it when it reaches one. Applies to this call only — pass it on every call of a task, and ask the user which help center they mean if their request does not say.
change_noteNoWhy you are making this change, in a sentence or two of plain text, up to 2,000 characters, e.g. "Pro plan renamed Growth in the 4.2 pricing." TEAM-ONLY: kept beside the edit in the dashboard's Overview, never in an API response, a webhook, search or anything a reader sees. Give one whenever you change content.
change_refsNoUp to 5 links to what asked for this change — a ticket, a pull request, a release note — each { label, url }. Team-only, like change_note.
release_noteNoThe release's own label, up to 500 characters, shown with the change set. Not change_note, which is the team-only reason kept on each article the release changes.
change_set_idYesId of the change set.
scheduled_forNoPublish at this future time instead of now: ISO 8601 WITH a timezone, e.g. '2026-10-01T09:00:00Z' or '2026-10-01T09:00:00+02:00'. Omit to publish immediately.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Goes well beyond the annotations (destructiveHint=true, idempotentHint=false, openWorldHint=true) by explaining the 202 semantics — 'ACCEPTED IS NOT DONE' — distinguishing 'queued' from 'scheduled', warning that nothing is live until polling confirms, and noting that re-calling with a new time reschedules rather than republishes. It also discloses that publishing archives the replaced live version and can be rolled back with helpcenter_restore_article_version, plus 402/403/409/422 error conditions. No contradiction with the declared destructive/non-idempotent profile.

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, then scoped with usage, workflow, and failure modes in a logical order; the 202 warning is bolded and easy to scan. It is long, and the 'now, or at a scheduled time' phrasing is repeated in the first two sentences, so a small amount of trimming is possible, but nearly 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 destructive, non-idempotent, open-world publishing call with no output schema, the description supplies the return shapes ({status: 'queued', change_set, status_url} vs 'scheduled'), the full error table, the readiness pre-check, and the follow-up polling tool. Nothing an agent needs 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.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning beyond it: scheduled_for must be ISO 8601 WITH a timezone, omitting it publishes now, and re-calling with another time moves the schedule; change_note is recorded on every article the release changes and is kept with the schedule when scheduled_for is used. It also clarifies the release_note vs change_note distinction and that a malformed change_refs refuses the whole call.

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?

Opens with a specific verb and resource ('Release a change set: publish every item in it together') and immediately defines what a change set is and that it owns no content. It explicitly contrasts itself with helpcenter_publish_staged_changes and helpcenter_update_article for the single-article case, so an agent can route correctly without opening another schema.

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 an explicit when-to-use criterion ('several articles have to go live at the same moment — a feature launch, a restructure, a coordinated translation'), an explicit when-not with named alternatives, and a full ordered workflow through helpcenter_stage_article_changes, helpcenter_create_change_set, helpcenter_add_change_set_items, helpcenter_get_change_set, and helpcenter_get_change_set_status. Plan gating and key scope are also stated up front.

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