Skip to main content
Glama

Confita

Publish the site

publish_site
DestructiveIdempotent

For shop owners: put the site draft live, or one post's draft with post, or with revert: true go back to the last version that was live, dropping the draft. It always waits for the seller's tap: the reply is needs_confirmation, and at its link she sees every change and taps to publish. It takes the draft_version last read (with post, that post's version). On Free, Pro pieces of the site are refused with upgrade_required, and without_paid: true publishes without them; a blog post needs Pro.

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": {
      "draft_version": "<draft_version>",
      "request_id": "<request_id>"
    },
    "name": "publish_site"
  }
}

Input Schema

NameRequiredDescriptionDefault
postNoA post by slug or id: publish that post (or with revert, take it back) instead of the site.
revertNoGo back to the last working version instead of publishing the draft.
request_idYesUnique per call; the same id again returns the first result.
without_paidNoOn Free: publish without the Pro pieces.
draft_versionYesThe site's `draft_version` as last read, or with `post` that post's `version`.

Output Schema

NameRequiredDescriptionDefault
nextNo
paidNo
siteNo
errorNo
changesNo
outcomeNo
timezoneNo
preview_urlNo
confirmationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

The annotations (destructiveHint=true, idempotentHint=true, openWorldHint=true) clearly mark this as a state-changing, confirmable action. On top of them the description describes the confirmation handshake (needs_confirmation reply plus a link where the seller taps to publish) and the Free-plan upgrade_required refusal, so it explains how a change is gated rather than just what it mutates. It adds context but not enough to reach a 5.

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?

It is front-loaded with the main action and the scoping variants, in four compact sentences. Some phrasing ('It always waits for the seller's tap', 'at its link she sees every change and taps to publish') is conversational, and a short list of modes would read more crisply, but little is truly wasted.

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?

An output schema exists, so the description does not need to document return values, yet it still flags the needs_confirmation reply and the upgrade_required error, which matter for an agent's next step. For a destructive, confirmation-gated publish with fully documented parameters, nothing essential is missing.

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 coverage is 100%, so each parameter is already documented. The description adds useful semantics on top: it explains that draft_version must match the last-read value, that with `post` that post's `version` is used, and that `revert` drops the draft. That extra meaning is real but modest, so a 3 is the right level.

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 the specific verb and resource (put the site draft live) plus two scoped variants: a single post's draft via `post`, and rollback via `revert: true`. An agent can distinguish this from drafting tools like draft_site_change without inspecting the schema.

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?

Gives explicit selection conditions for each mode: use `post` to publish one post instead of the site, use `revert: true` to roll back and drop the draft, and use `without_paid: true` when on Free with Pro pieces. It stops short of naming a sibling alternative (or stating when not to publish at all), so it is clear context rather than full routing guidance.

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