Skip to main content
Glama

Publish

publish
Destructive

Make the page live at https://.pageree.app by publishing its draft. Save the page with save_draft first — this tool takes no HTML, it promotes whatever the draft currently holds. PUBLISHING IS THE USER'S DECISION: it is the moment the page becomes public. NEVER call it in the same turn as save_draft. Always show the preview URL first and wait for the user to look at it and approve in a later message — even if they opened with "get it live", "host it" or "publish it": that tells you the goal, not that they have seen this page. Each publish is an immutable version; use list_versions and rollback to manage them. The draft is consumed — continuing to edit means saving a new one.

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": {
      "pageId": "<pageId>",
      "changelog": "<changelog>"
    },
    "name": "publish"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageIdYesThe page to publish, as returned by save_draft.
changelogYesShort summary of what changed in this version and why (shown in version history and used by the optimize loop).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and openWorldHint=true, and the description adds real context beyond them: the action is public and irreversible-per-version, each publish creates an immutable version, and the draft is consumed so further edits require a new save. The human-approval requirement and turn-boundary rule are behavioral facts the annotations cannot express.

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-loads the outcome and URL, then the prerequisite, then the approval rule, then versioning. Dense and mostly waste-free, though the mixture of capability description and imperative agent instructions makes it longer than strictly necessary.

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 two-parameter, non-idempotent, destructive publish with no output schema, everything an agent needs is present: prerequisite, approval sequencing, public-visibility consequence, draft consumption, and how to manage the resulting versions.

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 both parameters are already documented. The description still adds meaning the schema does not: content is not passed as a parameter at all, pageId derives from save_draft, and changelog feeds version history and the optimize loop — clarifying the implicit draft-as-input contract.

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 and effect: makes the page live at a concrete URL by promoting the current draft. It also distinguishes itself from save_draft by declaring it takes no HTML and consumes whatever the draft holds, so an agent can tell it apart from the sibling write tools without opening either 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 explicit ordering (save_draft first), an explicit prohibition (never in the same turn as save_draft), and an explicit approval gate (show preview URL, wait for a later message). It even pre-empts the ambiguous case where the user says 'publish it' up front, and points to list_versions/rollback for version management.

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.