Skip to main content
Glama
MCP Visual
by Mauricioo67

Get project dependencies

get_project_dependencies

Build a dependency graph from specified project paths to show how projects reference each other and support impact analysis.

Instructions

Builds the dependency graph that starts at the given projects.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "projectPaths": "<projectPaths>"
    },
    "name": "get_project_dependencies"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectPathsYesProject paths relative to the workspace root

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.2

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden but discloses almost nothing: it does not say whether traversal is transitive or one level, how cycles or missing project paths are handled, whether the operation is read-only, or anything about cost on large graphs. The only behavioral fact given is that the graph is rooted at the supplied projects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short sentence with no filler, and the scoping phrase is front-loaded. It is efficient; the only issue is that the brevity comes at the cost of substance rather than being a model of density.

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?

An output schema exists and the parameter is fully documented in the schema, so return values and input format need not be repeated. What remains missing for a graph-traversal tool with zero annotations is traversal semantics (depth, direction, cycle handling) and read-only reassurance, leaving the definition only minimally complete.

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 description coverage is 100% and there is a single, well-documented parameter ('Project paths relative to the workspace root'), so the schema already does the explanatory work. The description's phrase 'the given projects' only weakly reinforces that multiple paths are accepted and adds no format or resolution detail beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a concrete verb ('builds') and resource ('dependency graph') scoped to 'the given projects', which is better than a restatement of the name. However, it never clarifies the direction or depth of traversal (does it follow dependencies, dependents, or both?) and does not distinguish itself from the sibling 'get_project_references', which an agent could easily confuse it with. Purpose is identifiable but the operational meaning stays vague.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no prerequisites, and no mention of alternatives among the many related siblings (get_project_references, get_project_targets, analyze_project). The agent must infer the use case entirely from the tool name.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.