Skip to main content
Glama

Change a Hostlet site

change_site
Destructive

Edits a website made with make_website from a plain-language request, such as "make the headline shorter", "add our hours: Tue to Sun 7 to 3" or "use warmer colors". Overwrites the live page; the owner can undo from the site's edit view.

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": {
      "site": "<site>",
      "owner_key": "<owner_key>",
      "change": "<change>"
    },
    "name": "change_site"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYesThe site's address name, e.g. "maple-street-bakery" for maple-street-bakery.hostlet.ai.
changeYesThe change, in the user's words.
owner_keyYesThe private owner key returned when the site was made. It proves the caller owns the site.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / change / description
      Previous value: -"What to change, in the user's words."New value: +"The change, in the user's words."
    • addedInput schema / properties / owner_key / description
      Added value: +"The private owner key returned when the site was made. It proves the caller owns the site."
    • changedInput schema / properties / site / description
      Previous value: -"The site address name (e.g. \"maple-street-bakery\")."New value: +"The site's address name, e.g. \"maple-street-bakery\" for maple-street-bakery.hostlet.ai."
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already flag destructive=true, non-idempotent, and open-world, so the safety profile is covered. The description nonetheless adds genuinely new context: the change overwrites the live page immediately and the owner can undo from the site's edit view, which tells the agent the blast radius and the recovery path. It stops short of describing the response or what happens on a failed/ambiguous request.

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?

Two sentences, front-loaded with the action and its sibling relationship, followed by the consequence. The embedded examples of natural-language requests do real work in clarifying input expectations rather than padding the text.

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 three-parameter mutation with no output schema, the definition covers what the tool does, what it affects, and how to recover. It does not say what the caller receives back or whether the change is validated before overwriting, 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.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, and the parameter descriptions already explain site naming, the free-text change, and that owner_key proves ownership. The description adds no new meaning about parameters beyond restating the plain-language nature of `change`, so the baseline of 3 applies.

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 (edits a website) and ties it to the creating sibling by name ("made with make_website"), making clear this is the mutation path for a site that already exists. The three inline plain-language examples of the `change` value make the nature of the operation unmistakable.

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 correct context strongly: use this for plain-language edits to an existing Hostlet site, not for creating one. It does not explicitly exclude or route to ask_site or check_site, so an agent must infer that read/query-style interactions belong elsewhere.

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