Skip to main content
Glama
@event4u/agent-config

@event4u/agent-config

Official

graph_impact

Idempotent

Maps a Git diff to affected callers, dependents, and tests across stated dependency edges, with optional risk scoring and untested-symbol filtering.

Instructions

What a diff breaks: callers, dependents, tests of changed symbols over stated edges; review_risk scores it.

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": {
      "diff": "<diff>"
    },
    "name": "graph_impact"
  }
}

Input Schema

NameRequiredDescriptionDefault
diffYesGit rev to diff HEAD against, e.g. `HEAD~1`.
pageNo
depthNoHop limit.
budgetNo
detailNostandard
projectNo
review_riskNo
untested_onlyNoInstead return changed symbols no test imports.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv20.4.0
    • addedInput schema / properties / budget
      Added value: +{
      +  "minimum": 250,
      +  "type": "integer"
      +}
    • addedInput schema / properties / detail
      Added value: +{
      +  "default": "standard",
      +  "enum": [
      +    "minimal",
      +    "standard"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / page
      Added value: +{
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / project
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / review_risk
      Added value: +{
      +  "type": "boolean"
      +}
  2. Addedv14.22.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare idempotent=true, destructiveHint=false, openWorldHint=false, and notably readOnlyHint=false, which the description never explains (why a read-style analysis is not read-only). The phrase 'over stated edges' adds a useful caveat that results follow declared graph edges only, but cost, budget behavior, and any side effects remain undisclosed.

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 dense sentence with the substantive content front-loaded and no filler. The telegraphic semicolon style borders on cryptic but wastes nothing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a complex 8-parameter analysis tool with no output schema, and the description says nothing about the shape of the result (how callers, dependents, and tests are presented) or how page/budget/detail interact. Given the low schema coverage, the description leaves too much for an agent to infer before calling correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 38%: diff, depth, and untested_only are documented in the schema, while page, budget, detail, project, and review_risk are not. The description only clarifies review_risk ('scores it') and does not compensate for the remaining five undocumented parameters, so an agent gets little help with pagination, budget limits, or detail level.

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 the analysis precisely: it reports callers, dependents, and tests of changed symbols in a diff, over stated edges. That distinguishes it from graph_dead, graph_tests_for, and graph_query, though the leading fragment ('What a diff breaks') is elliptical rather than a clean verb+resource statement.

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 — call it when you have a diff and want blast-radius information — and it references its own review_risk switch. But it gives no explicit when-not guidance and does not route the agent to graph_tests_for or graph_query for related narrower questions.

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