Skip to main content
Glama

Deps.dev OSS Supply Chain & Scorecard MCP

Resolve package dependency graph

get_dependency_graph
Read-onlyIdempotent

Resolve the transitive dependency graph for a specific package version. Returns counts of direct, indirect, bundled, and errored dependencies alongside a structured node list.

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": {
      "system": "<system>",
      "name": "<name>",
      "version": "<version>"
    },
    "name": "get_dependency_graph"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesPackage name (e.g. "express", "axios", "tokio").
limitNoMaximum dependency nodes to list (1 to 250). Default 50.
systemYesPackage ecosystem ("npm", "pypi", "go", "cargo", "maven", or "nuget").
versionYesExact version string (e.g. "4.21.2").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so the safety profile is covered. The description adds real value by disclosing the return shape — counts of direct, indirect, bundled, and errored dependencies plus a structured node list — which matters because no output schema exists. It stops short of noting truncation behavior tied to the limit parameter or the cost of an open-world network resolution.

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?

Two sentences, front-loaded with the action and scope, followed by the return contents. No filler or redundant restatement of the title.

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?

With no output schema, the description appropriately summarizes what comes back, and the fully documented schema handles the inputs. The remaining gap is behavioral: what happens when the graph exceeds the 250-node cap or when a dependency errors out, which the mention of 'errored dependencies' only partially covers.

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%, so every parameter is already documented in the schema, including the limit range and ecosystem enum. The description only reinforces 'specific package version' and hints at the node list that the limit parameter caps; it adds no format or semantics beyond the schema, which is the expected baseline here.

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 names a specific verb and resource: 'Resolve the transitive dependency graph for a specific package version.' This clearly distinguishes a full graph resolution from sibling tools like get_package_info or get_version_details, though it never names those siblings explicitly.

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 by the phrase 'transitive dependency graph' — an agent can infer this is for dependency-tree questions rather than version metadata, but the description never states when to prefer it over get_version_details or get_package_info, nor any exclusions or prerequisites.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.