Skip to main content
Glama

whats_affected

Identify all components and pages affected by file changes through upstream dependency tracing. Get risk-ranked routes and verification targets for re-checking.

Instructions

The edit→verify glue: given changed files (or auto-detected from git status when omitted), walk the dependency graph UPSTREAM to find every component/page affected by the change, map those to routes, and return concrete verification targets — ready-to-run check_page/render_component suggestions. Each changed file gets a risk classification (low/medium/high/critical with a scoring breakdown: layer, blast radius, routes reached, direct dependents) and the result carries an overallRisk; routes and suggested checks are ordered riskiest-first. Call it after editing to know exactly what to re-check in the browser and how carefully.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filesNoWorkspace-relative changed files (e.g., ["src/hooks/useUsers.ts"]). Omit to auto-detect from git status.
offsetNoSkip this many affected items (for paging past the default 100-item page). Default 0.
maxItemsNoPage size for affectedItems (max 500). Default 100.
maxDistanceNoCap the upstream walk at this distance (1 = direct users only). Default 5.
Behavior4/5

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

With no annotations provided, the description carries full burden. It discloses the upstream walk, risk classification, ordering by risk, and auto-detection from git status. It does not mention authorization or rate limits, but for a read-only analysis tool, the transparency is adequate.

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?

The description is a single dense paragraph that is efficient but could be slightly more structured for readability. It front-loads the key action ('edit→verify glue') and provides all necessary details without redundancy.

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?

Given the tool's complexity (dependency graph, risk classification, paging) and lack of output schema, the description adequately describes the output components (risk per file, overallRisk, ordered routes). It provides sufficient context for an agent to understand the return value.

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

Parameters5/5

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

Schema description coverage is 100%, and the description adds significant context: auto-detection for the files param, paging for offset and maxItems, and distance cap meaning for maxDistance. It also explains the risk classification and overall risk in the output.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: given changed files (or auto-detected from git status), it walks the dependency graph upstream to find affected components/pages, maps to routes, and returns verification targets. It distinguishes from siblings like check_page or render_component by being a planning/discovery tool, not a direct action tool.

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?

The description explicitly says 'Call it after editing to know exactly what to re-check in the browser and how carefully,' providing clear when-to-use guidance. It doesn't explicitly mention when not to use or alternatives, but the context implies it's for post-edit analysis, not for other tasks.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/calebsjames/atlas-ui-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server