Tool reference
All 9 read-only tools of the inspector.rest MCP server, grouped by tool group, with parameters, example calls and results.
The inspector.rest MCP server exposes 9 tools. All of them are read-only. A connection sees only the tools of the groups that are turned on for it. Each tool page lists its parameters, an example call and an example result.
Agents are guided through the tools in this order: summarize, list, request, body. Start with list_environments, then summarize_requests or top_values, then list_requests, get_request, describe_body and read_body.
- 1
list_environments - 2
summarize_requestsortop_values - 3
list_requests - 4
get_request - 5
describe_body - 6
read_body
Discover and summarize
Environments, counts, error rates and latency by group, most common values.
| Tool | What it does | Default output budget |
|---|---|---|
list_environments | Lists the environments a connection can read, with the time of the last request and the request count of the last 24 hours. | 4 KB |
summarize_requests | Groups recorded requests and returns count, error rate and duration percentiles per group. | 4 KB |
top_values | Lists the most frequent values of a dimension, such as hosts, path templates, error names or label values. | 4 KB |
Requests
Request lists, details, attempts and headers; differences between two requests.
| Tool | What it does | Default output budget |
|---|---|---|
list_requests | Lists recorded requests as compact rows, newest first, with filters and paging. | 4 KB |
get_request | Returns one request with a line per attempt; headers, error stack and body metadata on demand. | 6 KB |
compare_requests | Shows which headers and which JSON paths differ between two requests or attempts. | 6 KB |
Bodies
Structure of bodies, selected parts by JSON path or regex, search across bodies.
| Tool | What it does | Default output budget |
|---|---|---|
describe_body | Describes a body without reading it: content type, size and a two-level key tree for JSON. | 4 KB |
read_body | Reads selected parts of a body by JSON path, regex lines, head, tail or byte range. | 8 KB |
search_bodies | Finds requests whose request or response body contains text or matches a regular expression. | 4 KB |
Common to all tools
environment: anorg/project/envpath or anenv_id. It can be left out when the connection covers a single environment.max_output_bytes: output budget, 512 to 32768.- Results carry
truncated,next_cursor,hint,untrusted_contentandapplied_filterswhere they apply. - Errors are returned with
isError: trueand{ code, message, hint }. See Output budgets and limits and Error codes.