Skip to main content
Glama

List files

list_files
Read-onlyIdempotent

Lists the files and folders in one folder of a Pagehaus site, using the Pagehaus files API (https://pagehaus.app/help/api). path is a folder inside the site, such as "/" or "/blog".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoFolder path from the site's top, e.g. "/" or "/blog"./
siteYesThe site name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/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 the safety profile is covered. The description adds that this goes through the Pagehaus files API (with a docs link), but says nothing about ordering, pagination, or what a returned entry looks like for a mutation-free listing tool.

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?

Two tight sentences, with the scope statement front-loaded and the path clarification second. The inline API help URL is marginally useful but is the only bit of text that is not strictly needed to invoke the tool.

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 two-parameter read-only listing with full schema coverage and annotations covering safety, nothing essential is missing: resource, scope, and the one non-obvious parameter are all stated, and no output schema exists that would need describing.

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 both parameters are documented there, so the schema carries the load. The description restates the path semantics (folder inside the site, e.g. "/" or "/blog") but adds no formatting, normalization, or error behavior beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (lists) and resource (files and folders in one folder of a Pagehaus site), with the scoping constraint that it covers a single folder. The resource noun naturally separates it from list_sites/list_domains/list_activity, but it never explicitly differentiates listing from read_file/write_file/delete_file, which is the sibling pair an agent could confuse.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the mention of "one folder" and the path parameter suggest browsing a directory before reading or writing a specific file. There is no explicit when-to-use, no stated exclusion, and no pointer to read_file as the next step, so the agent must infer the routing.

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