Skip to main content
Glama

Take a website offline

unpublish_site
DestructiveIdempotent

Takes a published website offline: its public address shows "not published" within seconds. The site, its name and any custom domain stay with the person, so publish_site later brings it back on the same address. Only when the person asks to take the site down.

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 site id from list_sites or create_site.

Output Schema

NameRequiredDescriptionDefault
siteIdYes
statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=true), the description discloses timing ("within seconds"), scope of destruction (the public address only), and what is preserved (site, name, custom domain), which materially softens the destructive signal. It also explains reversibility via publish_site restoring the same address — exactly the context an agent needs before confirming a destructive action.

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?

Two tight sentences: the effect and reversibility come first, the invocation constraint last. Nothing is redundant and no sentence merely restates the title.

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?

The tool is simple (one required id, output schema present), and the description covers the observable outcome, data retention, reversibility path, and the precondition for calling. Nothing an agent needs in order to invoke it 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?

There is a single parameter with 100% schema description coverage, so the schema already explains siteId and where to obtain it. The description adds no further parameter-level meaning; per the high-coverage baseline, a 3 is appropriate.

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?

"Takes a published website offline" names a specific verb and resource, and immediately states the observable effect (public address shows "not published"). The description also names the counterpart operation, publish_site, so an agent can tell the two apart 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The final sentence gives an explicit gating condition: "Only when the person asks to take the site down," which rules out proactive or speculative invocation. It also points to publish_site as the reversing alternative, so the when-to-use and what-next guidance are both present.

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