Skip to main content
Glama

Create site

create_site

Creates a site owned by the signed-in account, answering once it is ready. Two ways to start: (1) FROM A TEMPLATE (list_templates (area blocks)): a copy of that example site — pages, layout, design, pictures — with siteName wherever the example’s name was and one site header; its products and cart only with keepProducts. The answer lists its contents and a checklist of what still says the example’s business. (2) the plain starter — no template, a themeId: ONE page, Home, holding only a heading with the site name (also its search title). A taken or reserved id is refused. siteName is cleaned as rename_site (area admin) says. At most 10 new sites per account per UTC day. Full reference: get_reference {topic:"sites"}.

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>",
      "siteName": "<siteName>"
    },
    "name": "create_site"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteIdYesThe new site’s id: a DNS label (lowercase letters, digits, hyphens)
themeIdNoRequired without a template (default: the template’s design)
siteNameYesHuman-readable site name — the person’s business or name, not the template’s
templateNoA gallery template id from list_templates. Omit for the plain starter
keepProductsNoWith a template: also copy its products and cart (default false)

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 say it is a non-destructive, non-idempotent write; the description adds substantial context beyond that — the call blocks until the site is ready, taken/reserved ids are refused, there is a 10-sites-per-account-per-UTC-day limit, and siteName is normalized per rename_site rules. It also discloses what a template copy carries (pages, layout, design, pictures, optional products/cart via keepProducts) and one site header.

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 core action and the two modes, and no sentence is filler. It is dense with nested parentheses and inline cross-references, which makes it slightly heavier to scan than necessary, but the information density justifies the length.

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 non-idempotent write tool with no output schema, it still tells the agent what comes back (site contents plus a checklist of leftover template business references), covers failure cases (taken/reserved id), rate limits, and the template-vs-starter decision. Nothing material is missing.

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 adds real meaning: keepProducts is framed as a template-only switch with default false, themeId as the fallback design when no template is given, and siteName as subject to the rename_site cleaning rules. It doesn't add format detail for siteId or template beyond the schema patterns, so not 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 ("Creates a site owned by the signed-in account") and immediately distinguishes two creation modes: template copy vs. plain starter with a themeId. An agent can tell what gets built in each case without opening the 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?

Explicitly branches usage: mode (1) names list_templates (area blocks) as the source and what it copies, mode (2) covers the no-template case and notes themeId is required. It also states the 10-per-day cap and points to get_reference {topic:"sites"} for the full rules, which is exactly the routing an agent needs.

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