Skip to main content
Glama

List Wiki page descendants by id

wiki_pages_descendants_list_by_id
Read-onlyIdempotent

All descendant page refs under a numeric page id, auto-paginated.

Instructions

All descendant page refs under a numeric page id, auto-paginated.

The id-based twin of pages_descendants_list. Capped at the configured item cap unless limit is given; each ref carries the child's numeric id and permanent slug.

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": {
      "page_id": "<page_id>"
    },
    "name": "wiki_pages_descendants_list_by_id"
  }
}

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.
limitNoMax refs (omitted: the configured cap).
page_idYesNumeric page id whose subtree to list.
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. Changed2 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"
      +}
    • 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.7/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent and open-world behavior, so the description is free to add what they don't: results are auto-paginated, output is capped at a configured item cap unless limit is passed, and each returned ref carries a numeric id and permanent slug. That is genuinely useful behavioral and return-shape context beyond the structured fields.

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?

Three short sentences, front-loaded with the resource and scope, then the sibling relationship, then the cap and return shape. Nothing is padded, though the 'twin of' phrasing leans on jargon an agent must decode rather than stating the contrast directly.

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?

With seven parameters, no output schema and no nested objects, the description covers the essentials: what is listed, how pagination and the cap behave, and what each ref contains. Coverage of show_all and the actuality filter is delegated entirely to a schema that does document them, so nothing critical is missing.

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%, so the schema already documents all seven parameters including limit, next, actuality and include_self. The description only restates the cap/limit relationship that the schema also encodes, and adds nothing about show_all or the actuality states, so the baseline of 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?

States a specific verb and resource: listing all descendant page refs beneath a numeric page id, plus auto-pagination. It also marks itself as the 'id-based twin of pages_descendants_list', which gives an agent a way to tell it apart from its nearest sibling, though the distinguishing axis (id vs. slug/whoever) has to be inferred rather than spelled out.

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?

Usage is implied rather than stated: an agent can deduce it should pick this over pages_descendants_list when it holds a numeric id, and that a large listing should be chunked with limit/next ('a long listing is better taken in pieces' lives in the schema, not the description). There is no explicit when-to-use or when-not sentence and no prerequisites mentioned.

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