Skip to main content
Glama

update_website

Update an existing published website with new HTML content. Requires authentication via edit_key (from the original publish response) or api_key (from the user's dashboard after claiming the site). The html field replaces the entire page — this is a full replacement, not a patch. You can also update assets. Use this when a user asks you to modify, edit, or change a site you previously published. IMPORTANT: You must provide either edit_key or api_key for authentication.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
htmlYesComplete HTML document to replace the existing page with. Must be a valid, self-contained page. This replaces the entire page content.
slugYesThe slug of the site to update (e.g. "hello-world-k3m").
titleNoOptional new title for the page.
assetsNoOptional map of filename to content. If provided, replaces ALL existing assets. Omit to keep existing assets unchanged.
api_keyNoThe user's API key from their dashboard (e.g. "yt_abc123..."). Use this if the user has claimed the site and provided their API key.
edit_keyNoThe edit key returned when the site was originally published (e.g. "ek_9c4d2e7f..."). Use this if you still have it from the publish response.

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It clearly states that the html field replaces the entire page (full replacement, not patch) and that assets, if provided, replace ALL existing assets. It also discloses the authentication requirement via edit_key or api_key, which is critical context for a mutation operation.

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 description is concise and front-loaded with the main purpose, but it contains a slight redundancy: the authentication requirement is stated twice ('Requires authentication...' and 'IMPORTANT: You must provide either edit_key or api_key...'). This extra sentence adds little value and could be trimmed, preventing a perfect score.

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 tool with 6 parameters, a nested assets object, and no output schema, the description provides solid context: when to use, what the html replacement entails, asset behavior, and authentication. It does not describe the response format or error cases, but these are not essential for selecting and invoking the tool given the rich schema.

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. The description adds value beyond the schema by emphasizing that edit_key or api_key must be provided for authentication, even though they are not marked as required in the schema. It also reiterates the full-replacement semantics for html and the replace-all behavior for assets, reinforcing critical parameter implications.

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 description clearly states the tool updates an existing published website with new HTML content, using a specific verb ('Update') and resource ('existing published website'). It distinguishes from siblings by focusing on modifying a previously published site, as opposed to creating (publish_website), deleting (delete_website), or checking status (get_website_status).

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?

The description explicitly says 'Use this when a user asks you to modify, edit, or change a site you previously published,' providing clear context for when to use the tool. It does not explicitly name alternatives or when-not-to-use scenarios, but the context implies it is for existing sites, which differentiates it from publish_website.

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.

TDQS

A4.6/5.0
Disambiguation5/5

Each tool maps to a distinct lifecycle action: publish creates, get reads status, update modifies, delete removes. No overlap in purpose, and descriptions reinforce the boundaries.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern: publish_website, get_website_status, update_website, delete_website. The verbs and nouns are uniform and predictable.

Tool Count5/5

With only 4 tools, the server is tightly scoped to the core website lifecycle. Each tool earns its place, and the count feels appropriate for the service's purpose.

Completeness5/5

The tool surface covers full CRUD: publish (create), get (read), update, delete. There are no obvious dead ends or missing operations for the stated domain of publishing and managing simple websites.

Resources