Skip to main content
Glama

list_pages

Read-only

Retrieve pages in a Docmost space as recently updated items or sidebar-ordered root pages, with cursor, limit, and verbose options for browsing and auditing wiki content.

Instructions

List pages in a space. view=recent (default) is recently updated pages, not the sidebar tree; view=tree is space-root pages in sidebar order. Use list_child_pages for children.

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

Input Schema

NameRequiredDescriptionDefault
viewNorecent (default) or tree for sidebar-root pages
limitNo
cursorNometa.nextCursor
verboseNoFull metadata
space_idYesUUID or slug

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so safety is covered; the description adds real behavioral context about what each mode returns and the default behavior. It does not mention pagination behavior despite limit/cursor parameters, which is the remaining gap.

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 short sentences, front-loaded with the core purpose, then the mode semantics, then the sibling pointer. No filler and no restatement of the tool name.

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?

For a 5-parameter read tool with no output schema, the description covers the highest-risk ambiguity (mode semantics and hierarchy boundary) well. It leaves pagination and verbose-mode behavior to the schema, a minor omission rather than a blocking one.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 80%, so the baseline is 3, but the description adds meaning beyond the schema's terse "recent (default) or tree for sidebar-root pages" by explaining what each mode actually enumerates. The limit, cursor, and verbose parameters get no narrative treatment, though their schema descriptions carry them.

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?

Opens with a specific verb+resource+scope ("List pages in a space") and immediately disambiguates the two modes: recent = recently updated, tree = space-root pages in sidebar order. It also names the sibling it is not (list_child_pages for children), so an agent can distinguish it 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 Guidelines5/5

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

Explicitly states which view to pick and what each returns, including the corrective note that view=recent is NOT the sidebar tree — a likely wrong assumption an agent would otherwise make. It also names the alternative tool and the condition that selects it ("Use list_child_pages for children").

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.