# draw_lines

A write tool on the 🪄 ImageSorcery MCP MCP server.

Agent View of the PolicyLayer registry record for `draw_lines`. HTML page: https://policylayer.com/tools/sunriseapps-imagesorcery-mcp/draw-lines

## Facts

- Tool: `draw_lines`
- Server: 🪄 ImageSorcery MCP (`sunriseapps/imagesorcery-mcp`) — https://policylayer.com/tools/sunriseapps-imagesorcery-mcp.md
- Homepage: https://github.com/sunriseapps/imagesorcery-mcp
- Risk category: Write (Medium risk)
- Registry record: grade B, 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": "draw_lines",
    "arguments": {}
  }
}
```

## Why draw_lines is rated Medium

Based on the tool name and context of sibling tools (draw_arrows, draw_circles, draw_rectangles, draw_texts), this tool likely draws lines onto an image, which is a Write operation (modifying image data). Confidence is reduced due to empty description. Severity is medium as misuse could modify or corrupt images irreversibly depending on implementation, but the blast radius is generally limited to image files.

From the tool's own definition: "Tool name 'draw_lines' suggests drawing/writing lines onto an image; description is empty and uninformative."

## Use case

AI agents use draw_lines to create or update resources in 🪄 ImageSorcery MCP, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your 🪄 ImageSorcery MCP environment.

## Recommended policy (PolicyLayer)

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

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "draw_lines": {
      "limits": [
        {
          "counter": "draw_lines_rate",
          "window": "minute",
          "max": 30,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on 🪄 ImageSorcery MCP (16)

- `config` — Other — https://policylayer.com/tools/sunriseapps-imagesorcery-mcp/config.md
- `detect` — Read — https://policylayer.com/tools/sunriseapps-imagesorcery-mcp/detect.md
- `find` — Read — https://policylayer.com/tools/sunriseapps-imagesorcery-mcp/find.md
- `get_metainfo` — Read — https://policylayer.com/tools/sunriseapps-imagesorcery-mcp/get-metainfo.md
- `ocr` — Read — https://policylayer.com/tools/sunriseapps-imagesorcery-mcp/ocr.md
- `blur` — Write — https://policylayer.com/tools/sunriseapps-imagesorcery-mcp/blur.md
- `change_color` — Write — https://policylayer.com/tools/sunriseapps-imagesorcery-mcp/change-color.md
- `crop` — Write — https://policylayer.com/tools/sunriseapps-imagesorcery-mcp/crop.md
- `draw_arrows` — Write — https://policylayer.com/tools/sunriseapps-imagesorcery-mcp/draw-arrows.md
- `draw_circles` — Write — https://policylayer.com/tools/sunriseapps-imagesorcery-mcp/draw-circles.md
- `draw_rectangles` — Write — https://policylayer.com/tools/sunriseapps-imagesorcery-mcp/draw-rectangles.md
- `draw_texts` — Write — https://policylayer.com/tools/sunriseapps-imagesorcery-mcp/draw-texts.md
- `fill` — Write — https://policylayer.com/tools/sunriseapps-imagesorcery-mcp/fill.md
- `overlay` — Write — https://policylayer.com/tools/sunriseapps-imagesorcery-mcp/overlay.md
- `resize` — Write — https://policylayer.com/tools/sunriseapps-imagesorcery-mcp/resize.md
- `rotate` — Write — https://policylayer.com/tools/sunriseapps-imagesorcery-mcp/rotate.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=sunriseapps-imagesorcery-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/sunriseapps-imagesorcery-mcp
