# analyze

Analyze recent runs from the opt-in debug log (latency/tokens/reasoning-effort per model) plus the session store (verdict agreement rate), and return advisory tuning suggestions (disable a slow/redundant model in ask-all, lower an OpenRouter model

Agent View of the PolicyLayer registry record for `analyze`. HTML page: https://policylayer.com/tools/deliberation/analyze

## Facts

- Tool: `analyze`
- Server: Deliberation (`antonbabenko/deliberation`) — https://policylayer.com/tools/deliberation.md
- Homepage: https://github.com/antonbabenko/deliberation
- Risk category: Read (Low risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Allowed

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "analyze",
    "arguments": {}
  }
}
```

## Why analyze is rated Low

The tool performs read-only analysis of logs and session data to generate advisory suggestions. It does not create, modify, delete, or execute any operations. There is no side effect beyond returning informational output. The low severity reflects minimal blast radius—misuse would only produce incorrect tuning advice, not harm external systems or data integrity.

From the tool's own definition: "Tool description indicates it 'Analyze[s] recent runs from the opt-in debug log' and queries 'the session store' to 'return advisory tuning suggestions.' The verb 'analyze' combined with 'return' describes retrieval and analysis of existing telemetry data…"

## Use case

AI agents call analyze to retrieve information from Deliberation without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

## Recommended policy (PolicyLayer)

Verdict: **Allowed**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Deliberation:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "analyze": {}
  }
}
```

## Other tools on Deliberation (10)

- `consensus` — Execute — https://policylayer.com/tools/deliberation/consensus.md
- `consensus-step` — Execute — https://policylayer.com/tools/deliberation/consensus-step.md
- `gemini` — Execute — https://policylayer.com/tools/deliberation/gemini.md
- `gemini-reply` — Execute — https://policylayer.com/tools/deliberation/gemini-reply.md
- `grok` — Execute — https://policylayer.com/tools/deliberation/grok.md
- `grok-reply` — Execute — https://policylayer.com/tools/deliberation/grok-reply.md
- `openrouter` — Execute — https://policylayer.com/tools/deliberation/openrouter.md
- `openrouter-reply` — Execute — https://policylayer.com/tools/deliberation/openrouter-reply.md
- `openrouter-list` — Read — https://policylayer.com/tools/deliberation/openrouter-list.md
- `session-get` — Read — https://policylayer.com/tools/deliberation/session-get.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=deliberation · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/deliberation
