Skip to main content
Glama

dependency_risk_list

Builds a scoped dependency inventory separating declared, observed, and inferred entries, then lists end-of-life and unpinned packages with cited rule IDs for legacy codebase risk review.

Instructions

Scoped dependency inventory (DECLARED / OBSERVED / INFERRED, kept separate; OBSERVED is positive and non-exhaustive) + EOL/unpinned risk list. Each EOL entry cites its rule id from the versioned rules table. Read-only legacy codebase recon — NARROWED OBSERVED SCOPE (CLAIM-SCOPE.md): architecture map, dependency/EOL risk list, modernization-estimate inputs. Within that scope, reported entries cite evidence or basis; standing unknowns are UNKNOWN, never guessed. OBSERVED is a scoped positive inventory, not an exhaustive or universal JS/TS claim.

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

Input Schema

NameRequiredDescriptionDefault
pathYes
max_filesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does meaningful work: it declares read-only behavior, states that OBSERVED is positive and non-exhaustive, that EOL entries cite a versioned rule id, and that standing unknowns are reported as UNKNOWN rather than guessed. What it omits is operational behavior such as whether `path` is scanned on disk, expected runtime, or result volume caps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The useful content is front-loaded in the first two sentences, but the tail is heavy with capitalized caveats and repeats the OBSERVED non-exhaustiveness claim twice. Several clauses restate the same scope guarantee in different words, costing readability without adding information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a recon/listing tool with no output schema and no annotations, the description adequately covers the epistemic character of the results (evidence citations, UNKNOWN handling, non-exhaustive OBSERVED). It is incomplete on the input side: neither parameter is explained, and there is no indication of result size or how truncated scans are surfaced.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for two parameters, so the description must compensate and does not. Nothing explains what `path` points at (repo root, manifest file, workspace) or what `max_files` bounds and how it affects completeness of the OBSERVED inventory.

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 opening phrase names a concrete output: a scoped dependency inventory split into DECLARED / OBSERVED / INFERRED plus an EOL/unpinned risk list. That is specific enough for an agent to know what it gets back. It stops short of a 5 because the sibling tools (architecture_map, modernization_inputs) appear only inside a scope sentence rather than as an explicit contrast, so differentiation is inferred, not stated.

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 implied by 'Read-only legacy codebase recon' and the CLAIM-SCOPE.md narrowing, which tells the agent the domain of applicability. However there is no explicit when-to-use/when-not-to-use statement and no routing to architecture_map or modernization_inputs for the adjacent jobs.

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