Skip to main content
Glama

DodoDentist Dental Clinic

Read the files of a website builder draft

read_website_files
Read-onlyIdempotent

Use this when someone wants their website builder draft changed, to see its files before editing them. Returns the list of files, or the complete contents of up to 10 files, at the newest checkpoint or one named. 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>"
    },
    "name": "read_website_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathsNoFiles to read, such as src/copy.js; leave out to list every file
websiteIdYesWebsite id, from get_website_settings
checkpointNoRead the files as an earlier checkpoint left them; leave out for the newest

Output Schema

NameRequiredDescriptionDefault
filesYes
pathsYesEvery file of the website, when no paths were asked for
statusYes
websiteIdYes
builderUrlYes
checkpointYesThe checkpoint these files were read at; write_website_files takes it as parentCheckpoint
missingPathsYes
skippedPathsYesFiles too large for this answer; read each in a call of its own
newestCheckpointYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds real behavioral context beyond them: the return shape (file list vs. full contents), the 10-file cap, and the checkpoint dimension (newest or a named earlier one). It does not address failure modes such as an unknown path or checkpoint, which keeps it from a 5.

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 with the usage trigger front-loaded, followed by return behavior and then the exclusion. Nothing is redundant, and the negative boundary is placed last where it does not obscure the primary purpose.

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?

With an output schema present and full annotation coverage, the description need not explain return values or safety, and it still summarizes both. For a three-parameter read tool this is nearly complete, with only edge-case behavior (missing paths, invalid checkpoints) left unstated.

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% and each parameter already documents its semantics, including omitting paths to list everything and omitting checkpoint for the newest. The description reinforces the 10-file cap and the list-vs-contents tradeoff, but that is marginal added meaning over the schema, so the baseline 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?

The description names a specific verb and resource ('see its files' of a 'website builder draft') and scopes it to reading before editing. The closing clause 'Not for the settings of the public site' explicitly separates it from get_website_settings, so an agent can distinguish it from siblings without opening a 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?

'Use this when someone wants their website builder draft changed, to see its files before editing them' gives a clear triggering condition and positions it as the read step preceding write_website_files. It also states a negative boundary (not public site settings), though it stops short of naming the concrete sibling to use for that other need.

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