Skip to main content
Glama
lllli223

codex-workspace-codegraph-mcp

by lllli223

CodeGraph: codegraph_impact

codegraph_impact
Read-onlyIdempotent

Identify which symbols are impacted when you change a symbol, helping you assess risk before refactoring and avoid breaking dependent code.

Instructions

List symbols affected by changing . Use before a refactor.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileNoNarrow to the definition in this file (path or suffix) when several same-named symbols exist
depthNoHow many levels of dependencies to traverse (default: 2)
symbolYesName of the symbol to analyze impact for
projectPathYesAbsolute path to the project to query (or any directory inside it) — codegraph uses the nearest .codegraph/ index at or above that path. Omit to use this session's default project. Pass it to query a second codebase, or when the server root has no index of its own (e.g. a monorepo where only sub-projects are indexed, so there is no default project).
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds the semantic context that this is an analysis of hypothetical changes rather than a mutation, which aligns with the annotations. It does not contradict them, but it also does not disclose much behavioral detail beyond what the annotations and schema already convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences with no filler. The core action and resource are front-loaded, and the usage guidance is immediate. Every word earns its place, making this a model of concise tool documentation.

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 read-only analysis tool with rich annotations and full schema coverage, the description is mostly sufficient: it states what it lists, what triggers its use, and its temporal context. The remaining gap is not explicitly distinguishing it from directly related sibling tools like codegraph_callers or codegraph_explore, though 'affected by changing' largely does this implicitly.

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 the input schema already documents all four parameters thoroughly. The description only mentions <symbol> and does not add parameter-level meaning beyond the schema. A baseline of 3 is appropriate since the schema carries the parameter-documentation burden.

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 uses a specific verb and resource: 'List symbols affected by changing <symbol>.' This clearly identifies the tool as impact analysis, distinguishing it from sibling tools like codegraph_callers or codegraph_callees that answer different relationship questions. The phrase 'before a refactor' further anchors its purpose.

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 gives a clear usage context: 'Use before a refactor.' It tells the agent when this tool is appropriate, though it does not explicitly name alternatives or state when not to use it. This is clear context without exclusions, so a 4 is appropriate.

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/lllli223/codex-workspace-codegraph-mcp'

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