Skip to main content
Glama
Dependency MCP Server

Dependency MCP Server

by narekntm

Explain possible downstream impact

dependency_analyze_impact
Read-onlyIdempotent

Trace direct and transitive consumers of a changed provider contract in a synthetic dependency graph; get cited paths, review priorities, and coverage limits for impact analysis.

Instructions

Trace consumers of a changed contract in a synthetic dependency graph. Returns cited fixture evidence, direct/transitive paths and coverage limits. Does not scan real repositories or prove breakage.

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": {
      "repository": "<repository>",
      "contract": "<contract>"
    },
    "name": "dependency_analyze_impact"
  }
}

Input Schema

NameRequiredDescriptionDefault
contractYesChanged contract, e.g. product.price
maxDepthNoMaximum downstream hops
repositoryYesChanged provider, e.g. catalog-api

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, closed-world and non-destructive behavior, so the safety profile is covered. The description adds genuinely new context: output is cited fixture evidence plus direct/transitive paths and coverage limits, and results are not proof of breakage. That limitation disclosure is the key value-add beyond annotations.

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?

Three short sentences, zero filler. Purpose is front-loaded, then return content, then the limitation — a sensible order an agent can parse at a glance.

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?

No output schema exists, but the description compensates by characterizing the return (cited fixture evidence, path types, coverage limits). For a 3-parameter read-only trace tool this is nearly sufficient; only error or empty-result behavior is unaddressed.

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%; repository, contract and maxDepth each carry inline descriptions with examples and bounds. The description does not mention any parameter, including maxDepth, so it adds no meaning beyond the schema. Baseline 3 is correct.

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?

States a specific verb and resource: 'Trace consumers of a changed contract in a synthetic dependency graph.' The word 'synthetic' and the explicit 'Does not scan real repositories' carve out a precise scope an agent can distinguish from a real-repo scanner. It stops short of naming or contrasting the sibling tool, so 4 rather than 5.

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?

Provides clear negative guidance — 'Does not scan real repositories or prove breakage' — which tells the agent what this tool will not answer, and the opening sentence implies the use case (a changed contract). It names no alternative for the real-repo case, so it falls short of the explicit when/when-not/alternatives bar.

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