# upload_image

Upload a local JPEG, PNG, WebP, TIFF or JXL image, up to 15 MB. Returns an uploadId, valid for seven days. File content is sent to Adobe.

Agent View of the PolicyLayer registry record for `upload_image`. HTML page: https://policylayer.com/tools/thenavidm-firefly-mcp-cli/upload-image

## Facts

- Tool: `upload_image`
- Server: Firefly Mcp Cli (`@thenavidm/firefly-mcp-cli`) — https://policylayer.com/tools/thenavidm-firefly-mcp-cli.md
- Install: `npx -y @thenavidm/firefly-mcp-cli`
- Homepage: https://www.npmjs.com/package/@thenavidm/firefly-mcp-cli
- Risk category: Write (Medium risk)
- Registry record: grade C, identity unverified
- Server rate-limited: no
- Parameters: 1 (1 required)
- Recommended policy verdict: Rate-limited

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `filePath` | string | yes | Local image path on the computer running this server. |

Parameters from the server's own tool schema.

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "upload_image",
    "arguments": {
      "filePath": "<filePath>"
    }
  }
}
```

## Why upload_image is rated Medium

An AI agent can call upload_image faster than any human can review: one bad instruction and it creates or modifies resources in Firefly Mcp Cli by the hundred, each call as confident as the last.

Risk signals: Accepts file system path (filePath)

## Use case

AI agents use upload_image to create or update resources in Firefly Mcp Cli, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Firefly Mcp Cli environment.

## Recommended policy (PolicyLayer)

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

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

## Other tools on Firefly Mcp Cli (13)

- `get_job_status` — Read — https://policylayer.com/tools/thenavidm-firefly-mcp-cli/get-job-status.md
- `list_custom_models` — Read — https://policylayer.com/tools/thenavidm-firefly-mcp-cli/list-custom-models.md
- `verify_credentials` — Read — https://policylayer.com/tools/thenavidm-firefly-mcp-cli/verify-credentials.md
- `adaptive_composite` — Write — https://policylayer.com/tools/thenavidm-firefly-mcp-cli/adaptive-composite.md
- `generate_image` — Write — https://policylayer.com/tools/thenavidm-firefly-mcp-cli/generate-image.md
- `generate_image5` — Write — https://policylayer.com/tools/thenavidm-firefly-mcp-cli/generate-image5.md
- `generate_object_composite` — Write — https://policylayer.com/tools/thenavidm-firefly-mcp-cli/generate-object-composite.md
- `generate_similar` — Write — https://policylayer.com/tools/thenavidm-firefly-mcp-cli/generate-similar.md
- `generate_video` — Write — https://policylayer.com/tools/thenavidm-firefly-mcp-cli/generate-video.md
- `generative_expand` — Write — https://policylayer.com/tools/thenavidm-firefly-mcp-cli/generative-expand.md
- `generative_fill` — Write — https://policylayer.com/tools/thenavidm-firefly-mcp-cli/generative-fill.md
- `precise_composite` — Write — https://policylayer.com/tools/thenavidm-firefly-mcp-cli/precise-composite.md
- `upscale_image` — Write — https://policylayer.com/tools/thenavidm-firefly-mcp-cli/upscale-image.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=thenavidm-firefly-mcp-cli · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/thenavidm-firefly-mcp-cli
