Skip to main content
Glama

Re-deploy an existing site

update_site
Destructive

Re-deploys an existing site atomically, replacing all of its files: a live file not sent is removed. siteId is required, so it never creates a new site. Otherwise the same rules apply as for any deploy: a root index.html, website files only, and the plan limits.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filesYes
siteIdYes
messageNoShown in deployment history. e.g. "Added catering page"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, and the description explains exactly why: 'replacing all of its files: a live file not sent is removed' and 'atomically'. It adds preconditions the annotations don't carry (root index.html required, website files only, plan limits), so the agent knows what gets destroyed and what will be rejected.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences, front-loaded with the operation and its destructive scope, then the siteId constraint, then inherited rules. No repetition of the title or filler.

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 3-parameter mutation with no output schema, the description covers replacement semantics, atomicity, and deploy constraints — enough to call it safely. It does not say what the caller receives back on success/failure, which is the main remaining 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?

Schema coverage is only 33% (siteId and files have no top-level descriptions), and the description compensates by explaining that siteId is required and that files is a full replacement set rather than a delta. The message parameter is left to the schema, which already documents it ('Shown in deployment history').

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 ('Re-deploys an existing site atomically, replacing all of its files') and explicitly distinguishes itself from create-type siblings with 'siteId is required, so it never creates a new site'. An agent can route between update_site and deploy_site 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Implies the create path belongs to deploy_site and frames this as the existing-site path, plus 'the same rules apply as for any deploy' gives context for what it inherits. It does not name deploy_site or patch_site directly as alternatives or state when not to use this tool, so the guidance is clear but not fully explicit.

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