# call_agent_with_llm

使用 LLM 调用智能体执行任务

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

## Facts

- Tool: `call_agent_with_llm`
- 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: Execute (High 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": "call_agent_with_llm",
    "arguments": {}
  }
}
```

## Why call_agent_with_llm is rated High

This tool invokes an agent to execute an arbitrary task using an LLM, which constitutes external operation execution. The effects depend entirely on what task is passed, and agent execution can trigger downstream writes, code execution, or other high-impact actions. Severity is high because misuse could cause an agent to perform unintended operations across the development workflow.

From the tool's own definition: "'调用智能体执行任务' (call agent to execute task) and 'call_agent_with_llm' — triggers an AI agent execution with LLM backing"

## Use case

AI agents invoke call_agent_with_llm to trigger actions in BMAD Agent FastMCP Service. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call: builds kicked off, notifications sent, workflows started.

## 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": {
    "call_agent_with_llm": {
      "limits": [
        {
          "counter": "call_agent_with_llm_rate",
          "window": "minute",
          "max": 10,
          "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
- `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
- `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
