# toolx

ToolX runtime — load and execute PromptX ecosystem tools What It Does Universal interface for calling PromptX tools (file ops, PDF reading, role creation, etc.). Input is a YAML document specifying the tool, mode, and parameters. Modes | Mode | Purpose | |---|---| | manual | Read tool documentation (always do this first) | | execute | Run the tool with parameters | | configure | Set environment variables for a tool | | log | View tool execution logs | | dryrun | Preview without executing | Examples Read tool manual (do this first): \

Agent View of the PolicyLayer registry record for `toolx`. HTML page: https://policylayer.com/tools/deepractice-promptx/toolx

## Facts

- Tool: `toolx`
- Server: PromptX (`deepractice/promptx`) — https://policylayer.com/tools/deepractice-promptx.md
- Homepage: https://github.com/Deepractice/PromptX
- 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": "toolx",
    "arguments": {}
  }
}
```

## Why toolx is rated High

toolx is a meta-tool that executes other PromptX tools based on YAML input. While it includes safe modes (manual, log, dryrun), the execute mode runs arbitrary tools from the ecosystem with user-specified parameters. The sibling tools span Read, Write, and Destructive categories; toolx's capacity to invoke them means misuse could delete workspaces, modify files, or execute code.

From the tool's own definition: "'Universal interface for calling PromptX tools' with 'execute' mode to 'Run the tool with parameters'; ecosystem includes destructive tools (delete_workspace_item) and file operations; YAML-based arbitrary tool invocation enables execution of sibling tools…"

## Use case

AI agents invoke toolx to trigger actions in PromptX. 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 PromptX:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "toolx": {
      "limits": [
        {
          "counter": "toolx_rate",
          "window": "minute",
          "max": 10,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on PromptX (13)

- `delete_workspace_item` — Destructive — https://policylayer.com/tools/deepractice-promptx/delete-workspace-item.md
- `learn` — Read — https://policylayer.com/tools/deepractice-promptx/learn.md
- `list_workspace_directory` — Read — https://policylayer.com/tools/deepractice-promptx/list-workspace-directory.md
- `list_workspaces` — Read — https://policylayer.com/tools/deepractice-promptx/list-workspaces.md
- `list_xlsx_sheets` — Read — https://policylayer.com/tools/deepractice-promptx/list-xlsx-sheets.md
- `read_docx` — Read — https://policylayer.com/tools/deepractice-promptx/read-docx.md
- `read_pdf` — Read — https://policylayer.com/tools/deepractice-promptx/read-pdf.md
- `read_pptx` — Read — https://policylayer.com/tools/deepractice-promptx/read-pptx.md
- `read_workspace_file` — Read — https://policylayer.com/tools/deepractice-promptx/read-workspace-file.md
- `read_xlsx` — Read — https://policylayer.com/tools/deepractice-promptx/read-xlsx.md
- `create_workspace_directory` — Write — https://policylayer.com/tools/deepractice-promptx/create-workspace-directory.md
- `project` — Write — https://policylayer.com/tools/deepractice-promptx/project.md
- `write_workspace_file` — Write — https://policylayer.com/tools/deepractice-promptx/write-workspace-file.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=deepractice-promptx · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/deepractice-promptx
