Skip to main content
Glama

List website files

list_website_files
Read-onlyIdempotent

Lists every file saved on a website, with each path and its size in bytes, its limits (the files and bytes this website may hold, and limits.saves, how many times it may be saved, null for no limit) and saves (the times it has been saved), beside the viewUrl, keepUrl, pages, passed and any problems. It changes nothing. The paths are the ones read_website_file and delete_website_file take; read_website_file on a photo shows it to you with its width and height. It also returns siteZip, an address that gives the whole website as one zip (curl -o site.zip) and takes one back (curl -T site.zip), for an AI that can run commands.

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": "list_website_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
editKeyNoThe editKey start_website returned, which proves the website is the caller's. Leave it out for a website in the connected account.
websiteIdYesThe websiteId start_website returned, or one list_sites shows.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so 'It changes nothing' is consistent reinforcement rather than new information. Beyond that it discloses substantial behavior the annotations don't: the returned field set, that limits.saves can be null to mean no limit, and that siteZip is a URL you can both download from and PUT back with curl. It stops short of stating ordering or the exact response shape, but the safety and side-effect profile is unambiguous and non-contradictory.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded, but the body is one long run-on sentence dense with parenthetical clauses about limits, saves, and siteZip, which makes the return-field list hard to scan. Every fact is arguably useful, yet the packing order and lack of sentence breaks cost readability.

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?

There is no output schema, so the description rightly carries the burden of explaining return fields and it does so fairly thoroughly, including the null-means-unlimited convention and the siteZip side-channel. Only minor details such as ordering of the file list or response envelope are left implicit, which is acceptable for a read-only listing tool.

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%, with editKey and websiteId both carrying pattern constraints and descriptions explaining where the values come from and when editKey may be omitted. The prose adds no parameter-level detail beyond that, so the schema does all the work and 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?

States a specific verb and resource ('Lists every file saved on a website') and immediately enumerates what is returned (paths, sizes, limits, saves, viewUrl, keepUrl, pages, passed, problems). It also distinguishes itself from siblings by noting the paths are exactly the ones read_website_file and delete_website_file consume, so an agent can place it in the workflow without opening other schemas.

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?

Clear routing context: it implies use when you need the inventory of files, and explicitly contrasts with read_website_file, which is what you call to actually view a photo with its width and height. It also carves out a separate path (siteZip with curl) for bulk retrieval to an agent that can run commands. No explicit 'when not to use', but the alternatives are named with conditions.

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.