Skip to main content
Glama

Create a website

create_site

Create a new multi-page website in the workspace. The site starts empty: use add_page_to_site to build its pages, starting with the home page (slug "index"). To make a single standalone landing page instead, use create_page — that does not need a site. Every page of the site is built with the brand you pass as brandId, else the workspace's default brand (see list_brands / save_brand).

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
nameYesName for the website, shown in the dashboard. Not the domain.
brandIdNoOptional brand to build with (id from list_brands / save_brand). Omit to use the workspace's default brand, if it has one.
workspace_idNoWhich workspace to act in. Only meaningful when this connection can access more than one workspace: omit it and you get an error listing the available workspace ids (also available from list_sites) to choose from. On a single-workspace connection, omit it or pass that workspace's own id; a different id is rejected.

Output Schema

NameRequiredDescriptionDefault
nameYes
noteYesWhat to do next.
siteIdYesPass to add_page_to_site / get_site_analytics.
createdAtYes
pageCountYesAlways 0: a new site starts empty.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / brandId
      Added value: +{
      +  "description": "Optional brand to build with (id from list_brands / save_brand). Omit to use the workspace's default brand, if it has one.",
      +  "type": "string"
      +}
  2. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, so the description's disclosure that the site starts empty and must have its pages added afterwards is genuinely valuable context for a mutation tool. It also explains brand inheritance (falling back to the workspace default) and the workspace_id error behavior is documented in the schema. It stops short of saying what gets returned, but an output schema exists so that is acceptable.

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 primary action, then alternatives, then the brand note; every sentence carries information an agent needs. The final sentence's parenthetical rewriting ("else the workspace's default brand") is slightly awkward but not wasteful.

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 create tool with full schema coverage, no required annotations, and an output schema, the definition covers the essential post-creation workflow and the create_page alternative. Nothing critical to invoking it correctly is missing, though naming what the response contains could have been a small bonus.

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 description coverage is 100%, so the schema already documents name, brandId, and workspace_id thoroughly. The description reinforces the brandId defaulting behavior but adds no syntax, format, or constraints beyond what the schema fields already state, so the baseline of 3 applies.

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 ("Create a new multi-page website in the workspace") and immediately distinguishes it from create_page, which makes a single standalone landing page. An agent can tell this apart from the sibling without opening either 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 routes the agent: use add_page_to_site to build pages, start with the home page at slug "index", and use create_page instead for a standalone landing page. It also points to list_brands / save_brand for obtaining a brand, covering the prerequisites for the optional parameter.

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