Skip to main content
Glama
pdogra1299

Dependency Tracer MCP Server

by pdogra1299

trace_callers

Trace all callers and importers of a function or component to identify impacted tests and entry points.

Instructions

Trace what depends on a function/component (incoming edges). Shows all callers, importers, and parent components. Use this to answer: "I changed function X, what tests need updating?" or "What entry points reach this code?"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codebaseYesCodebase name (the name you used when calling index_codebase)
symbolYesFully qualified symbol name or partial name for search
max_depthNoMaximum traversal depth (default: 5, max: 20)
edge_kindsNoFilter by edge kind
symbol_kindsNoFilter by symbol kind
Behavior3/5

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

No annotations provided, so description carries full burden. It states what the tool shows (callers, importers, parent components) and gives examples. It does not mention read-only nature, side effects, or auth requirements, but the examples imply a safe analytical tool.

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?

Three sentences: first defines the action, second provides usage examples. No redundancy, perfectly front-loaded.

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 purpose and usage well. Schema covers all parameters. It could mention output format or pagination, but the examples and sibling context make it adequate.

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 baseline is 3. Description does not add significant parameter details beyond the schema. It mentions 'incoming edges' which relates to edge_kinds but not specifically.

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?

Description clearly states 'Trace what depends on a function/component (incoming edges)' and gives specific use-case examples. It distinguishes from sibling trace_callees (outgoing edges) implicitly.

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?

Description explicitly says 'Use this to answer: ...' for two common scenarios. It doesn't mention when not to use or alternative tools, but the context is clear enough.

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