Skip to main content
Glama

create_site

Create a new website. With publish: true it goes online at once and you get the link back, which is what someone asking for a site expects. Its name becomes the public address and is fixed by the first publish, so use the name the owner gave you, say the address you got, and leave publish out if they have not settled on a name.

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

Input Schema

NameRequiredDescriptionDefault
codeNoOptional code for the home page. Same rules as update_page. Left out, the site shows the starter page.
nameYesWhat the site is called. It becomes the public address at publish time, so "Marie's Bakery" answers on maries-bakery.<domain>. Rename it before publishing if it is wrong.
publishNoPut it online immediately and return the link. Only for a site you are creating right now: it has nothing in it but what you just wrote.

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 only declare that this is a non-read-only, non-destructive, non-idempotent write; the description adds the important side effect that the name is locked in by the first publish and becomes the public address, plus that the link is returned. That is real behavioral context beyond the structured fields. What is missing is any note on failure modes or what happens to the returned link/address after a rename.

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?

Two sentences, front-loaded with the action and then the publishing consequence. Some phrasing is filler ('which is what someone asking for a site expects') and the second sentence is a long run-on packing three instructions, but nothing is redundant with the schema.

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?

With no output schema, the description correctly states that the link is returned, and it covers all three parameters plus the irreversible naming consequence. It stops short of describing the created site object or error conditions, but for a simple three-parameter creation tool this is close to sufficient.

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% and the schema already documents all three parameters in detail, so the baseline is 3. The description still adds decision-level meaning — telling the agent to echo the resulting address back and to omit publish until a name is settled — which goes beyond field definitions.

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?

Opens with a specific verb and resource ('Create a new website'), which clearly separates it from read/update siblings like list_sites or update_page. The inline explanation of the publish parameter implicitly distinguishes creation from a standalone publish action, but it never names the sibling publish_site, so the boundary between setting publish:true and calling publish_site later is left to inference.

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 concrete when/when-not guidance for the publish flag ('leave publish out if they have not settled on a name') and prescribes behavior around the name ('use the name the owner gave you'). It does not state exclusions such as when to prefer publish_site instead, so guidance is clear but not fully bounded.

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.