Skip to main content
Glama
@4da/mcp-server

@4da/mcp-server

Official

Dependency check

dependency_check
Read-onlyIdempotent

Is a dependency version safe to write? Verdict on an exact version, or safe releases in a constraint ("7.x", "~=3.1"); npm, crates.io, PyPI, Go. Call BEFORE writing any version to a manifest: add, pin, upgrade, bump, downgrade.

Instructions

Is a dependency version safe to write? Verdict on an exact version, or safe releases in a constraint ("7.x", "~=3.1"); npm, crates.io, PyPI, Go. Call BEFORE writing any version to a manifest: add, pin, upgrade, bump, downgrade.

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

Input Schema

NameRequiredDescriptionDefault
itemsYesThe proposed changes to check, 1 to 25.
response_formatNoconcise (default): per item the verdict, reason (the evidence of every avoid, review, unknown and wait finding), the safe versions to write (`safe`), advisory ids, a malicious package's records and the registry's quoted words. detailed: every signal with its value and evidence, how `to` was read, and the full range_check.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv6.0.7
    • addedInput schema / properties / response_format
      Added value: +{
      +  "description": "concise (default): per item the verdict, reason (the evidence of every avoid, review, unknown and wait finding), the safe versions to write (`safe`), advisory ids, a malicious package's records and the registry's quoted words. detailed: every signal with its value and evidence, how `to` was read, and the full range_check.",
      +  "enum": [
      +    "concise",
      +    "detailed"
      +  ],
      +  "type": "string"
      +}
  2. Changed3 schema fields changedv6.0.3
    • changedInput schema / properties / items / items / properties / ecosystem / enum
      Previous value: -[
      -  "npm",
      -  "crates.io"
      -]New value: +[
      +  "npm",
      +  "crates.io",
      +  "PyPI",
      +  "Go"
      +]
    • changedInput schema / properties / items / items / properties / package / description
      Previous value: -"Package name exactly as published (e.g. \"axios\", \"@scope/pkg\", \"serde_json\")."New value: +"Package name exactly as published (\"axios\", \"@scope/pkg\", \"serde_json\", \"Jinja2\", \"golang.org/x/net\", \"github.com/labstack/echo/v4\")."
    • changedInput schema / properties / items / items / properties / to / description
      Previous value: -"Exact version you intend to install (e.g. \"1.14.1\"), or \"latest\" for the newest stable release; not a range."New value: +"The version you intend to write (\"7.5.10\", \"3.1.4\", \"v0.23.0\"), \"latest\", or the constraint it must satisfy (\"7.x\", \"^1.20\", \"=0.17\", \"~=3.1\", \">=2,<3\", \"v1\") to get the safe releases in it."
  3. First observedv6.0.1

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, and the description is consistent with them, adding useful context: it queries four external registries and produces a verdict plus "safe releases" within a constraint. It also signals the kinds of findings surfaced (avoid, review, unknown, wait, advisory ids, malicious-package records) via the response_format explanation. Rate limits, auth requirements and failure behavior for unknown packages are not addressed.

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 tight sentences plus a colon-delimited call-to-action, front-loaded with the core question. The constraint examples and trigger verbs are dense but purposeful, with no redundant phrasing.

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 read-only, single-purpose query tool with no output schema, the definition covers purpose, timing, supported ecosystems and the dual exact/constraint mode. Return-value detail is delegated to the response_format parameter description rather than being absent. Edge-case behavior (unknown package, registry outage) is the remaining 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?

Schema description coverage is 100%, so the schema already carries the heavy lifting, including the exact-vs-constraint duality of `to` and the ecosystem enum. The description restates the constraint syntax examples ("7.x", "~=3.1") and ecosystem list, which corroborates but does not extend the schema. Baseline 3 is appropriate.

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 opens with a specific question the tool answers ("Is a dependency version safe to write?") and names the resource (dependency version), the two modes (exact-version verdict vs. safe releases within a constraint), and the supported registries (npm, crates.io, PyPI, Go). It is clearly not a generic vulnerability or health tool, though it does not explicitly distinguish itself from siblings such as vulnerability_scan or dependency_health.

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?

It gives an explicit trigger and timing: "Call BEFORE writing any version to a manifest: add, pin, upgrade, bump, downgrade." That covers the main when-to-use case with concrete verbs. It does not say when not to use it or name an alternative for cases like post-hoc auditing or upgrade planning.

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