Skip to main content
Glama

List orphan pages

list_orphans
Read-onlyIdempotent

Identify unlinked pages in a Folio wiki space by listing every page no visible page links to, returning its ID, path, title and last change. Use it to find orphaned content for cleanup or linking.

Instructions

Lists the pages of one space that no page the caller can see links to (the space home page, templates and .agent are never listed): id, path, title, last change.

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": "<space>"
    },
    "name": "list_orphans"
  }
}

Input Schema

NameRequiredDescriptionDefault
spaceYesSpace slug

Output Schema

NameRequiredDescriptionDefault
pagesYesPages nothing the caller can see links to

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so the safety profile is covered. The description adds genuinely useful behavior the annotations don't carry: results are permission-scoped to links the caller can see, and home pages, templates and .agent are excluded. It does not say what happens with an invalid or unknown space slug, and with an output schema present, return-value detail is not required.

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?

One sentence with the core purpose front-loaded, the qualifying clause in parentheses, and the returned fields at the end. No filler and nothing an agent must read twice.

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 one-parameter read-only list tool with full schema coverage, full annotations and an output schema, the description covers scope, exclusions, permission nuance and returned fields. Only minor gaps remain, such as ordering or result-size expectations for a potentially large listing.

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?

There is a single required parameter at 100% schema description coverage ('Space slug'), so the schema already does the work. The description's phrase 'pages of one space' confirms the parameter scopes the listing to a single space rather than aggregating, but adds no slug format or error semantics.

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?

Names a specific verb and resource ('Lists the pages of one space') and narrows the result set precisely: pages that no page the caller can see links to, with explicit exclusions (space home page, templates, .agent) and the exact fields returned. An agent can distinguish this from list_unresolved_links or get_backlinks without opening a schema.

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?

The definition gives clear conditions for use by defining orphans as link-targets with no visible inbound link, scoped to exactly one space, and it states what is never listed. It stops short of explicitly routing to alternatives (e.g. get_backlinks for the inverse view) or noting that results depend on caller visibility.

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