Skip to main content
Glama

Publish a website

publish_site
DestructiveIdempotent

Puts a built website online at a public link anyone on the internet can open. Use it only when the person asks to publish. Sites on some plans carry a small JustCopy badge. The optional address sets the subdomain (.app.justcopy.ai; lowercase letters, numbers and hyphens). Publishing again replaces the live version with the current one.

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
siteIdYesThe site id from list_sites or create_site.
addressNoOptional subdomain, e.g. rosas-bakery.

Output Schema

NameRequiredDescriptionDefault
siteIdYes
statusYes
liveUrlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare openWorldHint, destructiveHint, and idempotentHint, but the description adds user-visible consequences: the link is publicly openable by anyone, some plans inject a JustCopy badge, and republishing overwrites the current live version. These are exactly the side effects an agent needs before acting. What is missing is any note about permissions/plan tiers or whether changing the address breaks the previously published link.

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?

Four tight sentences, front-loaded with the effect, then the consent gate, the branding caveat, and the parameter/overwrite note. No filler and nothing buried.

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 two-parameter mutation tool with full schema coverage and an output schema, the description covers effect, consent, branding, address semantics, and overwrite behavior. The only real gap is not stating what happens to the old public link or whether plan requirements block the call.

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 100%, so both parameters are already documented, including the address pattern. The description adds the resulting URL shape ('<address>.app.justcopy.ai') and restates the allowed character set, which duplicates the regex rather than extending it. The net gain over the schema is modest, so the baseline of 3 fits.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence gives a specific verb and effect: 'Puts a built website online at a public link anyone on the internet can open.' That is far more informative than the title's 'Publish a website,' because it defines the observable outcome. It does not name a sibling (e.g. unpublish_site, change_site) for contrast, which keeps it just short of a 5.

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?

It states an explicit precondition — 'Use it only when the person asks to publish' — which tells the agent not to publish proactively. It also flags a distinct usage case: republishing replaces the live version. It stops short of naming the alternative tool to use when the intent is to change or take a site offline.

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