Skip to main content
Glama
Repo Insight MCP

Repo Insight MCP

by viradm

list_dependencies

Find and parse every dependency manifest in a repository, then return one normalized list across PyPI, npm, Maven, Go, and RubyGems.

Instructions

Find and parse every dependency manifest in the repository, returning one normalised list across pypi, npm, maven, go and rubygems.

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": {
      "repo": "<repo>"
    },
    "name": "list_dependencies"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNobranch, tag or commit SHA
repoYesowner/name or a github.com URL

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does convey that the tool aggregates and normalises across five ecosystems (a real behavioral disclosure) and implies a read-only scan. It does not say whether lock files, transitive dependencies, or dev-dependency scopes are included, nor how unparseable or conflicting manifests are handled.

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?

One front-loaded sentence with the action, scope, and return shape in that order, and zero filler. Nothing could be removed without losing 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?

An output schema exists and schema coverage is complete, so return values need no explanation here, and the tool is a simple two-parameter read. Still, for a dependency-listing tool the scope boundaries that matter most — lock files, transitive vs direct, monorepo workspaces — are unstated, leaving the definition adequate but with clear gaps.

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% — both `repo` (owner/name or URL) and `ref` (branch, tag, or SHA) are fully documented in the schema. The description adds nothing about either parameter, so it neither compensates nor detracts; 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?

Names a specific verb pair ("find and parse") and a specific resource ("every dependency manifest in the repository"), then states what comes back ("one normalised list across pypi, npm, maven, go and rubygems"). That level of specificity inherently separates it from siblings like list_tree, read_file, and search_code without needing to name them.

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: an agent can infer this is the tool for "what does this repo depend on", but the description states no when-to-use condition, no exclusions, and never points to an alternative such as search_code or read_file for raw manifest contents. No prerequisites (auth, access to private repos) are mentioned either.

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