Skip to main content
Glama

🤔 Why

AI coding agents pull packages from stale training data. They install outdated versions with known CVEs. They hallucinate package names that don't exist, opening the door to typosquatting attacks. They default to deprecated libraries when better alternatives exist.

There's no checkpoint between "agent decides to use a package" and "package lands in your project." DepShield is that checkpoint.


Related MCP server: DepHealth MCP

⚡ What It Does

Seven security tools exposed over the Model Context Protocol:

Tool

What it does

check_dependency

Pre-install gate — verifies a package exists on the registry and has no known CVEs. Your agent calls this before every install.

audit_project

Scans an entire package.json or requirements.txt and returns a full vulnerability audit report.

find_safe_version

Finds the newest version of a package with zero known vulnerabilities.

get_advisory_detail

Deep dive into a specific CVE/GHSA — full description, affected versions, fix info, references.

check_npm_health

Package health report card: weekly downloads, last publish date, maintainer count, license, deprecation status. Scored 0–100.

suggest_alternative

Finds better packages when one is vulnerable, deprecated, or abandoned.

deep_scan

Scans a package's transitive dependency tree for vulnerabilities, typosquats, and suspicious patterns.

Plus a depshield://status resource and a security_review prompt template for guided full-project audits.

Zero API keys required. DepShield uses free, open APIs: npm Registry, OSV.dev (Google's open vulnerability database), and PyPI.


🚀 Quick Start

Option 1: npx (no install)

Add to your IDE's MCP configuration and you're done. No global install needed.

Option 2: Clone and build

git clone https://github.com/devanshkaria88/depshield-mcp.git
cd depshield-mcp
npm install
npm run build

🔌 IDE Setup

Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project-level):

{
  "mcpServers": {
    "depshield": {
      "command": "npx",
      "args": ["-y", "depshield-mcp"]
    }
  }
}

Or if you cloned the repo locally:

{
  "mcpServers": {
    "depshield": {
      "command": "node",
      "args": ["/absolute/path/to/depshield-mcp/dist/index.js"]
    }
  }
}

Optionally, copy .cursor/rules/dep-shield.mdc into your project's .cursor/rules/ directory. This rule forces the Cursor agent to call check_dependency before every package install.

claude mcp add depshield -- npx depshield-mcp

Or from a cloned repo:

claude mcp add depshield -- node /absolute/path/to/depshield-mcp/dist/index.js

Add to your Windsurf MCP configuration:

{
  "mcpServers": {
    "depshield": {
      "command": "npx",
      "args": ["-y", "depshield-mcp"]
    }
  }
}

DepShield uses stdio transport. Any tool that supports MCP over stdio can use it:

npx depshield-mcp

💡 Usage Examples

Once connected, your AI agent has access to all seven tools. Try these prompts:

Pre-install check (automatic with .mdc rule)

"Add lodash for deep cloning"

Agent calls check_dependency → finds CVE → auto-upgrades to safe version

Block hallucinated packages

"Install react-super-utils-pro for state management"

Agent calls check_dependency → package doesn't exist → blocks install, suggests alternatives

Full project audit

"Run a security audit on this project's dependencies"

Agent calls audit_project on package.json → returns full vulnerability report

Package health check

"Is this package well maintained?"

Agent calls check_npm_health → returns health score (0–100) with breakdown

Supply chain deep scan

"Deep scan express for transitive vulnerabilities"

Agent calls deep_scan → scans dependency tree, flags suspicious patterns

Advisory deep dive

"Tell me more about GHSA-jf85-cpcp-j695"

Agent calls get_advisory_detail → returns full CVE details, remediation info


📖 Tools Reference

Parameter

Type

Required

Default

Description

name

string

yes

Package name (e.g., lodash, express)

version

string

no

latest

Specific version to check

ecosystem

npm | pypi

no

npm

Package ecosystem

