Skip to main content
Glama

Unpublish page

unpublish_site
Destructive

Take a live landing page offline. The page will no longer be publicly accessible.

Use when the user wants to temporarily or permanently remove a page from the internet. All content and versions are preserved — call publish_site anytime to bring it back online.

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": {
      "siteId": "<siteId>"
    },
    "name": "unpublish_site"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteIdYesThe ID of the page to unpublish

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed1 schema field changed
    • changedInput schema / properties / siteId / description
      Previous value: -"The ID of the site to unpublish"New value: +"The ID of the page to unpublish"
  3. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description adds the key context those hints cannot express: the page goes private but "all content and versions are preserved" and the action is reversible via publish_site. That reframes a "destructive" flag as a recoverable state change, which materially affects the agent's willingness to call it.

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?

Three short sentences: effect first, then when to use, then reversibility. No filler, and the most decision-relevant fact (content preserved, republishable) is placed after the effect where it completes the picture.

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 one-parameter tool with full annotation coverage, the description supplies what structured fields cannot: the user-visible outcome, the reversibility guarantee, and the recovery path. Return shape is not explained, but nothing an agent needs to call this correctly 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% and the single siteId parameter already carries a description ("The ID of the page to unpublish"). The description never mentions siteId, so it adds no meaning beyond the schema; baseline 3 applies.

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?

A specific verb and resource ("Take a live landing page offline") plus the direct consequence ("no longer be publicly accessible"). It also implicitly separates itself from publish_site by naming it as the inverse operation, so an agent can pick between the two without inspecting schemas.

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?

States the triggering intent ("when the user wants to temporarily or permanently remove a page from the internet") and names the alternative with its condition ("call publish_site anytime to bring it back online"). No explicit when-not case, e.g. it never says to use some other tool for true deletion or that unpublish is unnecessary for already-offline pages.

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.