Skip to main content
Glama
Pharaoh-so

Pharaoh - Your AI breaks things it can't see

get_blast_radius

Read-only

Analyze code dependencies to identify what breaks before refactoring, renaming, or deleting functions, files, or modules. Returns risk assessment and all affected callers, endpoints, and operations.

Instructions

Check what breaks BEFORE refactoring, renaming, or deleting a function, file, or module.

CALL THIS WHEN: • You're about to refactor or rename a function — see every caller that needs updating • You want to know if a change is safe — check if anything depends on this code • A PR modifies a shared utility — trace all downstream consumers • You need to assess risk level before a change (LOW/MEDIUM/HIGH)

RETURNS: Risk assessment (LOW/MEDIUM/HIGH), all affected callers grouped by module with file paths, impacted HTTP endpoints, impacted cron jobs, and affected DB operations. Traces up to 5 hops deep through the call graph.

EXAMPLES: • "What breaks if I change the formatMessage function?" • "How many callers does this utility have across the codebase?" • "Is it safe to delete this file or do other modules use it?" • "Which API endpoints are affected if I modify the db module?"

WHY NOT JUST READ FILES: You can grep for direct callers, but you'll miss indirect callers 2-3 hops away, and you won't see affected endpoints or cron jobs. This traces the full transitive dependency chain automatically.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations only declare read-only safety. Description adds critical behavioral context: 5-hop depth limit, specific return structure (risk levels, grouped callers by module, HTTP endpoints, cron jobs, DB operations), and explains it traces transitive dependencies automatically.

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?

Excellent structure with clear headings (CALL THIS WHEN, RETURNS, EXAMPLES, WHY NOT JUST READ FILES). Front-loaded purpose statement. Every section earns its place; no redundancy with structured fields.

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

Completeness5/5

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

Despite no output schema, description comprehensively details return values (risk assessment, affected callers, endpoints, cron jobs, DB operations) and explains the analysis depth. Sufficient for a complex static analysis tool.

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

Parameters4/5

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

Zero parameters per schema, establishing baseline 4. Description implicitly clarifies the tool operates on code entities (functions/files/modules) from context, though no explicit parameter documentation is needed for an empty schema.

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?

Opens with specific verb+resource ('Check what breaks') and scope (functions, files, modules). The 'BEFORE' qualifier and 'up to 5 hops deep' distinguish it from simple grep/call lookup tools like search_functions or check_reachability.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit 'CALL THIS WHEN' section lists four specific trigger scenarios (refactoring, safety checks, PR review, risk assessment). The 'WHY NOT JUST READ FILES' section explicitly contrasts with file-reading alternatives, explaining when this tool's transitive analysis is necessary.

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/Pharaoh-so/pharaoh'

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