Skip to main content
Glama

dependency-advisor

Dependency Underuse & Replacement Advisor — Audits the dependencies of a public GitHub repo, commit or pull request (or uploaded manifests and sources) and returns a pass/warn/fail verdict, a 0-100 risk score, the top findings with manifest file:line and the fix, and a SARIF 2.1.0 log for GitHub code scanning. Parses JS/TS, Python and Rust imports with a tokenizer-level scanner and maps them to declared npm, PyPI and crates.io dependencies.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "dependency-advisor"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNoBranch, tag or commit; defaults to the default branch.
modeNodeterministic makes no model call; auto makes at most one, only for symbols the curated table cannot decide.
repoNoPublic GitHub repository: owner/repo, https://github.com/owner/repo[/tree/ref], a commit URL, or a pull request URL (analyzed at the PR head).
filesNoAlternative to repo: manifests (package.json, lockfile, pyproject.toml, requirements.txt, Cargo.toml) and source files with repository-relative paths.
ecosystemsNoRestrict the analysis; default all detected.
repoLicenseNoSPDX id of the repository's license, for alternative ranking; detected from manifests or LICENSE when absent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the analysis mechanism (tokenizer-level import scanner mapped to declared dependencies) and precisely what comes back (verdict, risk score, prioritized findings with fixes, SARIF log for code scanning). Gaps remain on operational behavior — GitHub API rate limits, private-repo rejection, and behavior on unparseable manifests — which matter for a tool that fetches remote repositories.

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 sentences, front-loaded with the tool's identity and scope before the return artifacts, with zero filler or marketing language. The single long second sentence is dense but each clause (parser support, ecosystem mapping) adds real information.

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 6-parameter analysis tool with no output schema, the description covers the return contract thoroughly, so an agent knows what to expect back. What is missing is edge-case framing — private repos, rate limits, and the size/format expectations already implied by the files parameter — which keeps it short of a 5.

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 every parameter (ref, mode, repo, files, ecosystems, repoLicense) is already documented in structured data. The description adds only a high-level restatement that repo or uploaded manifests/sources are the two input forms; it contributes no extra syntax, precedence rules, or format detail beyond the schema, so the baseline 3 applies.

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?

States a specific verb and resource — audits dependencies of a public GitHub repo, commit, PR, or uploaded manifests/sources — and names the exact deliverables (pass/warn/fail verdict, 0-100 risk score, findings with file:line, SARIF 2.1.0). The scope (import-vs-declared-dependency mapping for npm/PyPI/crates.io) is narrow enough that an agent can tell it apart from siblings like ai-bom-license-resolver or lockfile-merge without opening a schema.

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 the input enumeration: the agent learns repo/PR URLs are analyzed at the PR head and that uploaded files are an alternative to repo. However, there is no explicit when-to-use / when-not guidance and no routing to any sibling tool, so an agent must infer selection from the schema rather than the description.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources