Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as AALY. If you published it, claim ownership there.

set_site

Idempotent

Create or update the project's hosted frontend site, served at https://{name}.{SITES_DOMAIN}; the URL set_site returns is the real one. One site per project. Creating it only reserves the name and is instant; nothing is served until deploy_frontend + finalize_frontend_deployment publish a build.

name is the hostname label, unique across ALL Aaly customers and immutable: lowercase letters, digits and single hyphens, 1-63 characters. Reserved names (api, www, login, status...) and names imitating a brand are refused; pick something specific to the app.

mode: 'spa' (default) serves /index.html for any path without a file extension, for client-side routers (Vite + React/Vue/Svelte). 'static' serves /about/index.html for /about, for pre-rendered sites (Next.js output: 'export', Astro, SvelteKit adapter-static).

app_url is only for an app hosted elsewhere: password-reset and email-verification emails link to it instead of the site URL.

status: 'suspended' takes the site offline (visitors get a 451 page); 'active' restores it.

Each account can create 25 new sites in any 24 hours; a refusal says how many have been created and when the next can be. Publishing to an existing site is not counted. Read aaly://platform/hosting before building a frontend.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "set_site"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNo
nameNoHostname label. Required when the project has no site yet.
statusNo
app_urlNohttps:// URL of the app when it is not served from the site itself.
project_idNoGet it from whoami or list_projects.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / project_id / description
      Previous value: -"Optional if whoami returned a default_project_id."New value: +"Get it from whoami or list_projects."
  2. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false, idempotentHint=true, destructiveHint=false. The description adds far more: a concrete rate limit (25 new sites per 24 hours with a refusal that reports counts and reset time), that name is globally unique and immutable, that reserved/brand-imitating names are refused, that suspended serves a 451 page, and that publishing to an existing site is not rate-counted.

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?

The paragraph-per-parameter layout with backticked parameter names is easy to scan and the purpose is front-loaded. It is on the long side and a few phrasings are wordy ("the URL set_site returns is the real one"), but essentially every sentence carries operational information.

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 mutation tool with no output schema and no required parameters, the definition still covers the return value (the real site URL), the create-vs-update distinction, prerequisites, quota behavior, and the lifecycle link to the deploy tools. Nothing an agent needs in order to call it correctly appears 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?

With 60% schema coverage, the description compensates well: it spells out name's charset/length/immutability constraints beyond the schema's short hint, explains the spa vs static serving semantics and the default, and states the exact effect of status values. Only project_id is left entirely to the schema hint, which is a minor residual gap rather than an ambiguity.

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?

The opening clause gives a precise verb plus resource ("Create or update the project's hosted frontend site") and immediately scopes it with the serving URL pattern and the one-site-per-project rule. It also distinguishes itself from the deployment siblings by stating that creation only reserves the name and nothing is served until deploy_frontend + finalize_frontend_deployment run.

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?

It names the alternatives (deploy_frontend, finalize_frontend_deployment) and the condition that selects them, states a prerequisite ("Read aaly://platform/hosting before building a frontend"), and clarifies that app_url applies only when the app is hosted elsewhere. An agent knows both when to call this and what must happen around it.

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