Skip to main content
Glama

Get Package Dependencies

get_package_dependencies
Read-onlyIdempotent

Fetch a ZK-Kit package's dependency list to see runtime, dev, and peer dependencies from its manifest, helping you verify required packages before integration.

Instructions

Fetch the dependency list for a ZK-Kit package. Shows runtime, dev, and peer dependencies from the package manifest (package.json, Cargo.toml, or Nargo.toml).

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": "get_package_dependencies"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesPackage name (e.g., '@zk-kit/lean-imt', 'lean-imt')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so safety is covered. The description adds real value beyond them by naming the three underlying manifests (package.json, Cargo.toml, Nargo.toml) and the dependency categories surfaced, which tells an agent what to expect across ecosystems. It does not mention whether resolution is direct-only or transitive, nor error behavior for unknown packages.

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?

Two tight sentences with the purpose front-loaded and no filler. The parenthetical manifest list is informative rather than padding.

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?

For a one-parameter, idempotent read tool with no output schema, the description covers the resource, the source manifests and the returned categories. The main remaining ambiguity — direct versus transitive scope relative to get_dependency_graph — is a modest gap rather than a blocking one.

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% with a single required 'name' parameter, and the schema itself supplies format examples. The description contributes no additional meaning about the parameter, so the baseline of 3 applies.

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 ('Fetch') and resource ('dependency list for a ZK-Kit package') and enumerates the dependency classes returned (runtime, dev, peer). It stops short of distinguishing itself from the sibling get_dependency_graph, so an agent must guess whether this is the direct-manifest list or the transitive graph.

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: name a package and get its manifest dependencies. There is no explicit statement of when to prefer this over get_dependency_graph or compare_packages, and no noted exclusions or prerequisites.

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