Skip to main content
Glama

Module Dependencies

module_dependencies

Retrieve the packages a Drupal module release requires from Composer metadata on packages.drupal.org. Omit the version to check the current release.

Instructions

Get the packages a module release requires.

Read from Composer metadata on packages.drupal.org, which is where Drupal publishes dependency data today. Omit version for the newest release.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
versionNo
project_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It usefully discloses the external data source and hints that the source may change ('where Drupal publishes dependency data today'), and 'Get' implies read-only, but it says nothing about auth requirements, rate limits, or failure modes for an external lookup.

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 sentences, front-loaded with the action, followed by source context and the one usage rule. Nothing is redundant and no filler is present.

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 values need not be described. For a two-parameter read tool the description is nearly sufficient, with only the project_id format and any auth/source constraints left 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?

Schema description coverage is 0%, so the description must compensate for both parameters. It explains the version parameter's default behavior ('omit version for the newest release') but leaves project_id fully unexplained (machine name vs. numeric ID, format).

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 (Get) and resource (packages a module release requires), and pinpoints the data source as Composer metadata on packages.drupal.org. It is clearly distinct from module_dependencies_analyze in spirit, but does not name or explicitly contrast with that sibling.

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?

The line 'Omit version for the newest release' gives real conditional guidance for parameter use, but there is no when-to-use vs. when-not guidance and no explicit routing to alternatives such as module_dependencies_analyze or module_compatibility.

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