Skip to main content
Glama

Publish the open site

gsites_publish
Idempotent

Publish the site open in the editor only after user confirmation; optionally set the address suffix, while existing visibility settings stay unchanged.

Instructions

Publish the site open in the editor. 'address' is the last part of the web address (letters, numbers, hyphens); omit it to accept Google's suggestion. Visibility is whatever the site is already set to (for a Workspace account the default is the whole organization, not the public internet). This makes the site visible to others, so ONLY call it after the user has confirmed.

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_publish"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressNoe.g. 'mi-portafolio'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare the generic safety profile (readOnly false, openWorld true, idempotent true, destructive false). The description adds non-obvious operational context: visibility is inherited from existing site settings, and for a Workspace account the default audience is the whole organization rather than the public internet — exactly the fact an agent needs before triggering a world-open 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?

Three sentences, front-loaded with the action, then the parameter rule, then the visibility caveat and confirmation gate. No filler, and the most safety-critical statement lands last where it is unmissable.

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?

Complete for a one-optional-parameter mutation with no output schema: the audience, the confirmation gate and the address fallback are all covered. The only mild gap is that it does not say what the call returns or whether the published URL is echoed back, though with no output schema that is largely out of scope.

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

Parameters5/5

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

Schema coverage is 100% and already gives the pattern and an example, yet the description still adds meaning: 'address' is the last segment of the web address, its allowed character classes, and that omitting it accepts Google's suggestion (i.e. the optional parameter's fallback behavior), which the schema does not convey.

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 ('Publish the site') and scopes it to the site 'open in the editor', which distinguishes it from siblings like gsites_unpublish, gsites_open_site and gsites_create_site without needing to inspect any 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 an explicit precondition ('ONLY call it after the user has confirmed') tied to the consequence of making the site visible, which is the key when-to-use constraint. It does not explicitly name gsites_unpublish as the inverse/alternative, but the counterpart is unambiguous from the sibling list.

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