Skip to main content
Glama

libredesk_publish

Destructive

Publish or unpublish help center articles and collections, move content, take help centers online or offline, and switch FAQ learning so public and AI-visible content stays current.

Instructions

Change what customers and AI assistants see: publish articles and collections, take help centers online or offline, switch FAQ learning. Undocumented API.

Actions:

  • help_center_toggle(id): Take a help center online or offline. Changes what the public sees.

  • collection_publish(help_center_id, id, is_published): Publish or unpublish collections. Changes what the public help center shows.

  • collection_move(help_center_id, id, parent_id): Move a collection to another parent (null: top level). Can make its articles public and AI-visible.

  • article_set_status(id, status): Publish articles or set them back to draft. Publishing makes the article public, and AI-usable when ai_enabled is on.

  • article_move(id, collection_id): Move an article to another collection of its help center. Can make a published article public and AI-visible.

  • learning_set(enabled): Switch FAQ learning on or off. When enabled is true: Mines resolved conversations with your AI provider, at a cost per conversation.

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": {
      "action": "<action>"
    },
    "name": "libredesk_publish"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoHelp center id. For collection_publish: Collection id or list of ids. For collection_move: Collection id. For article_set_status: Article id or list of ids. For article_move: Article id.
actionYesAction.
statusNo"draft" (not public) or "published".
enabledNotrue turns FAQ learning on, false off.
profileNoStored profile to use; omit for the default.
parent_idNo
is_publishedNotrue publishes, false unpublishes.
collection_idNoTarget collection id.
help_center_idNoHelp center id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv0.2.0
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "help_center_toggle",
      -  "collection_publish",
      -  "article_set_status",
      -  "learning_set"
      -]New value: +[
      +  "help_center_toggle",
      +  "collection_publish",
      +  "collection_move",
      +  "article_set_status",
      +  "article_move",
      +  "learning_set"
      +]
    • addedInput schema / properties / collection_id
      Added value: +{
      +  "description": "Target collection id.",
      +  "exclusiveMinimum": 0,
      +  "maximum": 9007199254740991,
      +  "type": "integer"
      +}
    • changedInput schema / properties / id / anyOf
      Previous value: -[
      -  {
      -    "description": "Help center id.",
      -    "exclusiveMinimum": 0,
      -    "maximum": 9007199254740991,
      -    "type": "integer"
      -  },
      -  {
      -    "anyOf": [
      -      {
      -        "exclusiveMinimum": 0,
      -        "maximum": 9007199254740991,
      -        "type": "integer"
      -      },
      -      {
      -        "items": {
      -          "exclusiveMinimum": 0,
      -          "maximum": 9007199254740991,
      -          "type": "integer"
      -        },
      -        "maxItems": 100,
      -        "minItems": 1,
      -        "type": "array"
      -      }
      -    ],
      -    "description": "Article id or list of ids."
      -  }
      -]New value: +[
      +  {
      +    "description": "Article id.",
      +    "exclusiveMinimum": 0,
      +    "maximum": 9007199254740991,
      +    "type": "integer"
      +  },
      +  {
      +    "anyOf": [
      +      {
      +        "exclusiveMinimum": 0,
      +        "maximum": 9007199254740991,
      +        "type": "integer"
      +      },
      +      {
      +        "items": {
      +          "exclusiveMinimum": 0,
      +          "maximum": 9007199254740991,
      +          "type": "integer"
      +        },
      +        "maxItems": 100,
      +        "minItems": 1,
      +        "type": "array"
      +      }
      +    ],
      +    "description": "Article id or list of ids."
      +  }
      +]
    • changedInput schema / properties / id / description
      Previous value: -"Help center id. For collection_publish: Collection id or list of ids. For article_set_status: Article id or list of ids."New value: +"Help center id. For collection_publish: Collection id or list of ids. For collection_move: Collection id. For article_set_status: Article id or list of ids. For article_move: Article id."
    • addedInput schema / properties / parent_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
  2. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare destructive=true and non-idempotent, but the description adds considerably more: which actions alter public visibility, that collection_move and article_move can silently make articles public and AI-visible, that publishing makes articles AI-usable only when ai_enabled is on, and that learning_set incurs a per-conversation cost with the AI provider. The 'Undocumented API' caveat is also useful framing. Nothing contradicts the annotations.

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 summary sentence is front-loaded and the per-action bullet format is the right structure for a six-action dispatcher. There is minor redundancy in the repeated 'Changes what the public sees' phrasing across two bullets, but no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, non-idempotent nine-parameter dispatch tool this covers the important ground: every action, the visibility and cost consequences, and the null-parent convention. The gap is that with no output schema, the description still says nothing about what a call returns or how partial failures across a list of ids behave.

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 89%, so the baseline is 3, but the description adds real value by mapping parameters to actions (help_center_id plus id plus is_published for collection_publish; null parent_id meaning top level for collection_move; the draft/published meaning for article_set_status). The one omission is the `profile` parameter, which appears in neither the action list nor the prose.

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 opening sentence names a concrete verb set and resource domain (publishing articles/collections, toggling help centers, FAQ learning) and immediately frames the user-visible consequence. The six enumerated actions with their parameter signatures make the tool's scope unambiguous against siblings like libredesk_articles or libredesk_help_center, which read as CRUD surfaces.

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

Usage Guidelines4/5

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

Each action is annotated with what it does and the effect it has ('Publish or unpublish collections', 'Take a help center online or offline'), which effectively routes an agent to the right action. What is missing is any explicit statement of when to prefer this tool over the sibling read/authoring tools, or any when-not condition.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.