Skip to main content
Glama

List pages and folders

list_pages
Read-only

Lists the site's pages and folders on a branch: each page's address, file and whether it has a variable part (collection pages and other :slug routes), each folder (explicit or from page addresses and collection URL folders) with its name, folder page, page count and the collections whose items live in it, how Xodia can change pages on this site, and which pages are locked on the workspace's plan (past the pages it can edit: read, check and publish them, never change them). Read it before adding or moving pages. Reads only.

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": {
      "projectId": "<projectId>"
    },
    "name": "list_pages"
  }
}

Input Schema

NameRequiredDescriptionDefault
branchNoOptional branch; default the branch the workspace has open
projectIdYesProject id from list_projects

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, and the description's 'Reads only' is consistent with that. It adds real context beyond the annotations — the plan-level lock model ('read, check and publish them, never change them') and how Xodia may alter pages on the site. Those are useful behavioral disclosures, though they describe returned data rather than side effects of calling it.

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?

It is appropriately front-loaded with the main purpose and contains no filler, but the entire body is a single dense run-on sentence stacked with parentheticals and comma-separated clauses, which hurts scanability. Splitting the returned-fields enumeration from the prerequisite sentence would cost no information.

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 carries the burden of explaining the return shape, and it does so thoroughly for pages, folders and locked pages. It says nothing about result size, pagination or ordering, which is the only material gap for a 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 description coverage is 100%, with 'branch' documented as defaulting to the open branch and 'projectId' pointing to list_projects, so the schema does the work. The description only echoes the branch scoping ('on a branch') without adding format or edge-case detail, which is the expected baseline when the schema is complete.

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 the site's pages and folders on a branch') and then enumerates what the listing contains: page address, file, variable-part flag, folders with name/page count/collections, editing capabilities, and plan-locked pages. An agent can distinguish this from list_collections or list_files without opening any 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?

'Read it before adding or moving pages' gives an explicit prerequisite relationship to the create/move workflow. There is no explicit 'do not use this for X, use Y instead' routing to a specific sibling, which keeps it just short of a 5.

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