Skip to main content
Glama

1ClickSiteAI

Create a site

create_site

Creates a complete WordPress website for a local business and starts building it. Call list_templates first for a templateId, and check_credits to see whether the workspace has a site credit. Send templateId and businessName, plus phone and addressCity, and addressLine1 and addressPostalCode unless hasPublicBusinessAddress is false; a googlePlaceId can supply these instead. If you leave out services or serviceAreas, the call waits up to 20 seconds for suggestions. It returns the siteId, a slug, and a statusUrl at once; the build takes about 5 minutes, so follow it with site_status. It costs one site credit and counts as one of 10 paid calls a minute. The idempotencyKey is required: send a new one for each site, and send the same one again if you retry, so a retry after a timeout returns the first result and does not charge twice. Do not call it to change a site that exists.

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

Input Schema

NameRequiredDescriptionDefault
emailNo
phoneNoThe business phone number. Required by us, though the competitor's spec does not require it: a request without it answers 400 unless `googlePlaceId` supplies a number. Use the international form such as `+15125550123`, or the national form of `countryCode`.
addressNoLegacy combined public address. Used as the street line only when `addressLine1` is absent and `addressCity` is present.
logoUrlNoAn https URL on the default port of a public PNG or JPG of at most 5 MB. The server fetches it once, with a 10-second limit and no redirects, and refuses a host that resolves to a private address; any failure answers 400 on `logoUrl`.
themeIdNoOptional theme ID returned by `GET /api/templates`. Accepted and ignored: a template here is one design.
bodyFontNo
industryNoThe industry, such as `Plumbing`. When omitted, the site is built for `Local business`.
servicesNoThe services, at most 25. When omitted, the request waits up to 20 seconds for suggestions and falls back to one service equal to the industry.
locationsNo
skipImagesNoAccepted and ignored: a build always makes its images.
templateIdYesTemplate ID returned by `GET /api/templates`. An id that the list does not hold answers 403 `template_unavailable`.
addressCityNoCity or locality. Required by us: a request without it answers 400 unless `googlePlaceId` supplies it.
countryCodeNoTwo-letter ISO country code. Defaults to `US`.
headingFontNo
addressLine1NoPublic street address. Required while `hasPublicBusinessAddress` is true. Omit when it is false.
addressLine2NoOptional suite, unit, building, or floor.
businessNameYes
primaryColorNo
serviceAreasNoThe service areas, at most 25. When omitted, the request waits up to 20 seconds for suggestions and falls back to one area equal to the city.
aboutBusinessNo
addressRegionNoState, province, or region.
businessHoursNoThe weekly schedule as an object keyed by `monday` to `sunday`, or as the same object in a JSON-encoded string. A day is `{ "opens": "09:00", "closes": "17:00" }`, a list of up to two such ranges, or `{ "closed": true }`; a day that is left out is closed. Plain text is refused with 400. Used only with `businessHoursMode` `weekly`.
customerModelNoHow customers interact with the business. Defaults to `travel_to_customers`. `visit_business` and `hybrid` require `hasPublicBusinessAddress` to be true.
googlePlaceIdNoA Google Place ID. Fields that the request leaves out come from the place; a field that the request sends wins.
builderVersionNoAccepted and ignored.
idempotencyKeyYesRequired. A new value for each site, such as a UUID; send the same one when you retry, and a repeat within 24 hours returns the first result and charges nothing.
secondaryColorNoWhen `primaryColor` is sent without it, the design's own secondary colour is used.
backgroundThemeNo
businessWebsiteNo
primaryLanguageNoThe site language. `ca` (Catalan) is supported here and not in the competitor's spec. When omitted, the language follows `countryCode`, as in the wizard.
addressPostalCodeNoPostal code. Required while `hasPublicBusinessAddress` is true. Omit when it is false.
businessHoursModeNoDisplay behavior for the main business hours. If omitted, a supplied `businessHours` implies `weekly`; otherwise hours are hidden.
createServicePagesNoDefaults to true.
createLocationPagesNoDefaults to true when `locations` is not empty, and has no effect otherwise.
createServiceAreaPagesNoDefaults to true.
hasPublicBusinessAddressNoDefaults to true. When false, the street address and postal code are discarded and do not appear on the generated site.

Output Schema

NameRequiredDescriptionDefault
slugYesThe first 8 hex characters of `siteId`, a hyphen, and the business slug.
siteIdYes
statusUrlYesPoll this path with the same key to follow the build.
previewUrlYesNull until the site is live.

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?

Goes far past the annotations: it discloses the one-site-credit cost, the 10-paid-calls-per-minute ceiling, the up-to-20-second suggestion wait, the immediate return of siteId/slug/statusUrl, and full retry semantics via idempotencyKey. The idempotentHint=false annotation is not contradicted, because deduplication here is achieved through a client-supplied key rather than inherent repeat-call safety.

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 and free of filler, and nearly every sentence carries an operational fact. It is one dense paragraph that mixes purpose, inputs, cost, rate limit, and retry rules; splitting those into distinct sentences or bullets would make it easier to scan.

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 36-parameter asynchronous creator with credits, this covers everything an agent needs to decide and call correctly, including the async handoff to site_status. An output schema exists, so the brief mention of returned fields is a bonus rather than a requirement.

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?

With 75% schema coverage across 36 parameters, the description usefully compresses the conditional rules: phone, addressCity, addressLine1 and addressPostalCode are required unless hasPublicBusinessAddress is false, and googlePlaceId can substitute. It does not touch the many styling, hours-mode, or page-creation flags, so an agent still has to read the schema for those.

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?

Opens with a concrete verb and resource: "Creates a complete WordPress website for a local business and starts building it." It closes by explicitly excluding the update case ("Do not call it to change a site that exists"), so an agent can separate it from update_lead_gen_site or apply_change_set without inspecting schemas.

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 an explicit prerequisite chain: call list_templates for a templateId and check_credits for a site credit before invoking. It names the follow-up sibling (site_status) for the ~5 minute build and states the negative case, so when-to-use and when-not-to-use are both pinned down.

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