Skip to main content
Glama

List Docmost page links

list_page_links
Read-only

Lists pages linking to or linked from a page so you can check references before moving or deleting it; supports cursor paging for results.

Instructions

Lists the pages that link to a page, or the pages it links to, most recently updated first and paged by cursor, for checking what would point at a page before moving or deleting it.

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": {
      "pageId": "<pageId>",
      "direction": "<direction>"
    },
    "name": "list_page_links"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum results to return; defaults to 20.
cursorNonextCursor from the previous call, to fetch the next results.
pageIdYesPage id, slug id, or the full page URL copied from the browser.
directionYesincoming lists the pages linking to this page; outgoing lists the pages it links to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds behavior beyond them: results are ordered most recently updated first and paginated by cursor, which an agent needs to know to interpret and continue a result set. Permissions or auth requirements are still unstated, keeping it below a 5.

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?

A single sentence that front-loads what the tool returns before the rationale, with no filler or repeated schema content. It is dense and slightly run-on, but every clause carries 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?

For a read-only, four-parameter listing tool with full schema coverage and no output schema, the description supplies enough to call it correctly: scope, ordering, and paging behavior. The one remaining gap is the shape of each returned link entry, which an agent must discover from the response.

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% and every parameter, including the incoming/outgoing enum and the cursor default, is already documented in the schema. The description's mention of direction and cursor paging largely restates that, adding no new syntax or format detail. Baseline 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 (list pages linking to / linked from a page) and covers both directions in one phrase, which makes it easy to separate from generic listing siblings like list_pages. It stops short of naming any alternative tool explicitly, so the differentiation is 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 Guidelines4/5

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

Gives a concrete use case: checking what would point at a page before moving or deleting it. That is a real when-to-use signal rather than a restatement of the name, though it offers no when-not-to-use condition and points to no alternative tool.

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