Skip to main content
Glama
pdogra1299

Dependency Tracer MCP Server

by pdogra1299

index_codebase

Index codebases to build dependency graphs for Haskell and ReScript. Supports incremental updates of changed files, with option for full re-index.

Instructions

Index a codebase to build the dependency graph. Supports Haskell and ReScript. Performs incremental indexing (only changed files) unless force_full is set. For Haskell, optionally uses hie-reader binary for rich type info; falls back to source parsing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
root_pathYesAbsolute path to the codebase root directory
nameYesName for this codebase (used in all subsequent queries)
languageYesProgramming language
force_fullNoForce full re-index, ignoring mtime cache
hie_dirNo[Haskell only] Path to .hie files directory. If omitted, searches dist-newstyle/
Behavior4/5

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

With no annotations, the description covers key behaviors: incremental indexing by default, fallback to source parsing for Haskell, and optional hie_dir for richer type info. However, it omits performance characteristics, side effects (e.g., state modifications), and error handling.

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 two sentences, front-loaded with core purpose, and efficiently conveys key details without redundancy. Every sentence adds value.

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 100% schema description coverage and no output schema, the description adequately explains the tool's purpose and key behaviors. However, it does not mention return values or error scenarios, which would improve completeness.

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?

All parameters have schema descriptions (100% coverage), so baseline is 3. The description adds value by explaining incremental indexing (force_full), Haskell-only parameter (hie_dir), and fallback behavior, exceeding what the schema alone provides.

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 indexes a codebase to build a dependency graph, specifying supported languages (Haskell and ReScript) and incremental indexing behavior. This distinguishes it from sibling tools which are query/analysis tools.

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 implies usage for building/updating an index but does not explicitly say when to use vs. alternatives or when not to use. It lacks guidance on prerequisites or error conditions, though the context of sibling tools clarifies its role.

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/pdogra1299/dep-tracer-mcp'

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