Skip to main content
Glama

Dependency conflicts

gradle_deps_conflicts

Runs the Gradle dependencies report for one configuration, listing modules with changed versions, major jumps, and unresolved dependencies.

Instructions

Runs the dependencies report for one configuration and lists only modules whose requested version was upgraded/changed, flagging major jumps and unresolved deps.

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": {
      "projectDir": "<projectDir>"
    },
    "name": "gradle_deps_conflicts"
  }
}

Input Schema

NameRequiredDescriptionDefault
moduleNoGradle module path, default ":app"
maxItemsNoDefault 25
projectDirYesAbsolute path to the Android project (gradlew is searched upwards)
configurationNoDefault "debugRuntimeClasspath"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the agent knows this triggers real execution without destroying state. The description adds useful behavioral detail by bounding the result set (only changed modules) and naming the flags emitted (major jumps, unresolved deps), but it omits that running a dependency report invokes the Gradle build (potentially slow, may resolve/download artifacts) and says nothing about ordering or the format of the flags.

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 dense sentence with the main action front-loaded and the filtering behavior immediately after. Nothing is redundant, though the trailing clauses stack quickly and could be split for readability.

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?

There is no output schema, so the description bears responsibility for the return shape; it does say the result is a list of modules with changed requested versions plus flags for major jumps and unresolved dependencies, which is the essential shape. It still leaves open how flags are represented, whether unchanged modules are ever included, and how maxItems truncation is signaled to the caller.

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 100%, so the baseline is 3; the description goes slightly beyond by emphasizing that the report covers exactly one configuration and that the result list is capped, which gives context to the maxItems parameter. It does not explain version-change detection semantics for module or configuration beyond the schema defaults, so it is a modest gain rather than a full explanation.

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?

The description gives a specific verb and resource ("Runs the dependencies report") plus the exact transformation applied to the output: it lists only modules whose requested version was upgraded or changed. This is far more informative than a name restatement, but it does not distinguish itself from sibling Gradle tools such as gradle_modules or gradle_build.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is the tool for diagnosing dependency-resolution conflicts within a single configuration. There is no explicit "use when" statement, no statement of when to prefer gradle_modules or gradle_build instead, and no prerequisites such as a valid Gradle wrapper.

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