Skip to main content
Glama

tmh_impact

Analyze change impact from a file path, symbol, database table, or HTTP route to identify affected call chains, business domains, flows, and tables.

Instructions

Deterministic change impact analysis: given a file path, symbol, table, or HTTP route, return affected call chains, business domains, flows, and tables.

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": {
      "target": "<target>"
    },
    "name": "tmh_impact"
  }
}

Input Schema

NameRequiredDescriptionDefault
depthNoMaximum call graph traversal depth (default: 3).
targetYesFile path, function/class symbol, DB table, or route keyword.
repoPathNoLocal repository path (optional if server started with --repo).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations exist, so the description carries the full disclosure burden. It does add genuinely useful behavior context by calling the analysis 'deterministic' and by naming what the result contains, which tells the agent the output is computed rather than inferred. It omits whether the tool is read-only, what happens on unresolvable targets, and any cost or performance characteristics.

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 sentence that front-loads the key qualifier ('Deterministic change impact analysis') and then packs inputs and outputs compactly. No filler or repetition, though the colon-separated structure is dense and could have been split for readability.

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 three-parameter tool with no annotations and no output schema, the description does reasonable double duty by summarizing return contents. However, it leaves gaps an agent would care about: whether the repository must already be scanned/indexed, how depth trade-offs affect cost, and what an empty or ambiguous target result means.

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%, so all three parameters are already documented in the schema, establishing a baseline of 3. The description's enumeration of target types ('file path, symbol, table, or HTTP route') reinforces the target parameter but adds no new detail on the depth or repoPath semantics beyond what the schema states.

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 ('change impact analysis') and enumerates both the accepted target kinds (file path, symbol, table, HTTP route) and the returned artifact kinds (call chains, business domains, flows, tables). An agent can distinguish this from a plain chain or search tool by the word 'impact' plus the multi-domain output. It stops short of naming a sibling alternative, so it is clear but not maximally differentiated.

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 phrase 'change impact analysis' hints at pre-change risk assessment, but the description never says when to prefer this over tmh_chain or tmh_search, nor any prerequisite such as having run tmh_scan first. No exclusions or when-not-to-use conditions are given.

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