Skip to main content
Glama
scipq-mcp
by gdressino

deps

Read-onlyIdempotent

Analyze module or package dependencies, reference counts, and cycles, and list every call site where a scope uses a target.

Instructions

Dependencies between modules or packages (reference counts) and their cycles; with sites, every place where scope uses target.

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": "deps"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelNomodule
limitNoMax items
scopeNoFrom: module or package (prefix or glob)
sitesNoList the call sites from scope to target instead of counts
cyclesNoReport cycles
offsetNoItems to skip
targetNoTo: module/package, or a symbol prefix such as `org/apache/commons/` with sites
project_rootNoCheckout or worktree to query (any directory in it); default: where the server started

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so safety is covered. The description adds that results are reference counts, that cycles are reported, and that `sites` changes the output shape to locations. It does not describe the count record structure, pagination behavior, or the cost of scanning a large checkout.

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?

One sentence, front-loaded with the primary behavior and followed by the mode variant; nothing is redundant. It is telegraphic to the point of being slightly cryptic (verbless, semicolon-chained), which costs a bit of immediate clarity.

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?

With eight optional parameters and no output schema, the description carries more burden than it meets: default behavior (cycles on, module level, 100-item limit), what a count entry contains, and how project_root affects scope are all unaddressed. The core purpose and the sites variant are covered, which is enough to call it adequately but not fully specified.

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 88%, so the schema already documents all eight parameters, including the `sites` and `target` semantics. The description restates the `sites` behavior ('every place where scope uses target') but adds no syntax, defaults, or interaction detail (e.g. cycles defaulting to true) beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

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?

Names a specific resource (dependencies between modules or packages), its two outputs (reference counts and cycles), and a distinct mode (sites). It is clear what the tool computes, but it never states how it differs from symbol-level siblings like callers/callees/references, so an agent must infer the module-vs-symbol boundary itself.

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: the tool is for dependency analysis, and the `sites` clause hints at when you want call sites rather than counts. There is no explicit when-to-use/when-not statement and no named alternative for symbol-level queries, so routing between this and callers/references is left to inference.

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