Skip to main content
Glama

package_depends_on

Read-only

Depends on - packages this one needs (GET /graph/{name}/depends-on).

Use for: dependencies, requires, needs, imports, what does X depend on.
depth 1-4; node_cap 10-500; show_optional includes optional edges when true.

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

Input Schema

NameRequiredDescriptionDefault
nameYesPyPI package name (PEP 503 normalize on the API).
depthNoGraph walk depth. Clamped to 1-4 (default 1).
node_capNoMax nodes in the graph response. Clamped to 10-500 (default 35).
show_optionalNoInclude optional (extras) edges when true (default true).

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / depth / description
      Added value: +"Graph walk depth. Clamped to 1-4 (default 1)."
    • addedInput schema / properties / name / description
      Added value: +"PyPI package name (PEP 503 normalize on the API)."
    • addedInput schema / properties / node_cap / description
      Added value: +"Max nodes in the graph response. Clamped to 10-500 (default 35)."
    • addedInput schema / properties / show_optional / description
      Added value: +"Include optional (extras) edges when true (default true)."
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety and external-network reach are covered. The description's added facts — depth 1-4, node_cap 10-500, show_optional default true — are restated verbatim from the schema rather than adding behavioral context such as truncation behavior when node_cap is hit.

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?

Front-loaded with the core purpose and endpoint, then the intent synonyms, then the limits — three short blocks with no filler. The keyword-list style is terse but purposeful rather than padded.

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 an output schema present and all four parameters fully documented, the description only needs to convey direction and intent, which it does. The remaining gap is the absent contrast with package_used_by for reverse traversal.

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 coverage is 100%, so every parameter including clamping and defaults is already documented in the schema. The description adds no extra meaning beyond repeating the ranges, which is the baseline expectation when the schema does the heavy lifting.

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 ('packages this one needs') and pins the directionality with the endpoint path, which implicitly separates it from package_used_by. It never names the reverse-direction sibling explicitly, so it stops just short of full differentiation.

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 'Use for: dependencies, requires, needs, imports' line is intent vocabulary that helps match user phrasing, which is useful context. But it gives no when-not guidance and never points to package_used_by for the reverse traversal, so the agent must infer the boundary between the two.

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.