Skip to main content
Glama

get_documentation_outline

Retrieve the complete directory structure of a repository's documentation, including page titles, slugs, and hierarchy. Automatically triggers indexing if the repository is not yet processed.

Instructions

获取仓库文档的完整目录结构。

返回仓库的文档目录树,包含所有页面的标题、slug 和层级关系。 首次调用会自动提交索引请求,如果仓库未被索引会返回等待状态。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repo_pathYes仓库路径,格式: owner/repo 或完整 URL
languageNo文档语言,可选 "zh" 或 "en"zh
Behavior4/5

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

No annotations are provided, so the description carries full burden. It discloses that the tool may automatically submit an indexing request and return a waiting state if the repository is not yet indexed. This is valuable behavioral context beyond the basic output, though it could mention rate limits or auth requirements.

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 concise, with two sentences that quickly convey the purpose and an important behavioral note about indexing. It is front-loaded and free of unnecessary words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

While the description covers the main function and indexing behavior, it lacks details about the output format (e.g., structure of the tree, response fields). Since there is no output schema, more completeness would help the agent understand what to expect. However, it does mention titles, slugs, and hierarchy, providing partial guidance.

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?

The input schema already provides 100% coverage, describing both parameters (repo_path and language) with clear descriptions. The description adds no extra semantic detail beyond confirming the language parameter's purpose, so it meets the baseline.

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 clearly states the tool retrieves the complete document directory tree of a repository, listing titles, slugs, and hierarchy. This distinguishes it from siblings like fetch_documentation_page (fetches a specific page) and search_documentation (searches content).

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?

The description mentions automatic indexing behavior on first call, which is useful context, but does not explicitly state when to use this tool vs alternatives or when not to use it. No exclusions or alternatives are provided.

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/ejfkdev/zread-mcp'

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