# tool_invoke

Execute any tool on any MCP server with proper argument validation

Agent View of the PolicyLayer registry record for `tool_invoke`. HTML page: https://policylayer.com/tools/1mcp-app-agent/tool-invoke

## Facts

- Tool: `tool_invoke`
- Server: 1MCP Server (`1mcp-app/agent`) — https://policylayer.com/tools/1mcp-app-agent.md
- Homepage: https://github.com/1mcp-app/agent
- 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": "tool_invoke",
    "arguments": {}
  }
}
```

## Why tool_invoke is rated High

This is a meta-tool that can invoke arbitrary actions on any MCP server in the aggregated pool. Even with "proper argument validation," it enables execution of any operation (Read, Write, Destructive, Financial) depending on what tools exist on connected servers.

From the tool's own definition: "Tool description explicitly states 'Execute any tool on any MCP server' — this permits arbitrary execution across all connected MCP servers. The phrase 'any tool on any MCP server' indicates unrestricted command execution capabilities."

## Use case

AI agents invoke tool_invoke to trigger actions in 1MCP Server. 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 1MCP Server:

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

## Other tools on 1MCP Server (16)

- `mcp_uninstall` — Destructive — https://policylayer.com/tools/1mcp-app-agent/mcp-uninstall.md
- `mcp_install` — Execute — https://policylayer.com/tools/1mcp-app-agent/mcp-install.md
- `mcp_reload` — Execute — https://policylayer.com/tools/1mcp-app-agent/mcp-reload.md
- `mcp_info` — Read — https://policylayer.com/tools/1mcp-app-agent/mcp-info.md
- `mcp_list` — Read — https://policylayer.com/tools/1mcp-app-agent/mcp-list.md
- `mcp_registry_info` — Read — https://policylayer.com/tools/1mcp-app-agent/mcp-registry-info.md
- `mcp_registry_list` — Read — https://policylayer.com/tools/1mcp-app-agent/mcp-registry-list.md
- `mcp_registry_status` — Read — https://policylayer.com/tools/1mcp-app-agent/mcp-registry-status.md
- `mcp_search` — Read — https://policylayer.com/tools/1mcp-app-agent/mcp-search.md
- `mcp_status` — Read — https://policylayer.com/tools/1mcp-app-agent/mcp-status.md
- `tool_list` — Read — https://policylayer.com/tools/1mcp-app-agent/tool-list.md
- `tool_schema` — Read — https://policylayer.com/tools/1mcp-app-agent/tool-schema.md
- `mcp_disable` — Write — https://policylayer.com/tools/1mcp-app-agent/mcp-disable.md
- `mcp_edit` — Write — https://policylayer.com/tools/1mcp-app-agent/mcp-edit.md
- `mcp_enable` — Write — https://policylayer.com/tools/1mcp-app-agent/mcp-enable.md
- `mcp_update` — Write — https://policylayer.com/tools/1mcp-app-agent/mcp-update.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=1mcp-app-agent · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/1mcp-app-agent
