Skip to main content
Glama

Deploy a site

deploy_site
Destructive

Uploads files and makes them live on a {subdomain}.runlitehost.com address. Without a siteId it creates a new site (name is required; the subdomain is derived from it unless given); with one it updates that site. Deployment is atomic: every file goes live or none does, and the files sent become the whole site: a live file not among them is removed. A root index.html is required, and a deploy carries at most 200 files and 4 MB in total. A new site counts against the plan's site limit, and past it the result is quota_exceeded. Only website files are accepted (no programs, installers or archives). Pages with password, card, one-time-code, PIN or wallet-phrase fields are refused unless the site has its own custom domain (a paid plan). When the monthly deployment allowance is used up, the files are saved as a draft and published is false.

Input Schema

NameRequiredDescriptionDefault
nameNoRequired when creating.
filesYes
siteIdNoOmit to create a new site.
messageNoShown in deployment history. e.g. "Added catering page"
subdomainNoRequested subdomain. Derived from name if omitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare destructive/non-idempotent; the description adds far more: atomicity ('every file goes live or none does'), whole-site replacement semantics (unsent live files are removed), hard limits of 200 files and 4 MB, a required root index.html, quota_exceeded on site-limit overflow, content-type refusals for sensitive fields without a paid custom domain, and the draft fallback with published=false. All of this is consistent with destructiveHint=true and gives the agent the failure surface it needs.

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-loads the core action and the create/update fork in the first two sentences, then layers constraints. It is dense and long, but nearly every clause carries a real operational constraint; a slightly tighter grouping of the quota/policy rules would improve scanability.

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 destructive, non-idempotent mutation with no output schema, the description covers limits, failure modes, and policy refusals, plus hints at the response shape (published=false, quota_exceeded). It does not describe the overall return structure or what an update does to a site's deployment history beyond the message field, leaving a minor gap.

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 80% schema coverage the baseline is 3, and the description earns above that by tying semantics together: name is required only when creating, subdomain is derived from name unless given, and siteId omission flips the mode. It adds little on files, message, or encoding, 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 ('Uploads files and makes them live') with concrete scope ('{subdomain}.runlitehost.com address'), and immediately splits the create-vs-update behavior on siteId. An agent can distinguish this from siblings like upload_files, start_upload, or update_site without opening any schema.

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?

Explicitly says 'Without a siteId it creates a new site ... with one it updates that site', giving clear when-to-use branching. It does not name sibling alternatives (e.g. upload_files or publish_upload) or say when not to use full deploy versus a partial update, so it stops short of the top band.

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