Skip to main content
Glama
UrbanDiver

Local DeepWiki MCP Server

by UrbanDiver

export_wiki_pdf

Idempotent

Convert wiki documentation into a printable PDF with formatted pages, page numbers, and table of contents. Requires prior repository indexing.

Instructions

Export wiki documentation to PDF format. Creates a printable PDF document with proper formatting, page numbers, and table of contents.

Requires: index_repository must be called first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
wiki_pathYesPath to the wiki directory (typically {repo}/.deepwiki)
output_pathNoOutput path for PDF file (default: {wiki_path}.pdf)
single_fileNoIf true, combine all pages into one PDF. If false, create separate PDFs for each page. Default: true
Behavior3/5

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

Annotations already provide idempotentHint=true and destructiveHint=false. The description adds the prerequisite requirement but does not detail other behaviors such as file overwriting or error states. It adds some context beyond annotations but not extensively.

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 only two sentences plus a requirement line, all front-loaded with essential information. Every sentence adds value, and there is no extraneous content.

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?

Given no output schema, the description covers key output features (formatting, page numbers, TOC) and the prerequisite. It lacks comparison with sibling tools and details on default output path behavior, but overall it provides sufficient context for a straightforward tool.

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%, with clear descriptions for each parameter. The description does not add additional semantic meaning beyond what the schema provides, so baseline score of 3 is appropriate.

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 exports wiki documentation to PDF format, specifying key features like formatting, page numbers, and table of contents. It also distinguishes from sibling tool export_wiki_html by specifying the PDF output format.

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 description explicitly states a prerequisite (index_repository must be called first), which guides usage. However, it does not provide guidance on when to use this tool versus alternatives like export_wiki_html, or when not to use it.

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/UrbanDiver/local-deepwiki-mcp'

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