Skip to main content
Glama

project_dependency_map

Visualize a project’s inheritance as a graph, with nodes and edges, and detect dependency cycles to understand project structure and avoid circular references.

Instructions

Show project inheritance as a graph.

Args: project: Project name; defaults to the active project.

Returns: Nodes, inheritance edges and any detected cycle.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "project_dependency_map"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose that this is a read-only inspection returning nodes, inheritance edges and any detected cycle. It says nothing about scale limits, depth of traversal, or how cycles are reported, which matters for a graph operation.

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 short lines with zero filler: purpose first, then the single argument and its default, then the return contents. The docstring-style Args/Returns layout is slightly mechanical but costs nothing in length.

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?

For a single-optional-parameter read tool with an output schema, this covers purpose, the argument's default, and a summary of the return shape. The only meaningful gap is the absence of any guidance on when to prefer this over the related inheritance tools.

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?

Schema coverage is 0%, so the description must compensate, and it does: it names the parameter as a project name and explains that it defaults to the active project when omitted. That default behavior is the key semantic an agent needs and is absent from the schema.

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

Purpose4/5

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

States a specific verb and resource: "Show project inheritance as a graph." That is clearly distinct from a validator like check_project_inheritance or a lookup like get_parent_project, though the description never names those siblings to reinforce the distinction.

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 explicit when-to-use or when-not-to-use guidance. An agent must infer from the word "graph" that this is the visualization option rather than the boolean/validation option offered by the inheritance-checking siblings.

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

Deploy Server

Other Tools