Skip to main content
Glama

Publish page

publish_site
Destructive

Deploy a landing page to preview or production. ページ公開・デプロイ。

For normal creation/editing, prefer create_preview first so the user can review changes.
- "preview" slot (default): creates a token-protected preview URL without affecting the live version
- "production" slot: makes the page publicly accessible at the assigned primary URL if one exists, otherwise at its path on the workspace's https://<name>.convika.page site (get_brand shows it)
  • Production requires confirmProduction=true and should only be used when the user explicitly asks to publish/go live

  • For a page only people with the password may open, call set_page_access first: a password set before the publish is on from the page's first second live

  • If versionNumber is omitted, the latest saved version is published

  • Convika handles hosting, CDN, and SSL automatically

  • On Pro, MAX, Enterprise, a production publish also sends the page's URL to IndexNow (Bing and the other engines that take part; Google doesn't take IndexNow). Engines decide when to crawl: don't promise faster indexing or a place in AI answers.

  • The response includes a "warnings" array with preflight checks: missing goals, meta description, OGP tags, or forms. Inform the user of any warnings and offer to fix them (use set_goals for goals, save_page_content for meta tags, create_form for forms).

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": "publish_site"
  }
}

Input Schema

NameRequiredDescriptionDefault
slotNoDeployment slot. Defaults to 'preview'. 'production' makes the page live and requires confirmProduction=true.preview
siteIdYesThe ID of the page to publish
versionNumberNoVersion number to publish. If omitted, the latest saved version is used.
confirmProductionNoSet true only when the user explicitly asked to publish/go live in production.

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 publish"New value: +"The ID of the page to publish"
  3. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already flag destructive, openWorld, and non-idempotent, but the description adds the material consequences: preview is token-protected and leaves the live version untouched, while production makes the page publicly reachable at the primary URL or the convika.page path. It also discloses side effects the annotations cannot express, notably IndexNow submission on paid plans and a 'warnings' preflight array in the response. A minor gap remains around what happens to the currently live version on republish, which the description never states.

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?

Front-loaded with the action and the preview-default rule, then well-organized bullets. It loses a little to redundancy: the slot bullets restate the enum descriptions verbatim, and the Japanese echo ('ページ公開・デプロイ') duplicates the English purpose without adding information.

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 four-parameter mutation with no output schema, it covers the full decision surface: slot semantics, production gate, version default, preconditions, hosting/CDN/SSL handling, indexing side effects with a caution against overpromising, and the warnings array with the exact sibling to call for each warning type. Nothing needed to invoke it correctly is absent.

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?

Schema coverage is 100%, so the baseline is 3, and the description earns an increment by tying parameters to intent: confirmProduction is gated on explicit user request, and an omitted versionNumber means the latest saved version is published. It adds relation-level meaning (set_page_access before publishing) beyond the field-level schema text.

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 ('Deploy a landing page to preview or production') and immediately distinguishes the two deployment slots it controls. It also names the sibling it is not (create_preview) so an agent can route correctly without opening a schema.

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?

Gives explicit when-to-use rules for both slots, a default preference ('prefer create_preview first so the user can review changes'), a hard precondition (confirmProduction=true, only on explicit user request), and an ordering rule with another sibling ('call set_page_access first'). Exclusions and alternatives 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.