Skip to main content
Glama
UrbanDiver

Local DeepWiki MCP Server

by UrbanDiver

deep_research

Investigate complex codebase architecture using multi-step reasoning: decompose questions, retrieve code in parallel, and synthesize comprehensive answers. Supports checkpointing for long-running research.

Instructions

Perform deep research on a codebase question using multi-step reasoning. Unlike ask_question (single retrieval), this performs query decomposition, parallel retrieval, gap analysis, and comprehensive synthesis. Best for complex architectural questions. Supports checkpointing for long-running research that can be resumed if interrupted.

Requires: index_repository must be called first.

Example: {"repo_path": "/path/to/repo", "question": "How is the event system architected?"}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repo_pathYesPath to the indexed repository
questionYesComplex architectural question about the codebase
max_chunksNoMaximum total code chunks to analyze (default: 30)
presetNoResearch mode preset: 'quick' (fast, fewer sub-questions), 'default' (balanced), 'thorough' (comprehensive, more analysis)
resume_research_idNoOptional checkpoint ID to resume an interrupted research session. Use list_research_checkpoints to see available checkpoints.
Behavior4/5

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

Annotations all false, so description bears the burden. Description explains multi-step process (query decomposition, parallel retrieval, gap analysis, synthesis) and checkpointing behavior. While it doesn't explicitly state read/write nature, the checkpointing implies statefulness, and the overall process is well-described.

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, front-loading the purpose, then differentiation, usage guidance, prerequisite, and example. Every sentence adds value without redundancy.

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 the tool's complexity, the description covers key aspects: purpose, differentiation, prerequisites, and checkpointing. However, it does not describe the output format or return value, which could aid agent understanding. Nonetheless, for a research tool, the output is somewhat implied.

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%, so parameters are already well-documented. The description adds a usage example that demonstrates the required parameters but does not add new semantic details for optional parameters like max_chunks or preset beyond what schema provides. Baseline 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 performs deep research on codebase questions using multi-step reasoning, distinguishing it from ask_question (single retrieval). It specifies the resource (codebase) and the action (deep research), making the purpose unambiguous.

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?

Explicitly says when to use (complex architectural questions) and when not to (simple queries better suited for ask_question). States prerequisite (index_repository must be called first) and mentions checkpointing for long-running tasks, with reference to list_research_checkpoints for resumption.

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