Skip to main content
Glama

publish_site

DestructiveIdempotent

Publish the saved revision to a public hosted address. Requires sites:publish.

Input Schema

NameRequiredDescriptionDefault
slugNo
revisionYes
idempotencyKeyNoOptional. Set a random key and reuse it exactly when retrying, so a retry is not applied twice

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / idempotencyKey / description
      Previous value: -"Unique random key for this operation; reuse exactly when retrying"New value: +"Optional. Set a random key and reuse it exactly when retrying, so a retry is not applied twice"
    • changedInput schema / required
      Previous value: -[
      -  "revision",
      -  "idempotencyKey"
      -]New value: +[
      +  "revision"
      +]
  2. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, so the safety profile is largely covered. The description adds genuine context by naming the required scope (sites:publish), but it never says what publishing replaces or what happens to an already-live site, which is the main risk with a destructive hint.

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?

Two short sentences, action first, prerequisite second — nothing wasted and nothing buried. It is arguably too terse given the mutation/destructive nature, but the structure itself is clean.

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

Completeness2/5

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

For a destructive, open-world mutation with no output schema, the description omits what the call returns (presumably the public address), whether a prior live revision is replaced, and any slug/revision interaction. The schema leaves those gaps unfilled, so the definition is not sufficient to call this safely.

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

Parameters2/5

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

Schema description coverage is only 33% — only idempotencyKey is documented in the schema. The description says nothing about `revision` (which revision, relative to save_site) or the optional `slug` (whether it sets the public URL path, and what happens when omitted), leaving the two most consequential parameters unexplained.

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?

States a specific verb and resource ('Publish the saved revision') plus the outcome ('public hosted address'), which separates it from preview_site and save_site. It stops short of naming any sibling explicitly, so an agent must infer the boundary with preview_site/unpublish_site 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?

'Requires sites:publish' gives a hard prerequisite, which is useful. But there is no statement of when to choose this over preview_site, publication_status, or unpublish_site, and no note that a revision must first exist via save_site.

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