Skip to main content
Glama

DodoDentist Dental Clinic

Change the files of a website builder draft

write_website_files
DestructiveIdempotent

Use this when someone asks to change their website builder draft: its wording, colours, layout or sections. Returns the new checkpoint, which saves every file given as one change that restore_website_checkpoint can undo; the dentist sees the draft in the app's website builder. Not for the settings of the public site.

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": {
      "websiteId": "<websiteId>",
      "parentCheckpoint": "<parentCheckpoint>",
      "message": "<message>"
    },
    "name": "write_website_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesNoFiles to create or replace
messageYesWhat changed, in the owner's words, such as Moved the reviews above the services. It names the checkpoint in the builder.
websiteIdYesWebsite id, from get_website_settings
deletedPathsNoFiles to delete
parentCheckpointYesThe checkpoint read_website_files read the files at. The change is refused when the website changed since.

Output Schema

NameRequiredDescriptionDefault
statusYes
websiteIdYes
builderUrlYes
checkpointYesThe new checkpoint; null when every file was already as given
changedPathsYes
parentCheckpointYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that all supplied files are saved as a single atomic change, that the returned checkpoint can be undone via restore_website_checkpoint, that the dentist sees the draft in the builder, and that the write is refused if the website changed since the parent checkpoint. That is exactly the mutation, reversibility and concurrency context annotations cannot convey.

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-loaded with the trigger phrase, then two information-dense clauses covering the return value, atomicity, undo path and exclusion. Slightly run-on with stacked relative clauses, but no sentence is filler.

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 destructive multi-file write with an output schema, the description covers what gets changed, that changes are grouped and reversible, who sees the result, and the stale-checkpoint refusal. Nothing an agent needs to decide or invoke correctly is missing, since return shape and size limits live in the schema.

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 description coverage is 100%, so path/content/message/parentCheckpoint semantics are already documented in the schema, making 3 the baseline. The description adds only the framing that 'every file given' becomes one undoable checkpoint; it says nothing about deletedPaths or the 20-file cap beyond what the schema states.

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?

Names a specific verb and resource ('change their website builder draft') and enumerates the scope (wording, colours, layout, sections), which an agent can map to a user request without opening the schema. The closing exclusion ('Not for the settings of the public site') separates it from the update_website_settings sibling.

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?

Gives an explicit trigger ('Use this when someone asks to change their website builder draft') plus a when-not clause steering away from public site settings. It never names the alternative sibling outright and does not mention prerequisites such as needing a checkpoint from read_website_files, which is left to the schema.

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