Skip to main content
Glama

List the site's pages

list_site_pages
Read-onlyDestructive

On one site of the account, named in site. Every page of this site that is a file rather than a post — its path on the site, the file it comes from, .liquid or .html, its title and its layout — with the files under assets/. Call this first, and read pixelglass://site-pages/contract before writing one.

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": "<site>"
    },
    "name": "list_site_pages"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYesThe site to work on, as list_sites names it

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?

The annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile carries little burden; the description adds the notable scope detail that assets/ files are included in the result set. It says nothing about result volume, pagination, or ordering for a site that could contain many pages, and the annotations themselves are internally odd (readOnlyHint=true alongside destructiveHint=true), which the description does not clarify.

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?

Every clause carries information and the workflow instruction is front-loaded at the end sentence, but the text is written as sentence fragments ('On one site of the account, named in site.') and the em-dash enumeration of return fields is jumbled enough to slow parsing for a two-sentence description.

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 correctly compensates by spelling out the returned fields and the assets/ inclusion, and it points to the contract resource that governs the write path. For a one-parameter read tool this covers what an agent needs to call it and interpret results, with only result-size behavior left open.

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?

With 100% schema coverage and a single required parameter, the schema already explains that 'site' is the site as list_sites names it. The description's 'named in site' restates that rather than adding format or validation detail, so the baseline 3 applies.

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?

The description enumerates the exact resource returned (page path, source file, .liquid/.html, title, layout, plus assets/ files) and explicitly carves out the boundary 'a file rather than a post', which separates it from list_posts. There is no explicit verb like 'list', but the scope is unambiguous enough that an agent knows what it gets.

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?

It gives concrete sequencing guidance: 'Call this first' and 'read pixelglass://site-pages/contract before writing one', which ties it to the write path without naming write_site_page. It lacks explicit when-not-to-use guidance (e.g. when read_site_page or list_theme_files is preferable), so it is clear context rather than full 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