Skip to main content
Glama

List pages

list_pages
Read-only

List wiki pages with metadata and see how many matched versus shown, so a short result isn't mistaken for a small wiki. Filter by tags, locale, creator, or author to narrow the list.

Instructions

Lists pages with their metadata, newest first by default. The result reports how many pages matched as well as how many are shown, so a short answer is never mistaken for a small wiki. Wiki.js has no offset for this query, so narrow with tags, locale, creator_id or author_id rather than paging. Returns no page content; use get_page for that.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagsNoOnly pages carrying all of these tags.
limitNoMaximum number of entries to return (default 50). Wiki.js has no offset for page lists, so narrowing by tags, locale or path beats raising this.
localeNoLocale code. Defaults to WIKIJS_LOCALE. The locale is part of a page’s identity.
order_byNoSort field (default UPDATED).
author_idNoOnly pages last edited by this user id.
directionNo
creator_idNoOnly pages originally created by this user id.
Behavior5/5

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

Beyond the readOnlyHint annotation, the description adds valuable behavioral context: result reports matched vs. shown counts, no offset is supported, no page content is returned, and default ordering is newest first. This helps the agent reason about output meaning without an output schema.

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?

Four sentences, front-loaded with the core purpose and followed by high-value caveats. Every sentence earns its place, with no redundant filler.

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 list tool with no output schema, the description covers result-count semantics, ordering, filtering strategy, and the key limitation (no offset). It also points to get_page for content, making it complete enough for correct invocation.

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?

The schema already covers most parameters, and the description adds the key strategic point that narrowing is preferred over paging, plus the default ordering behavior. This meaningfully clarifies how limit, tags, locale, creator_id, and author_id relate to each other.

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?

Clearly states it lists pages with their metadata and specifies the default ordering (newest first). It also distinguishes itself from get_page by noting it returns no page content, so an agent can tell list from content-fetch behavior.

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?

Explains the no-offset limitation and explicitly tells agents to narrow via tags, locale, creator_id, or author_id rather than paging. It routes content needs to get_page, though it does not explicitly contrast with search_pages or grep_pages.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ni-c/wikijs-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server