Skip to main content
Glama

Unpublish the open site

gsites_unpublish
DestructiveIdempotent

Unpublishes the Google Site currently open in the editor while keeping its draft in Drive; confirm with the user before taking the site offline.

Instructions

Stop publishing the site open in the editor (menu next to Publish > Unpublish). The draft stays in Drive. Confirm with the user first.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "gsites_unpublish"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4.4/5.0
Behavior4/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 covered. The description adds genuinely new context: the destructive effect is scoped to publishing only, because 'the draft stays in Drive' — telling the agent nothing is deleted — plus a required user confirmation step.

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, each carrying distinct information: the action, its persistence guarantee, and the confirmation requirement. The action is front-loaded with no filler.

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

Completeness4/5

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

For a zero-parameter, no-output-schema tool, this covers action, consequence and required confirmation. Minor gaps remain: it doesn't say what happens if the site was never published, or whether the public URL immediately stops resolving.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; baseline 4 applies. No misleading parameter language is introduced.

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 resource: 'Stop publishing the site open in the editor.' This is unambiguously distinct from the sibling gsites_publish, and the parenthetical menu path anchors it to the real UI action.

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 a clear precondition (the site must be open in the editor) and an explicit behavioral instruction ('Confirm with the user first'). It does not name gsites_publish as the inverse alternative, but the contrast is self-evident from the name and the 'menu next to Publish' framing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.