Skip to main content
Glama

Unpublish changelog edition

unpublish_changelog_edition
Destructive

Take the most recent published edition back to being the draft, the way out of a page that went out wrong. Its entries are then editable again and it republishes through the normal path. Refuses when a draft is already open (publish or discard that first) and when the edition is not the latest (older ones have permalinks readers may have linked and a number the sequence depends on). The public page stays on. Audited. Requires the MANAGER role or above.

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": {
      "workspace": "<workspace>",
      "project": "<project>",
      "editionId": "<editionId>"
    },
    "name": "unpublish_changelog_edition"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectYesProject slug or id
editionIdYesChangelog edition id (uuid): get_changelog returns these
workspaceYesWorkspace slug or id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true/readOnlyHint=false, and the description adds substantive context beyond that: entries become editable again, republication goes through the normal path, the public page stays up, the action is audited, and MANAGER role is required. Only the return value/response shape is left unstated, which is minor given there is no output schema.

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

Conciseness5/5

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

Purpose is front-loaded in the first clause, followed by recovery rationale, refusal conditions, and side effects in a tight four-sentence block. Every sentence carries constraint or consequence information; no filler.

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 mutation with no output schema, the definition covers authorisation, the exact refusal cases, what becomes mutable afterward, and the fact that the public page remains live. An agent has everything needed to invoke it correctly or avoid it.

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 100%, so baseline is 3. The description nevertheless adds a real constraint on editionId – it must refer to the latest published edition – which the schema itself does not state.

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?

States a specific verb+resource: 'Take the most recent published edition back to being the draft.' The 'most recent published' scope plus the refusal on older editions distinguishes it cleanly from publish/prepare/update siblings.

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 framing ('the way out of a page that went out wrong') and names the two blocking conditions: an already-open draft, which must be published or discarded first, and a non-latest edition. Nothing is left to inference.

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