# MCP tools

Every read-only tool Niro exposes over MCP, grouped by what it answers.

## Impact and blast radius

### `get_blast_radius`

Everything a change can reach: the callers that break and the callees that get different input, across services and events.

### `get_impact_analysis`

What breaks if you change a method, class, route or event, with callers across service boundaries.

### `get_reverse_call_chain`

Who calls this method or class, walking upward.

## Control flow

### `get_call_chain`

The call chain for a method: callers, callees, or both.

### `find_handler`

Given a method, what answers the HTTP calls it makes.

### `get_exception_flow`

Which exceptions can escape a method, and where they are thrown and caught.

## Find and read code

### `resolve_name`

What a name matches in the graph, to choose among several matches.

### `get_class_structure`

One type’s methods, constructors, fields, constants, and what it extends or implements.

### `list_types`

Every class, interface and enum in the project, with the file each lives in.

### `get_source_code`

Read source for a file, a line range, a method or a class.

### `code_grep`

Regex or literal search inside source files, with the method and class around each match.

## Services and HTTP

### `get_service_topology`

Which folder of the project calls which over HTTP, with the routes involved.

### `find_api_endpoints`

The HTTP endpoints the project declares and exposes.

### `find_outbound_http_calls`

The outbound HTTP calls the project makes to other services, and where they land.

## Events

### `list_events`

Every event the project publishes or subscribes to.

### `get_event_producers_and_handlers`

For one event, who publishes it and who handles it.

### `find_orphaned_events`

Events with only one side: published with no listener, or listened for with no publisher.

## Data

### `list_data_resources`

Every database, cache or queue the project touches.

### `get_data_resource_usage`

What reads, writes or deletes one table, collection, cache or queue.

## Status

### `get_index_status`

What is indexed for this folder, by kind.

### `mark_task_complete`

Signals the end of a task and returns a one-line receipt of what Niro answered.