Skip to main content
Glama

Publish a site

iter0_publish_site
Idempotent

Puts a saved site live at its own free address, name.iter0.app, so anyone can open it. Free: it uses no credits. Takes the designId and, optionally, a name for the address (lowercase letters, numbers and hyphens, 3 to 63 characters; without one, iter0 uses the free address it suggests). Called without confirmationToken, nothing goes live: it returns the exact address and a confirmationToken. Called again with the same designId and that confirmationToken, it publishes, and the site becomes public. A confirmationToken cannot publish twice. If the site is already live and up to date it says so and needs no token. If the result says the outcome is unknown, iter0_publish_status shows whether the site is live. Only the site's owner can publish.

Input Schema

NameRequiredDescriptionDefault
designIdYesThe saved design, from iter0_get_design or iter0_list_my_designs.
subdomainNoThe name for the address: name.iter0.app. Optional; only on the first call, and only when the person chose a name.
confirmationTokenNoLeave out on the first call. On the second call pass the token the first call returned, unchanged.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare mutability, open-world, idempotent, non-destructive; the description adds substantial context beyond them — no credit cost, a two-phase confirm-to-publish protocol, single-use tokens, a no-op path for already-live sites, an indeterminate-outcome path, and the owner-only authorization requirement. Nothing here contradicts the idempotentHint, since re-invocation against a live site is described as a no-op.

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?

The first sentence front-loads what and where, and the two-phase protocol follows in the order an agent needs it. It runs long and repeats the token mechanics that the schema already sketches, so a sentence could be trimmed, but nearly every clause carries decision-relevant 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?

A stateful, multi-call publish flow with authorization and failure paths is fully described, and an output schema exists to cover return values so the description needn't. An agent can execute the whole happy path plus the already-live and unknown-outcome branches from this text alone.

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 baseline is 3, but the description genuinely adds meaning: subdomain character/length rules, that it applies only on the first call and only when the person chose a name, the fallback to iter0's suggested address, and that the token must be passed back unchanged. The designId's provenance is only in the schema, which keeps this short of a 5.

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 ('Puts a saved site live at its own free address, name.iter0.app') and immediately scopes it away from siblings by describing the publish act itself rather than a push, status check, or unpublish. The address format makes the outcome concrete and distinguishable from iter0_push_site or iter0_check_site.

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-call semantics: no token returns address + token, re-call with the token publishes, an already-live up-to-date site needs no token, and an unknown outcome routes to iter0_publish_status by name. It also names the owner-only precondition, which is a genuine eligibility gate rather than a hint.

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.