# set-tab-color

Set the color of a tab using Python API

Agent View of the PolicyLayer registry record for `set-tab-color`. HTML page: https://policylayer.com/tools/2black0-enhanced-iterm-mcp-server/set-tab-color

## Facts

- Tool: `set-tab-color`
- Server: Enhanced iTerm MCP Server (`2black0/enhanced-iterm-mcp-server`) — https://policylayer.com/tools/2black0-enhanced-iterm-mcp-server.md
- Homepage: https://github.com/2black0/enhanced-iterm-mcp-server
- Risk category: Write (Medium risk)
- Registry record: grade D, 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": "set-tab-color",
    "arguments": {}
  }
}
```

## Why set-tab-color is rated Medium

This tool modifies the visual appearance of a terminal tab by changing its color. This is a reversible cosmetic change with no side effects on data, code execution, or system state. It falls squarely into the Write category as it modifies a property of an existing UI element. Severity is low since misuse only results in an undesired tab color.

From the tool's own definition: "Set the color of a tab using Python API"

## Use case

AI agents use set-tab-color to create or update resources in Enhanced iTerm MCP Server, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Enhanced iTerm MCP Server environment.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Enhanced iTerm MCP Server:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "set-tab-color": {
      "limits": [
        {
          "counter": "set-tab-color_rate",
          "window": "minute",
          "max": 30,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on Enhanced iTerm MCP Server (11)

- `broadcast-input` — Execute — https://policylayer.com/tools/2black0-enhanced-iterm-mcp-server/broadcast-input.md
- `execute-command-in-pane` — Execute — https://policylayer.com/tools/2black0-enhanced-iterm-mcp-server/execute-command-in-pane.md
- `open-terminal` — Execute — https://policylayer.com/tools/2black0-enhanced-iterm-mcp-server/open-terminal.md
- `split-terminal-horizontal` — Execute — https://policylayer.com/tools/2black0-enhanced-iterm-mcp-server/split-terminal-horizontal.md
- `get-session-details` — Read — https://policylayer.com/tools/2black0-enhanced-iterm-mcp-server/get-session-details.md
- `get-session-info` — Read — https://policylayer.com/tools/2black0-enhanced-iterm-mcp-server/get-session-info.md
- `get-terminal-state` — Read — https://policylayer.com/tools/2black0-enhanced-iterm-mcp-server/get-terminal-state.md
- `list-all-sessions` — Read — https://policylayer.com/tools/2black0-enhanced-iterm-mcp-server/list-all-sessions.md
- `list-panes` — Read — https://policylayer.com/tools/2black0-enhanced-iterm-mcp-server/list-panes.md
- `monitor-session` — Read — https://policylayer.com/tools/2black0-enhanced-iterm-mcp-server/monitor-session.md
- `split-terminal-vertical` — Read — https://policylayer.com/tools/2black0-enhanced-iterm-mcp-server/split-terminal-vertical.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=2black0-enhanced-iterm-mcp-server · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/2black0-enhanced-iterm-mcp-server
