Skip to main content
Glama

Create site

create_site

Creates a new uCoz site on the signed-in account at the given address and zone, sets it up and makes it the default site of reads without site_id, as select_site does. A repeated call with the same address returns that site with existed: true. An account that cannot own sites yet gets code ACCOUNT_SETUP_REQUIRED with setup_url, the uCoz page where the user completes it; limits come with code and error_code (RATE_LIMITED adds retry_after_minutes, SITE_LIMIT_PHONE adds url). A site that exists but is not set up yet gets code ACTIVATION_IN_PROGRESS (another call is setting it up: wait retry_after_seconds) or ACTIVATION_FAILED; in both cases call create_site again with the same address. site_name, design and modules take effect only when the site is set up for the first time: not_applied lists the ones this call did not apply, ignored lists arguments that are not parameters of the tool, and note explains both.

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

Input Schema

NameRequiredDescriptionDefault
domYesZone code (not the full hostname). Pass the code before "="; the site URL is https://{addr}.{host}. Available: l = usite.pro; r = ucoz.site; s = ucoz.club; e = ucoz.net; f = ucoz.org; 6 = clan.su; 7 = moy.su; 8 = do.am.
lngNoTwo-letter language code, default en
addrYesSite address: 2-30 characters a-z, 0-9 and "-"; check_site_address tells whether it is free
designNoStandard design id, default 2301. Any design of the uCoz design library is accepted, also one the catalog no longer offers. tmaker_read designs_list lists the offered designs but needs a site of the account: for the first site of an account omit design and look at designs_list once the site exists.
modulesNoModules to install; the site module is always installed. Default: site only
site_nameNoSite name, up to 50 characters; default: the standard name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / addr / description
      Previous value: -"Site address (2-15 chars, a-z0-9-)"New value: +"Site address: 2-30 characters a-z, 0-9 and \"-\"; check_site_address tells whether it is free"
    • addedInput schema / properties / design
      Added value: +{
      +  "description": "Standard design id, default 2301. Any design of the uCoz design library is accepted, also one the catalog no longer offers. tmaker_read designs_list lists the offered designs but needs a site of the account: for the first site of an account omit design and look at designs_list once the site exists.",
      +  "type": "integer"
      +}
    • addedInput schema / properties / modules
      Added value: +{
      +  "description": "Modules to install; the site module is always installed. Default: site only",
      +  "items": {
      +    "enum": [
      +      "site",
      +      "news",
      +      "blog",
      +      "publ",
      +      "load",
      +      "photo",
      +      "video",
      +      "forum",
      +      "shop",
      +      "subscriptions",
      +      "gb",
      +      "poll",
      +      "mail"
      +    ],
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / site_name
      Added value: +{
      +  "description": "Site name, up to 50 characters; default: the standard name",
      +  "type": "string"
      +}
  2. 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 a non-read-only, non-destructive, closed-world mutation, so the description carries the rest and does so richly: idempotency behavior, ACCOUNT_SETUP_REQUIRED with setup_url, RATE_LIMITED with retry_after_minutes, SITE_LIMIT_PHONE with url, ACTIVATION_IN_PROGRESS with retry_after_seconds, and the not_applied/ignored/note response fields. This tells the agent exactly what side effects and failure modes to expect.

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 in the first clause, and nearly every sentence carries operational value (idempotency, error routing, one-time-only arguments). It is a single dense block, though; splitting the error-code catalog from the argument semantics 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 6-parameter mutation tool with no output schema, the description covers side effects, idempotency, all documented failure codes and their recovery actions, and the shape of the response fields (existed, code, error_code, not_applied, ignored, note). Nothing an agent needs to call this correctly and react to failures 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 the baseline is 3, but the description adds real meaning beyond the schema: site_name, design and modules only take effect on first-time setup, and any unrecognized argument is echoed in 'ignored' rather than rejected. It does not add format or validation detail for addr/dom, which the schema already covers.

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 new uCoz site on the signed-in account') plus the two determining inputs (address and zone), and explicitly distinguishes itself from select_site by noting it makes the new site the default for reads without site_id.

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 concrete when-to-use conditions and alternatives: repeated calls with the same address are idempotent (returns existed: true) rather than a duplicate-create, and for ACTIVATION_IN_PROGRESS / ACTIVATION_FAILED the prescribed action is to call create_site again with the same address. It also implicitly contrasts with select_site, which only switches the active site.

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.