# import_workflow_state

从文件导入工作流程状态

Agent View of the PolicyLayer registry record for `import_workflow_state`. HTML page: https://policylayer.com/tools/2799662352-bmad-agent-fastmcp/import-workflow-state

## Facts

- Tool: `import_workflow_state`
- 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": "import_workflow_state",
    "arguments": {}
  }
}
```

## Why import_workflow_state is rated Medium

Importing workflow state from a file is a write operation that modifies the application's current state, potentially overwriting existing workflow configurations and task data. While reversible (unlike destructive operations), it can significantly alter the system's operational state.

From the tool's own definition: "Tool name 'import_workflow_state' with description '从文件导入工作流程状态' (imports workflow state from file). This loads external data into the system's workflow state, modifying internal application state."

## Use case

AI agents use import_workflow_state 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": {
    "import_workflow_state": {
      "limits": [
        {
          "counter": "import_workflow_state_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
- `switch_llm_mode` — Write — https://policylayer.com/tools/2799662352-bmad-agent-fastmcp/switch-llm-mode.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
