Skip to main content
Glama

who_depends_on_these

Finds importers for multiple files in one call, returning per-file dependency lists with configurable max results to trace reverse dependencies across a repository.

Instructions

Importers for multiple files in one call. Returns dependency lists per file with per-file max_results limit.

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

Input Schema

NameRequiredDescriptionDefault
repoYesRepository name (as shown in list_repos)
file_pathsYesList of relative file paths
max_resultsNoMax importers per file (default: 20)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.10.2

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden. It discloses the per-file return structure and per-file max_results limit, but omits whether results are direct importers only, how missing or unindexed files behave, and any repo indexing requirement.

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 front-loaded sentences with no wasted wording; purpose and return shape appear immediately.

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 3-parameter query tool with no annotations or output schema, the description covers purpose and a minimal return shape. It leaves out selection guidance versus the singular sibling and important result or error semantics, so it is only minimally 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%, so the baseline is 3. The description reinforces that max_results applies per file and file_paths accepts multiple paths, but adds no syntax or semantics beyond the schema.

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 importers (reverse dependencies) for multiple files in one call and says it returns per-file dependency lists, which distinguishes it from the singular who_depends_on_this sibling. The batch scope is explicit.

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 phrase 'multiple files in one call' implies when the batch variant is appropriate, but the description never names who_depends_on_this or states when to choose this over it. No exclusions or prerequisites are given.

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