Skip to main content
Glama

Scan a project for orphaned dependencies

foster_scan_project
Read-only

Scan lockfiles in a project directory to report unmaintained dependencies, vulnerabilities with no fix, and available drop-in security patches across npm, Python, Rust, Go, Ruby, and PHP.

Instructions

Scan the lockfiles in a directory (npm, pnpm, yarn, uv, poetry, pipenv, requirements.txt, Cargo.lock, go.mod, Gemfile.lock, composer.lock) and report dependencies that are unmaintained, vulnerable with no fix, or have a drop-in security patch.

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

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute path of the project directory
recursiveNoAlso scan lockfiles in subfolders (monorepos)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.6

TDQS

A3.6/5.0
Behavior4/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 network behavior are covered. The description adds real context beyond that: the exact set of supported lockfile formats and the criteria for what counts as a finding, which is what the agent needs to interpret the results.

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?

A single well-formed sentence with the primary action front-loaded; the ecosystem list is long but functional rather than filler. Nothing follows that would be better placed later, but the inline parenthetical list makes it denser than ideal.

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?

There is no output schema, so the description has to convey what comes back; it names the finding categories but not the report's shape, size, or whether findings include remediation detail. Adequate for a read-only scan but leaves the agent guessing about results.

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 both path and recursive already documented in the schema. The description's 'in a directory' loosely maps to path but adds no semantics for recursive or monorepo scanning, so the schema carries the load.

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 concrete verb ('Scan') and resource ('lockfiles in a directory') and enumerates the ecosystems it handles, then names the three finding classes it reports (unmaintained, vulnerable with no fix, drop-in patch). It doesn't explicitly contrast itself with siblings like foster_check_package or foster_list_patches, so an agent has to infer that this is the project-wide scan rather than a single-package check.

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: the phrase 'lockfiles in a directory' plus the required path parameter suggests calling it on a project root. There is no explicit when-to-use, when-not-to-use, or pointer to an alternative tool for single-package or install-command checks.

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