Skip to main content
Glama

get_wiki_tree

Fetch a wiki's page hierarchy as a tree of titles and UUIDs, excluding content. Narrow by parent page or depth to locate a specific page's UUID quickly.

Instructions

Every page in a wiki as a tree — titles, uuids and nesting — without any page content. This is the cheap way to find a page uuid when you know roughly where it sits; search_wiki is the way when you know roughly what it says. Follow up with get_wiki_page for the content of one. A wiki you cannot open is a 404, the same one a wiki that does not exist gives. A big wiki is tens of thousands of tokens of metadata, so narrow it with parent_page_uuid and depth rather than reading all of it to find one uuid.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
depthNoHow many levels of nesting to return. 1 is the top level alone — the whole wiki's top-level pages, or just `parent_page_uuid` itself when one is given; 2 adds their children. Omit for every level.
wiki_uuidYes
parent_page_uuidNoReturn only this page and everything nested under it. The uuid must be a page in THIS wiki — anything else is an error naming it, not an empty tree. Omit for the whole wiki.
Behavior4/5

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

With no annotations, the description carries the transparency burden. It discloses the return contents (titles, uuids, nesting, no page content), the 404 behavior for unopenable/nonexistent wikis, and the token cost of large wikis. It does not explicitly state read-only or describe the output tree structure in detail, but it covers key behavioral traits sufficiently.

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?

The description is four sentences, each earn its place: it states the core output, positions against alternatives, explains the 404 case, and gives performance advice. Front-loaded and free of 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?

Given the tool's complexity and lack of output schema, the description is remarkably complete. It covers what the tree contains, when to use it over alternatives, how to follow up with get_wiki_page, error semantics for inaccessible wikis, and scaling guidance for large wikis. An agent can confidently select and invoke this tool based on this description alone.

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?

Schema coverage is 67%, with depth and parent_page_uuid already having descriptions. The description adds meaning by recommending these parameters for narrowing large trees ('narrow it with parent_page_uuid and depth rather than reading all of it'). wiki_uuid lacks a description but is inherently clear from its name and format.

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?

The description states exactly what the tool does: 'Every page in a wiki as a tree — titles, uuids and nesting — without any page content.' It identifies the specific verb (get), resource (wiki tree), and output scope clearly. It also distinguishes itself from siblings by directly referencing search_wiki and get_wiki_page, making its unique role explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

The description provides explicit guidance: 'This is the cheap way to find a page uuid when you know roughly where it sits; search_wiki is the way when you know roughly what it says.' It also advises when to use depth and parent_page_uuid to avoid reading large trees, which is practical usage direction.

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/Developyn/laver-mcp'

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