Skip to main content
Glama

cross_repo_impact

Determine which files across multiple repositories are affected by changing a shared symbol, with confirmed and potential impact per repo.

Instructions

Cross-repo blast radius. Shows which files across multiple repositories are affected by changing a shared symbol. Returns confirmed and potential impact per repo.

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_id": "<symbol_id>",
      "workspace": "<workspace>"
    },
    "name": "cross_repo_impact"
  }
}

Input Schema

NameRequiredDescriptionDefault
depthNoImport hops to follow (1-3)
symbol_idYesSymbol identifier (from search_symbols or get_file_outline results)
workspaceYesWorkspace name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.10.2

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the burden alone. It does disclose one valuable behavioral trait beyond the schema: results are split into 'confirmed' and 'potential' impact per repository, which tells the agent how to read confidence. It does not state that it is a read-only analysis, whether index freshness affects results, or how the depth parameter changes cost or noise.

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?

Two sentences, front-loaded with the scope ('Cross-repo blast radius') followed by the concrete definition and return shape. No filler. The opening phrase is mildly jargonistic, requiring the second sentence to decode it, which keeps it just below a 5.

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?

For a three-parameter read-only analysis tool with a fully documented schema and no output schema, the description covers purpose, scope, and the two-tier result classification. The main residual gap is the absence of any prerequisite about workspace/repo indexing, which matters before calling it.

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% with three documented parameters including depth (1-3 import hops) and the provenance of symbol_id. The description adds no parameter-level meaning beyond that, so the schema does the heavy lifting and the baseline of 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?

The description names a specific analysis: which files across multiple repositories are affected by changing a shared symbol, and it scopes the answer as cross-repo versus single-repo. An agent can distinguish this from code-search siblings like find_code or repo_deep_dive by the explicit blast-radius framing. It stops short of naming the closest alternative explicitly.

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 implied rather than stated: 'affected by changing a shared symbol' suggests calling it before a refactor or rename. There is no explicit when-to-use, no when-not-to-use, and no prerequisite such as the workspace containing multiple indexed repositories, nor any pointer to batch_plan_rename for the rename-planning case.

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