Skip to main content
Glama

Publish a page online

publish_page

Publishes a sales or landing page online and returns a shareable link, building it from HTML, a local file, or landing-page arguments in one step.

Instructions

Put a sales page online and get a shareable link, e.g. https://quint-korakicks.erasstack.com/black-friday. Pass the HTML from landing_page, a local file path (local mode), or "page" with landing_page arguments to build and publish in one step. Free plan: 1 site, 3 live pages, small badge. Pro adds the user's own domain and removes the badge. If not connected yet, call cloud_account with action "connect" first (free, one browser approval).

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": {
      "brand": "<brand>"
    },
    "name": "publish_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNoLocal mode: path to an .html file
htmlNo
pageNolanding_page arguments to build and publish in one call
pathNoPage path, e.g. "black-friday"; empty for the home page
roleNohome (site root, links live campaigns automatically), campaign (ends cleanly after endsAt), product, legal, or review (private, not indexed, does not use a page slot)
brandYesBrand name; becomes the address quint-<brand>.erasstack.com
forceNoPublish even if Quint AI's checks find errors (not recommended).
titleNo
endsAtNoFor campaigns: when the offer ends (ISO with time zone). After it, the page says the offer has ended, then redirects home.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

A4.3/5.0
Behavior5/5

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

Goes well past the annotations (readOnly=false, openWorld=true, destructive=false) by disclosing plan gating (free = 1 site, 3 live pages, small badge; Pro = own domain, no badge), the one-time browser approval needed for connection, and the review role consuming no page slot. It also surfaces that a failed re-publish can be forced through checks only with force, and that campaign pages redirect home after endsAt.

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 outcome and example URL, then prerequisites, then plan constraints — a sensible order for an agent scanning it. The single dense paragraph packs a lot in, though the free/Pro badge detail is borderline for a description whose job is selection and invocation.

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 9-parameter write tool with a nested object, no output schema, and open-world annotations, this covers return value (a shareable link), prerequisites, plan limits, and role-specific side effects. Gaps remain on failure behavior, whether republishing the same path overwrites, and how html/file/page precedence works.

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 78%, so the schema already carries most parameter meaning, and the description largely echoes it (html/file/brand/page). It does add operational framing — that 'page' lets you build and publish in one step and that brand determines the address prefix — but leaves ambiguous which of html/file/page wins when several are supplied.

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 concrete verb and resource — 'Put a sales page online and get a shareable link' — and illustrates the result with a real URL shape (quint-<brand>.erasstack.com/black-friday), which unambiguously separates publishing from sibling 'landing_page' (building). An agent knows what it gets back and what domain family the page lands on.

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 explicit entry paths (HTML from landing_page, a local file path, or 'page' with landing_page arguments folded into one call) and a hard prerequisite: call cloud_account with action 'connect' first if not connected. It does not state when to avoid publishing or how it relates to unpublish/page_stats, so it stops just short of full when/when-not guidance.

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