Skip to main content
Glama

List Wiki page descendants

wiki_pages_descendants_list
Read-onlyIdempotent

All descendant refs under SLUG, auto-paginated.

Instructions

All descendant refs under SLUG, auto-paginated.

Capped at the configured item cap unless limit is given; narrow by SLUG for large trees.

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": {
      "slug": "<slug>"
    },
    "name": "wiki_pages_descendants_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
allNoReturn everything, ignoring the cap. A long listing is better taken in pieces: `limit`, then `next`.
nextNoGo on from where an earlier call stopped, with the `next` it returned: the token carries its listing; give what is required again, and nothing else but the limit.
slugYesWiki page slug (its path), e.g. ``users/something/abc``.
limitNoMax descendant refs to return; omitted means the configured cap of a tool (YCLI__HTTP__MAX_TOOL_ITEMS).
show_allNoThe API's ``show_all`` flag.
actualityNoOnly the pages in this state: `actual` or `obsolete`.
include_selfNoAlso return the ancestor page itself.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.142.2
    • addedInput schema / properties / all
      Added value: +{
      +  "default": false,
      +  "description": "Return everything, ignoring the cap. A long listing is better taken in pieces: `limit`, then `next`.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / limit / description
      Previous value: -"Max descendant refs to return; omitted means the configured cap (YCLI__HTTP__MAX_ITEMS)."New value: +"Max descendant refs to return; omitted means the configured cap of a tool (YCLI__HTTP__MAX_TOOL_ITEMS)."
    • addedInput schema / properties / next
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Go on from where an earlier call stopped, with the `next` it returned: the token carries its listing; give what is required again, and nothing else but the limit."
      +}
  2. Addedv0.122.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, and the description adds the genuinely useful behavioral fact that results are auto-paginated and capped at a configured item cap unless `limit` overrides it. However, it never says what a 'descendant ref' contains or whether pagination is token-based versus offset, forcing the agent to read the `next` parameter description to learn that.

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 core behavior front-loaded and the cap caveat immediately after; nothing is padded. The closing 'narrow by SLUG for large trees' is mildly redundant given slug is the sole required parameter, but it earns its place as a performance hint.

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 seven-parameter read-only listing tool with full schema coverage and no output schema, the description covers the essential contract: scope, cap, and overriding via `limit`. The remaining gap is that it never characterizes the shape of the returned refs, which matters more here because there is no output schema to fall back on.

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 coverage is 100%, so all seven parameters are already documented in the input schema, including the cap token name (YCLI__HTTP__MAX_TOOL_ITEMS) and the `next` continuation contract. The description reinforces only `slug` and `limit`, adding no meaning for `all`, `show_all`, `actuality`, or `include_self`, so it sits at the baseline.

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 and resource: list all descendant refs under a given SLUG. The 'under SLUG' framing implicitly distinguishes it from the sibling wiki_pages_descendants_list_by_id, which is keyed on an ID, but the distinction is left implicit rather than stated.

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?

Gives real usage context for pagination (cap applies unless `limit` is given; narrow by SLUG for large trees), which tells an agent how to handle big trees. It does not say when to prefer this over wiki_pages_backlinks_list, wiki_pages_search, or the by_id variant, so sibling selection is left to inference.

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

Deploy Server

Other Tools