Skip to main content
Glama

get_transitive_graph

Read-only

Fetch the resolved transitive dependency graph for a Maven GAV via deps.dev, returning nodes and edges. Flags partial results when the service is unreachable or the graph is truncated.

Instructions

Fetch the resolved transitive dependency graph for a Maven GAV via deps.dev GetDependencies. Returns nodes (g/a/v) and edges (from/to indices). Partial results are flagged when deps.dev is unreachable, returns errors, or the graph is truncated by the node cap.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
groupIdYesMaven group ID
versionYesMaven version
artifactIdYesMaven artifact ID

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
edgesYes
errorNo
nodesYes
groupIdYes
partialYes
versionYes
truncatedYes
artifactIdYes
graphErrorNo
nodeErrorsNo
capabilityUnavailableNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations declare readOnlyHint and openWorldHint, so the safety profile is covered; the description goes further and discloses degraded-mode behavior — partial results flagged when deps.dev is unreachable, errors, or truncation by a node cap. This is exactly the kind of context annotations cannot carry. It stops short of describing pagination or how partials are surfaced in the payload.

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 tight sentences: capability first, output shape second, failure/degradation behavior last. Every sentence carries distinct information and there is no filler.

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 documented, yet the description usefully sketches nodes (g/a/v) and edges (from/to indices) plus the node-cap truncation caveat. Combined with the safety annotations this is nearly complete; the missing piece is guidance on when this graph tool beats the sibling comparison/expansion tools.

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% with three required, self-explanatory parameters (groupId/artifactId/version), so the schema does the heavy lifting and baseline 3 applies. The description's 'GAV' shorthand confirms the parameter roles but adds no format or syntax detail beyond 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 ('Fetch the resolved transitive dependency graph for a Maven GAV') and names the upstream source (deps.dev GetDependencies). It implies a distinction from siblings like expand_bom and compare_upgrade_closure by emphasizing the raw node/edge graph, though it never names a sibling to sharpen the boundary.

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 statement of when to choose this over expand_bom, compare_upgrade_closure, or check_multiple_dependencies, and no prerequisites (e.g., whether version must be resolved first). The agent must infer usage from the purpose alone.

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