Skip to main content
Glama

scan_project_dependencies

Read-only

Scan local project build files to extract declared Gradle and Maven dependencies and apply BOM/platform managed versions via POM fetch.

Instructions

Scan a local project directory to extract declared dependencies from build files (Gradle, Maven). Applies BOM/platform managed versions (effectiveVersion/managedBy) via network POM fetch when platforms are declared.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectPathNoPath to the project root. Defaults to current working directory.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
buildSystemYes
dependenciesYes
deadRepositoryHintsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations declare readOnlyHint and openWorldHint, so safety is covered. The description adds genuine context beyond them: it explains that BOM/platform managed versions are applied and that this involves a network POM fetch, which tells the agent why the operation may be slow or require connectivity. It omits failure modes and offline behavior.

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?

Two tight sentences with the core action front-loaded. The managed-version/network detail is dense but domain-relevant and earns its place.

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?

An output schema exists, so return shape need not be explained. For a single-parameter read-only scan, the description covers the source formats and the BOM resolution mechanism; only error/offline behavior is unaddressed.

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?

Only one parameter and schema description coverage is 100%, so the schema already documents projectPath and its default. The description adds nothing about the parameter, so the baseline of 3 applies.

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+resource: 'scan a local project directory to extract declared dependencies from build files (Gradle, Maven)'. It is meaningfully distinct from sibling get_transitive_graph or audit_project_dependencies. It does not explicitly differentiate itself from audit_project_dependencies, which sounds adjacent.

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?

No when-to-use guidance, no prerequisites, and no alternatives named among the many dependency-analysis siblings. Usage is only implied by the phrase 'local project directory'.

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