Skip to main content
Glama

Create HelpCenter Article

helpcenter_create_article
Destructive

Create a new article in the connected HelpCenter.io help center.

Requires a write-scoped API key (read-scoped keys get a permission error). Titles, content, and slugs are per-language objects keyed by language code. Slugs auto-generate from the title when omitted.

Args:

  • title (object, required): per-language title, e.g. {"en": "Getting started"}.

  • content (object, optional): per-language body.

  • slug (object, optional): per-language URL slug (auto-generated from title if omitted).

  • category_id (number, optional): primary category id, or 0 for uncategorized.

  • categories (number[], optional): additional category ids to attach.

  • type ('article' | 'faq', optional): default 'article'.

  • visibility ('public' | 'private' | 'link_only', optional): default 'public'.

  • published (boolean, optional): true publishes immediately, false (default) keeps a draft.

  • external_id (string, optional): a stable key you own. Sending it makes this call an UPSERT — the same key twice updates the article it created instead of creating a second one. Use it whenever a run might be retried.

  • content_format ('html' | 'markdown', optional): defaults to 'html'. If you are writing markdown, you must set this or the raw markdown is stored as the body.

  • rehost_images (boolean, optional): ON by default through this connector. Copies the images the content references from other hosts (and inline data: images) into this help center's own storage and points the article at the copies, so it no longer depends on the source site. Send false to keep the original image URLs.

  • change_note (string, optional, up to 2,000 characters): why you are making this change, 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. 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: { status: "success", action: "created" | "updated", article: {...}, images? }. HTTP 201 on create, 200 when an external_id matched an existing article. images — { rehosted, reused, failed, failed_count } — is present whenever content was processed for images; a failed image keeps its original URL, so check failed before reporting the import complete.

Errors: 403 if the key is read-scoped; 400 if a language code is not enabled for the site or a category id does not belong to the site; 409 if the external_id already belongs to a different article (it is deliberately not re-pointed — that would make your next replay overwrite the wrong article). 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": {
      "title": "<title>",
      "agent_key": "<agent_key>"
    },
    "name": "helpcenter_create_article"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugNoPer-language URL slug. Auto-generated from the title if omitted.
typeNoContent type (default 'article').
titleYesPer-language title (required), e.g. {"en": "Getting started"}.
contentNoPer-language article body (HTML/markdown as your site uses).
agent_keyYesThe api_key helpcenter_create_help_center returned for this help center, exactly as returned. Required on every call: this endpoint has no sign-in, so the key is how each call says which help center it acts on. It is sent to HelpCenter.io as this call's credential and nowhere else, and it is never shown again: keep it for the whole task, and never show it to the user or write it into content.
publishedNotrue publishes the article, false keeps it as a draft.
categoriesNoAdditional category ids to attach (multi-category). All must belong to this site.
visibilityNoVisibility: 'public', 'private' (team only), or 'link_only' (shareable token URL).
category_idNoPrimary category id, or 0 for uncategorized. Must belong to this site.
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.
external_idNoA stable key you own (a source filename, CMS id, repo slug). Makes writes idempotent: sending the same key again updates the article it created instead of creating a second one, so an interrupted run can simply be replayed. Strongly recommended whenever you may retry.
rehost_imagesNoCopy images the content references from other hosts (and inline data: images) into this help center's own storage, and point the article at the copies. ON by default through this connector; send false to keep the original image URLs. The response's `images` reports what was re-hosted and what failed.
content_formatNoFormat of the `content` you are sending. Defaults to 'html'. Set 'markdown' when content is markdown and the API will convert it — sending markdown without this stores the raw markup as the article body.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / change_note
      Added value: +{
      +  "description": "Why 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.",
      +  "maxLength": 2000,
      +  "type": "string"
      +}
    • addedInput schema / properties / change_refs
      Added value: +{
      +  "description": "Up 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.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "label": {
      +        "description": "What the link is, up to 80 characters, e.g. \"Ticket #4182\" or \"4.2 release notes\".",
      +        "maxLength": 80,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "url": {
      +        "description": "The https address of a public host, e.g. 'https://github.com/acme/app/pull/88'. Refused: http and other schemes, IP addresses, localhost, single-label or underscore host names, user:password@ before the host, and spaces, quotes, <, >, \\ or backticks.",
      +        "maxLength": 2048,
      +        "pattern": "^https:\\/\\/",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "label",
      +      "url"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 5,
      +  "type": "array"
      +}
  2. First observed

TDQS

A3.9/5.0
Behavior5/5

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

The description goes well beyond the annotations: it discloses the write-scoped credential requirement (403 otherwise), the 400/409 failure modes including why a duplicate external_id is deliberately not re-pointed, that team-only fields are never exposed in responses/webhooks/search, and that a rejected change_note aborts the entire call with nothing written. It also explains conditional idempotency (upsert via external_id) and image rehosting failure handling, which is exactly the nuance an agent cannot get from annotations alone.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Structure is good: purpose first, then Args, then Returns, then Errors, so the most decision-relevant information is front-loaded. The cost is length: the Args block re-enumerates all fourteen parameters that the schema already documents in equal detail, making a substantial portion of the text redundant for an agent that reads both.

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 14-parameter mutation with nested per-language objects and no output schema, the description covers what is missing elsewhere: the response shape (status/action/article/images), HTTP status semantics, the images.rehosted/failed accounting, and every error path. An agent can call this correctly and interpret the result without further documentation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

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

Schema description coverage is 100% and the schema descriptions largely mirror the prose in the description (change_note, change_refs, rehost_images, external_id), so most of the argument text adds little beyond structured data. The few genuinely additive points, such as slugs auto-generating from the title and the external_id/409 interaction, are restated rather than extended, so this sits at the baseline for fully covered schemas.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence states a specific verb and resource ("Create a new article in the connected HelpCenter.io help center") and the body clarifies that the call is effectively an upsert when external_id is supplied. It never names the adjacent alternatives helpcenter_bulk_create_articles or helpcenter_update_article, so an agent must infer the boundary itself.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage conditions are strong at the parameter level: "Use it whenever a run might be retried" for external_id, "Give one whenever you change content" for change_note, and "you must set this" for content_format with markdown. At the tool level there is no routing guidance against bulk_create_articles (many articles) or update_article (editing an existing one), which is the main gap.

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