Returns: ✅ SAFE, ⚠️ VULNERABLE (with fix version), 🚫 BLOCKED (doesn't exist), or ⚠️ CANNOT VERIFY (registry unreachable).

Parameter

Type

Required

Default

Description

filePath

string

yes

Path to package.json or requirements.txt

includeDevDependencies

boolean

no

true

Include devDependencies in scan

Returns: Full audit report with summary stats, per-dependency vulnerability breakdown, severity counts, and risk verdict.

Parameter

Type

Required

Default

Description

name

string

yes

Package name

ecosystem

npm | pypi

no

npm

Package ecosystem

Returns: The newest stable version with zero known vulnerabilities, with comparison of all checked versions.

Parameter

Type

Required

Default

Description

vulnId

string

yes

Vulnerability ID (e.g., GHSA-jf85-cpcp-j695, CVE-2021-23337)

Returns: Full advisory with summary, severity, CVSS score, affected versions, fix versions, and reference links.

Parameter

Type

Required

Default

Description

name

string

yes

npm package name

Returns: Health report card (0–100 score) based on: publish recency, weekly downloads, license, repository presence, deprecation status, and maintainer count.

Parameter

Type

Required

Default

Description

name

string

yes

Package to find alternatives for

reason

string

no

Why an alternative is needed

Returns: Top 3 alternative packages with downloads, npm score, and publish date.

Parameter

Type

Required

Default

Description

name

string

yes

Package to deep scan

version

string

no

latest

Specific version to scan

depth

1 | 2

no

1

1 = direct deps, 2 = deps of deps

Returns: Dependency tree with vulnerability flags, suspicious pattern detection (newly added deps, nonexistent packages, low-download typosquat candidates), and risk verdict.


🔒 Cursor Rule (Optional)

The .cursor/rules/dep-shield.mdc file included in this repo forces the Cursor agent to automatically call check_dependency before every package install. Copy it to your project:

mkdir -p .cursor/rules
cp node_modules/depshield-mcp/.cursor/rules/dep-shield.mdc .cursor/rules/

This turns DepShield from a tool the agent can use into a gate the agent must pass through.


🧪 Testing

MCP Inspector (interactive UI for testing tools):

npm run inspect

Or:

npx @modelcontextprotocol/inspector node dist/index.js

Raw stdio (quick verification):

printf '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"test","version":"1.0.0"}}}\n{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"check_dependency","arguments":{"name":"lodash","version":"4.17.20"}}}\n' | node dist/index.js 2>/dev/null

🌐 APIs Used

All free, no API keys required:

API

What it provides

npm Registry

Package existence, versions, metadata, search

npm Downloads API

Weekly download counts

OSV.dev

Open source vulnerability database (Google)

PyPI

Python package metadata


📁 Project Structure

depshield-mcp/
├── src/
│   ├── index.ts                    # MCP server entry — tool/resource/prompt registration
│   ├── cache.ts                    # In-memory TTL cache (5 min)
│   ├── utils.ts                    # Severity parsing, version sorting, fetch helpers
│   ├── apis/
│   │   ├── npm-registry.ts         # npm registry, search, downloads
│   │   ├── osv.ts                  # OSV.dev vulnerability queries
│   │   └── pypi-registry.ts        # PyPI JSON API
│   └── tools/
│       ├── check-dependency.ts     # Pre-install gate
│       ├── audit-project.ts        # Full manifest audit
│       ├── find-safe-version.ts    # Safe version finder
│       ├── get-advisory-detail.ts  # CVE/GHSA deep dive
│       ├── check-npm-health.ts     # Package health scoring
│       ├── suggest-alternative.ts  # Alternative package finder
│       └── deep-scan.ts            # Transitive dependency scanner
├── .cursor/rules/
│   └── dep-shield.mdc             # Cursor agent rule (alwaysApply)
├── package.json
├── tsconfig.json
├── LICENSE
└── README.md

📋 Requirements

  • Node.js 22 or later

  • An MCP-compatible AI coding tool


🤝 Contributing

Contributions are welcome. Please open an issue first to discuss what you'd like to change.

Areas where help would be appreciated:

  • Additional ecosystem support (Cargo, Go modules, Maven)

  • Improved CVSS vector string parsing

  • Integration tests with mocked API responses

  • GitHub Actions CI pipeline


📄 License

MIT — see LICENSE for details.


Available Tools

7 tools
audit_projectB

Scan a package.json or requirements.txt for all dependency vulnerabilities. Returns a full audit report.

ParametersJSON Schema
NameRequiredDescriptionDefault
filePathYesPath to package.json or requirements.txt
includeDevDependenciesNoInclude devDependencies in scan. Defaults to true.

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations provided, the description carries full burden but only minimally discloses behavior. It mentions returning a 'full audit report' but fails to clarify if this is a read-only operation, whether it makes external network calls to vulnerability databases, rate limits, or the output format (JSON vs formatted string).

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?

Two sentences with zero waste. Front-loaded with the core action ('Scan') and specific file types, followed by return value. Every word earns its place.

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 simple 2-parameter tool with 100% schema coverage, the description covers the basic operation adequately. However, given the lack of annotations and output schema, it omits important context about whether the tool is read-only, requires authentication, or what structure the 'full audit report' takes.

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%, establishing a baseline of 3. The description mentions 'package.json or requirements.txt' which mirrors the schema's filePath description, and implies dependency scanning which relates to includeDevDependencies. It adds minimal semantic value beyond what the schema already clearly documents.

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 description clearly states the tool scans package.json or requirements.txt files for dependency vulnerabilities and returns a full audit report. It identifies specific resource types and implies file-level scope, though it doesn't explicitly differentiate from siblings like check_dependency (which suggests single-dependency checking).

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 guidance provided on when to use this versus sibling tools like check_dependency, deep_scan, or find_safe_version. No mention of prerequisites (e.g., file must exist) or when a user might prefer individual dependency checks over a full file scan.

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

check_dependencyA

Check a package for known vulnerabilities and verify it exists on the registry. MUST be called before installing any dependency.

ParametersJSON Schema
NameRequiredDescriptionDefault
nameYesPackage name (e.g., 'lodash', 'express')
versionNoSpecific version to check. If omitted, checks latest.
ecosystemNoPackage ecosystem. Defaults to npm.

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions vulnerability checking and existence verification, but omits critical details like: whether it returns a report or boolean, what happens when vulnerabilities are found (blocking vs. warning), error handling for non-existent packages, or data sources used.

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?

Two sentences, zero waste. The first sentence front-loads the core action (vulnerability checking + existence verification), while the second provides the critical workflow constraint (MUST call before install). Every word earns its place.

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?

Given the lack of output schema and annotations, the description should ideally characterize the return value (e.g., vulnerability report, risk score, or boolean) to help the agent interpret results. The input side is complete due to schema coverage, but the output side leaves agents uncertain about what data structure to expect.

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?

The schema has 100% description coverage for all 3 parameters (name, version, ecosystem), establishing a baseline of 3. The description mentions 'package' generally but adds no additional semantic context—such as version syntax requirements or ecosystem-specific behaviors—beyond what the schema already provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool checks for 'known vulnerabilities' and verifies registry existence, using specific verbs. It distinguishes from siblings (like audit_project or deep_scan) by focusing on single-package pre-installation verification rather than project-wide auditing.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The 'MUST be called before installing any dependency' directive provides explicit workflow guidance. However, it lacks explicit comparison to siblings like 'audit_project' (for existing dependencies) or 'deep_scan' (for comprehensive analysis), which would help agents choose between similar security tools.

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

check_npm_healthB

Assess package health and trustworthiness: downloads, maintenance, license, deprecation status. Scored 0-100.

ParametersJSON Schema
NameRequiredDescriptionDefault
nameYesnpm package name

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It successfully lists the evaluation criteria (downloads, maintenance, license, deprecation) and output format (0-100 score), compensating for the missing output schema. However, it omits safety indicators (read-only vs destructive), error handling (e.g., non-existent packages), or rate limiting concerns.

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?

The description consists of two efficient sentences with zero waste. It front-loads the action ('Assess') and uses a colon-delimited list to specify evaluation factors, ending with the output specification ('Scored 0-100'). Every word earns its place.

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 single-parameter tool without output schema or annotations, the description is reasonably complete. It discloses the scoring range and evaluation dimensions, providing sufficient context for invocation. It could be improved by mentioning error cases (e.g., package not found) or confirming the read-only nature of the operation.

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?

The input schema has 100% description coverage for the single 'name' parameter ('npm package name'). The description adds no additional parameter context, examples, or format constraints beyond what the schema already provides, meeting the baseline expectation for high schema coverage.

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 description clearly states the tool assesses package health and trustworthiness using specific metrics (downloads, maintenance, license, deprecation) and produces a numeric score (0-100). However, it does not explicitly differentiate from sibling tool 'check_dependency' which may have overlapping functionality.

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?

The description provides no guidance on when to use this tool versus alternatives like 'check_dependency', 'deep_scan', or 'audit_project'. There are no stated prerequisites, exclusions, or conditions for use.

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

deep_scanA

Scan a package's transitive dependency tree for vulnerabilities and suspicious patterns (newly added deps, typosquats, low-download packages).

ParametersJSON Schema
NameRequiredDescriptionDefault
nameYesPackage name to deep scan
versionNoSpecific version to scan. If omitted, scans latest.
depthNoHow deep to scan: 1 = direct deps only (default), 2 = deps of deps.

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations provided, the description carries full disclosure burden. It adds valuable specificity about detection patterns (typosquats, newly added deps, low-download packages) beyond generic 'security scan,' but lacks operational details like execution time expectations, API call behavior, or failure modes for invalid packages.

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?

Single sentence structure with parenthetical elaboration maximizes information density. Every word earns its place: 'transitive' establishes scope, parenthetical examples clarify 'suspicious patterns' without disrupting flow, and no filler words are present.

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?

Adequate for a 3-parameter tool with no output schema, covering the core security scanning purpose well. However, given the lack of output schema and annotations, the description should ideally disclose return value structure (vulnerability report format) or execution characteristics (async vs sync, typical duration) to be fully complete.

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%, establishing a baseline of 3. The description mentions 'transitive dependency tree' which conceptually maps to the depth parameter, and 'package' maps to name, but adds no explicit parameter guidance, syntax details, or version selection logic beyond what the schema already provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses specific verb 'Scan' with clear resource 'package's transitive dependency tree' and enumerates specific detection targets (vulnerabilities, typosquats, low-download packages). The terms 'deep' and 'transitive' effectively distinguish this from siblings like check_dependency or audit_project.

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 description implies usage through terminology like 'deep scan' and 'transitive dependency tree' (suggesting comprehensive analysis vs. shallow checks), but provides no explicit guidance on when to choose this over check_dependency or audit_project, nor mentions prerequisites like package availability.

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

find_safe_versionB

Find the newest version of a package with zero known vulnerabilities.

ParametersJSON Schema
NameRequiredDescriptionDefault
nameYesPackage name
ecosystemNoPackage ecosystem. Defaults to npm.

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. While it specifies the selection criteria (newest version with zero vulnerabilities), it fails to disclose error handling (what happens when no safe version exists), return format, or the vulnerability database source.

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?

The description is a single, front-loaded sentence of 11 words with zero redundancy. Every word contributes essential information about the tool's function.

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?

Given the simple two-parameter input schema with complete coverage, the description is minimally adequate. However, lacking both annotations and an output schema, it should ideally disclose error states (e.g., package not found, no safe version available) to be complete.

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 parameters fully documented. The description maps the concept of 'package' to the 'name' parameter but does not add semantics beyond the schema, such as explaining the ecosystem default behavior or valid values.

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 description clearly states the specific action (find), resource (package version), and constraint (zero known vulnerabilities). However, it does not explicitly differentiate from siblings like check_dependency or suggest_alternative that also handle security concerns.

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?

The description provides no guidance on when to use this tool versus alternatives like check_dependency or suggest_alternative. It omits prerequisites (e.g., exact package name requirements) and does not indicate when no safe version exists.

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

get_advisory_detailC

Get full details about a specific security advisory (CVE, GHSA, etc).

ParametersJSON Schema
NameRequiredDescriptionDefault
vulnIdYesVulnerability ID (e.g., 'GHSA-jf85-cpcp-j695' or 'CVE-2021-23337')

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It fails to specify what constitutes 'full details,' error handling for invalid IDs, rate limits, or whether the operation is idempotent.

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?

Single sentence that is appropriately sized for a simple lookup tool. The action is front-loaded, though 'full details' is vague and could be replaced with specific return value hints given the lack of output schema.

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 single-parameter tool with 100% schema coverage, the description is minimally adequate. However, with no output schema provided, the failure to specify what 'full details' includes (severity, description, affected versions, references) leaves a significant gap in understanding the tool's utility.

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 the parameter already well-documented via examples (GHSA-jf85-cpcp-j695, CVE-2021-23337). The description mentions 'CVE, GHSA, etc' which aligns with the schema but adds no additional semantic context beyond the schema itself.

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?

Clear verb ('Get') and resource ('security advisory') with specific examples (CVE, GHSA) that hint at the expected input format. However, it does not explicitly differentiate from sibling tools like check_dependency that might also return vulnerability information.

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?

Provides no guidance on when to use this tool versus alternatives (e.g., when to use get_advisory_detail vs check_dependency or deep_scan). No prerequisites or exclusion criteria are mentioned.

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

suggest_alternativeA

Find alternative packages when one is vulnerable, deprecated, or unmaintained.

ParametersJSON Schema
NameRequiredDescriptionDefault
nameYesPackage name to find alternatives for
reasonNoWhy an alternative is needed (e.g., 'deprecated', 'vulnerable', 'unmaintained')

TDQS

A3.5/5.0
Behavior2/5

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

No annotations are provided, yet the description offers no behavioral context beyond the basic operation. It omits how alternatives are ranked/selected, what criteria are used for recommendations, whether the operation is read-only, or what the response structure looks like.

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?

Single sentence with zero waste. The phrase efficiently packs the action, target, and trigger conditions into a compact front-loaded structure where every word earns its place.

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?

Adequate for a simple 2-parameter tool, but lacks description of return values or output format given the absence of an output schema. For a recommendation tool, omitting what kind of alternatives data is returned (names only? scores? compatibility info?) leaves a meaningful gap.

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?

With 100% schema description coverage, the baseline is 3. The description mirrors the schema's examples for the 'reason' parameter ('vulnerable, deprecated, unmaintained') but adds no additional semantic value regarding parameter formats, validation rules, or the optional nature of the reason field.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description provides a specific verb ('Find'), clear resource ('alternative packages'), and precise trigger conditions ('vulnerable, deprecated, or unmaintained'). It implicitly distinguishes from sibling 'find_safe_version' by focusing on alternative packages rather than alternative versions of the same package.

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 description specifies when to use the tool (when packages are vulnerable, deprecated, or unmaintained), but fails to explicitly contrast with 'find_safe_version'—a critical sibling that suggests upgrading the same package rather than replacing it. No guidance on when to prefer one approach over the other.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 7 tool updatesv0.1.0
    • First observedaudit_project
    • First observedcheck_dependency
    • First observedcheck_npm_health
    • First observeddeep_scan
    • First observedfind_safe_version
    • First observedget_advisory_detail
    • First observedsuggest_alternative

TDQS

A3.5/5.0
Disambiguation4/5

Tools are generally distinct with clear boundaries: audit_project targets manifest files, check_dependency is for pre-install validation, check_npm_health focuses on maintenance metrics, and deep_scan examines transitive dependencies. Minor overlap exists between check_dependency and check_npm_health (both examine single packages), but their purposes (security vs health) are different enough to guide selection.

Naming Consistency4/5

Most tools follow a clear verb_noun pattern (audit_project, check_dependency, find_safe_version, get_advisory_detail, suggest_alternative). However, 'deep_scan' breaks the convention by using an adjective_noun structure rather than a verb-led name like 'scan_dependencies' or 'analyze_transitive_deps'. 'check_npm_health' is consistent but domain-specific (npm) while others are generic.

Tool Count5/5

Seven tools is an ideal count for this domain. The set covers the full workflow: project scanning (audit_project), package vetting (check_dependency, check_npm_health, deep_scan), remediation (find_safe_version, suggest_alternative), and investigation (get_advisory_detail). No tool feels redundant or filler.

Completeness4/5

Strong coverage of the dependency security lifecycle including vulnerability detection, health assessment, transitive dependency analysis, and remediation strategies. Minor gaps include the lack of an 'apply_fix' or 'update_manifest' tool to automatically remediate findings, and no SBOM generation capability, but agents can work around these with the existing tools.

Maintenance

ActivityInactive
ResponsivenessUnresponsive

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/devanshkaria88/depshield-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server