Skip to main content
Glama

Change a website

update_site
Destructive

Changes an existing site's pages: small find/replace edits (preferred), whole files, deleted files, or the form email; a change takes about 1–3 minutes. All changes apply together as one new version (undo with restore_version). note is required: what you changed and why. Photos: /_g/photo?q= gives real photos, and &scene=<one sentence about this business's place or work> on up to 3 large ones makes them with AI; image URLs written from memory are often fake, and ones that don't load are replaced.

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_id": "<site_id>",
      "note": "<note>"
    },
    "name": "update_site"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteYesREQUIRED. 1–2 plain sentences: what you changed and why, e.g. "Rebuilt the menu page, added lunch prices, moved contact to the footer." The owner sees it in Ginta's editor; Ginta's own AI reads it.
editsNoFind/replace edits (preferred).
filesNoWhole files to add or replace (only the changed ones).
deleteNoPaths of files to delete (not index.html).
site_idYesThe site id: the first part of the site URL, e.g. "bella-roma" for https://bella-roma.ginta.page (see list_sites).
notify_emailNoAnother address for form messages ("" = back to the account email).

Output Schema

NameRequiredDescriptionDefault
urlYesThe site's address.
textYesThe answer in words, the same as the text content: read it (for get_guide the whole guide, for get_site the files' contents).
checkYesGinta's visitor check of the site: forms, parts, links.
changedYesFiles changed.
deletedYesFiles deleted.
noticesYesSentences to tell the owner word for word.
site_idYesThe site id.
versionYesThe new live version number.
warningsYesThings to look at (the change was saved).
manage_urlNoThe website in Ginta: messages, visitors, domain, payments. Give it to the owner once.
notify_emailYesAnother address form messages go to, masked (null = the account email).
images_swappedNoOutside images that didn't load and were replaced with Ginta photos.
owner_next_stepsNoOnce per account (and once more later): what the owner gets with a plan and how to start it. Follow its instruction.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / manage_url
      Added value: +{
      +  "description": "The website in Ginta: messages, visitors, domain, payments. Give it to the owner once.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / owner_next_steps
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "Once per account (and once more later): what the owner gets with a plan and how to start it. Follow its instruction.",
      +  "properties": {
      +    "checkout_url": {
      +      "type": "string"
      +    },
      +    "example_domain": {
      +      "type": "string"
      +    },
      +    "instruction": {
      +      "description": "How to say it.",
      +      "type": "string"
      +    },
      +    "lang": {
      +      "type": "string"
      +    },
      +    "plan": {
      +      "type": "string"
      +    },
      +    "say": {
      +      "description": "What to tell the owner, in their language.",
      +      "type": "string"
      +    },
      +    "trial": {
      +      "description": "true = the €1 trial.",
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "say",
      +    "plan",
      +    "trial",
      +    "checkout_url",
      +    "example_domain",
      +    "lang",
      +    "instruction"
      +  ],
      +  "type": "object"
      +}
  2. Changed2 schema fields changed
    • addedOutput schema / properties / text
      Added value: +{
      +  "description": "The answer in words, the same as the text content: read it (for get_guide the whole guide, for get_site the files' contents).",
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "site_id",
      -  "url",
      -  "version",
      -  "warnings",
      -  "notices",
      -  "check",
      -  "changed",
      -  "deleted",
      -  "notify_email"
      -]New value: +[
      +  "site_id",
      +  "url",
      +  "version",
      +  "warnings",
      +  "notices",
      +  "check",
      +  "changed",
      +  "deleted",
      +  "notify_email",
      +  "text"
      +]
  3. Changed1 schema field changed
    • changedOutput schema / properties / notify_email / description
      Previous value: -"Where form messages go (null = the account email)."New value: +"Another address form messages go to, masked (null = the account email)."
  4. Changed1 schema field changed
    • addedOutput schema / properties / images_swapped
      Added value: +{
      +  "description": "Outside images that didn't load and were replaced with Ginta photos.",
      +  "items": {
      +    "additionalProperties": {},
      +    "properties": {
      +      "path": {
      +        "description": "The page or stylesheet.",
      +        "type": "string"
      +      },
      +      "photo": {
      +        "description": "The Ginta photo search put in its place (\"\" = removed, the image next to it shows).",
      +        "type": "string"
      +      },
      +      "url": {
      +        "description": "The image URL that didn't load.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "path",
      +      "url",
      +      "photo"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  5. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare destructive/openWorld; the description adds real behavior beyond them: changes take ~1–3 minutes, all edits commit atomically as one new version, undo happens via restore_version, and the note is seen by the owner in Ginta's editor. The photo guidance also discloses what happens to image URLs that fail to load, which is non-obvious system behavior.

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?

Core action, timing, atomicity, and the required-note rule are front-loaded in the first two clauses. The trailing photo material is relevant but dense and semi-colon-packed, slightly diluting the primary instruction.

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 6-parameter destructive mutation with an output schema and full annotation coverage, nothing essential is missing: the agent knows the edit modes, the required note and its audience, the latency, the atomicity, and how to undo.

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 100% schema coverage the baseline is 3; most parameter talk (note is required, what you changed and why) restates the schema. The added value is the photo-URL guidance, which tells the agent what content is legitimate to place in file bodies rather than inventing image paths.

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?

Opens with a specific verb and resource ("Changes an existing site's pages") and immediately enumerates the four modes of change: find/replace edits, whole files, deletions, and form email. An agent can distinguish it from create_site, get_site, and manage_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?

Names its preferred mode explicitly ("small find/replace edits (preferred)") and routes undo to the sibling restore_version. It does not, however, say when to use this instead of manage_site, or suggest preview_site first — a notable omission for a destructive write tool with a sibling previewer available.

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