analyze_cascade
Analyze a multi-rank distributed-training failure: find the rank that failed FIRST (the others usually just time out waiting on it) and route any GPU Xid faults to the correct node action (reset / reboot / RMA). Runs offline and instantly — provide the gathered per-rank logs via logs, file, or dir.
This record as markdown: /tools/denpex-mcp/analyze-cascade.md
What analyze_cascade does on Denpex
AI agents call analyze_cascade to retrieve information from Denpex without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
dir | string | — | Directory to scan for the newest log file. |
file | string | — | Path to a log file to read. |
logs | string | — | Paste the combined per-rank logs. |
Parameters from the server's own tool schema.
Why analyze_cascade is rated Low
Even though analyze_cascade only reads data, uncontrolled read access leaks sensitive information and racks up API costs: an agent caught in a retry loop can make thousands of calls a minute without anyone noticing.
Risk signalsAccepts file system path (file)
Attacks that exploit this kind of access
The rule that runs analyze_cascade safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Denpex, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For analyze_cascade, this is the rule to start with:
analyze_cascade is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Denpex, apply this rule, and every analyze_cascade call is checked against it from then on.
Questions about analyze_cascade
Analyze a multi-rank distributed-training failure: find the rank that failed FIRST (the others usually just time out waiting on it) and route any GPU Xid faults to the correct node action (reset / reboot / RMA). Runs offline and instantly — provide the gathered per-rank logs via logs, file, or dir. It is categorised as a Read tool in the Denpex MCP Server, which means it retrieves data without modifying state.
analyze_cascade accepts 3 parameters: dir, file, logs. The full parameter table on this page comes from the server's own tool schema.
Register the Denpex MCP server in PolicyLayer and add a rule for analyze_cascade: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Denpex. Nothing to install.
analyze_cascade is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the analyze_cascade rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for analyze_cascade. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
analyze_cascade is provided by the Denpex MCP server (denpex-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Denpex, and thousands of servers like it.
This server
Across the catalogue