Skip to main content
Glama

get_impact

Calculate a symbol's transitive reverse-dependency blast radius up to a set depth, separating certain and likely callers to show what code changes may affect.

Instructions

Compute transitive reverse-dependency blast radius for a symbol up to max_depth hops, separated by certain vs likely edges.

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": {
      "symbol": "<symbol>"
    },
    "name": "get_impact"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNoOptional repo-relative file path to disambiguate common short names.
limitNoMaximum impacted nodes to return (default 50).
symbolYesTarget symbol name, qualified_name, or 32-char UID hex.
max_depthNoMaximum transitive caller traversal depth (default 3).

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?

With no annotations, the description carries the full burden, and it does disclose real behavior beyond the schema: traversal is transitive, bounded by hops, and results are partitioned into 'certain' vs 'likely' edges, which is valuable. However it says nothing about read-only nature, performance/cost of deep traversal, ordering, or what the 'certain/likely' distinction means operationally, leaving meaningful gaps.

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?

A single front-loaded sentence with no filler; the depth constraint and the certain/likely split are packed in efficiently. Very terse, but nothing is redundant.

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 graph query with no annotations and no output schema, the description explains the core semantics but never clarifies the return structure beyond mentioning the certain/likely split, nor does it warn that results may be truncated by 'limit' or that depth increases cost. Adequate but with clear gaps an agent would want.

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 all four parameters (symbol, file, max_depth, limit) are already documented in the schema; the description only restates max_depth. It adds no meaning for 'file' disambiguation, 'limit' truncation behavior, or accepted symbol formats, so baseline 3 applies.

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 ('Compute') and a precisely scoped resource ('transitive reverse-dependency blast radius for a symbol'), which clearly distinguishes it from get_callers/get_callees by its transitive, depth-bounded nature. It does not explicitly name a sibling, so it falls short of a 5.

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 by the term 'blast radius' – an agent can infer impact-analysis scenarios, but there is no explicit when-to-use, when-not-to-use, or routing to alternatives such as get_callers (direct callers) or find_symbol. Nothing is stated about prerequisites like indexing state.

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