# switch_llm_mode

切换 LLM 模式

Agent View of the PolicyLayer registry record for `switch_llm_mode`. HTML page: https://policylayer.com/tools/2799662352-bmad-agent-fastmcp/switch-llm-mode

## Facts

- Tool: `switch_llm_mode`
- Server: BMAD Agent FastMCP Service (`2799662352/bmad-agent-fastmcp`) — https://policylayer.com/tools/2799662352-bmad-agent-fastmcp.md
- Homepage: https://github.com/2799662352/bmad-agent-fastmcp
- Risk category: Write (Medium risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Rate-limited

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

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

## Why switch_llm_mode is rated Medium

This tool modifies system configuration (LLM mode) which is a reversible state change. It does not execute arbitrary code, delete data, or move money, so it falls under Write category. Severity is medium because switching LLM modes could affect subsequent agent decisions and outputs, but the change is reversible.

From the tool's own definition: "Tool name 'switch_llm_mode' combined with description '切换 LLM 模式' (Chinese: 'Switch LLM mode') indicates changing configuration state. Sibling tools show this is part of a multi-agent system where mode switching affects operational behavior."

## Use case

AI agents use switch_llm_mode to create or update resources in BMAD Agent FastMCP Service, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your BMAD Agent FastMCP Service environment.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches BMAD Agent FastMCP Service:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "switch_llm_mode": {
      "limits": [
        {
          "counter": "switch_llm_mode_rate",
          "window": "minute",
          "max": 30,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on BMAD Agent FastMCP Service (24)

- `reset_workflow` — Destructive — https://policylayer.com/tools/2799662352-bmad-agent-fastmcp/reset-workflow.md
- `activate_agent` — Execute — https://policylayer.com/tools/2799662352-bmad-agent-fastmcp/activate-agent.md
- `advance_workflow_step` — Execute — https://policylayer.com/tools/2799662352-bmad-agent-fastmcp/advance-workflow-step.md
- `analyze_requirements_with_llm` — Execute — https://policylayer.com/tools/2799662352-bmad-agent-fastmcp/analyze-requirements-with-llm.md
- `call_agent_with_llm` — Execute — https://policylayer.com/tools/2799662352-bmad-agent-fastmcp/call-agent-with-llm.md
- `execute_task` — Execute — https://policylayer.com/tools/2799662352-bmad-agent-fastmcp/execute-task.md
- `start_workflow` — Execute — https://policylayer.com/tools/2799662352-bmad-agent-fastmcp/start-workflow.md
- `generate_workflow_report` — Read — https://policylayer.com/tools/2799662352-bmad-agent-fastmcp/generate-workflow-report.md
- `get_agent_details` — Read — https://policylayer.com/tools/2799662352-bmad-agent-fastmcp/get-agent-details.md
- `get_agent_tasks` — Read — https://policylayer.com/tools/2799662352-bmad-agent-fastmcp/get-agent-tasks.md
- `get_llm_mode_info` — Read — https://policylayer.com/tools/2799662352-bmad-agent-fastmcp/get-llm-mode-info.md
- `get_system_status` — Read — https://policylayer.com/tools/2799662352-bmad-agent-fastmcp/get-system-status.md
- `get_template` — Read — https://policylayer.com/tools/2799662352-bmad-agent-fastmcp/get-template.md
- `get_workflow_details` — Read — https://policylayer.com/tools/2799662352-bmad-agent-fastmcp/get-workflow-details.md
- `get_workflow_status` — Read — https://policylayer.com/tools/2799662352-bmad-agent-fastmcp/get-workflow-status.md
- `list_agents` — Read — https://policylayer.com/tools/2799662352-bmad-agent-fastmcp/list-agents.md
- `list_tasks` — Read — https://policylayer.com/tools/2799662352-bmad-agent-fastmcp/list-tasks.md
- `list_templates` — Read — https://policylayer.com/tools/2799662352-bmad-agent-fastmcp/list-templates.md
- `list_workflows` — Read — https://policylayer.com/tools/2799662352-bmad-agent-fastmcp/list-workflows.md
- `scan_bmad_core` — Read — https://policylayer.com/tools/2799662352-bmad-agent-fastmcp/scan-bmad-core.md
- `validate_agent` — Read — https://policylayer.com/tools/2799662352-bmad-agent-fastmcp/validate-agent.md
- `validate_workflow` — Read — https://policylayer.com/tools/2799662352-bmad-agent-fastmcp/validate-workflow.md
- `export_workflow_state` — Write — https://policylayer.com/tools/2799662352-bmad-agent-fastmcp/export-workflow-state.md
- `import_workflow_state` — Write — https://policylayer.com/tools/2799662352-bmad-agent-fastmcp/import-workflow-state.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=2799662352-bmad-agent-fastmcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/2799662352-bmad-agent-fastmcp
