Skip to main content
Glama

Pixelate & Blur Image API - redact faces, license plates or private regions

pixelate_image
Read-onlyIdempotent

Pixelate (mosaic blocks) or blur an entire image or a specified percentage bounding box (x, y, width, height) to anonymize faces, license plates or private text before publishing. Runs on our server, files are deleted right after the call, nothing stored. Free: 5 calls/day per IP. Paid: Radar API key (from €15/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.002/call via x402 at https://radarbg.com/x402/pixelate-image.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "mode": "pixel",
      "where": "all",
      "fileName": "sample.png",
      "strength": "l",
      "fileContent": "iVBORw0KGgoAAAANSUhEUgAAAHgAAABQCAIAAABd+SbeAAAA6klEQVR4nO3cQQ2DABAAwdKgg1cFVQIykIOEyqiIisFDKdsQZv6XXDb3vmFa3jeOd//3AlchdEToiNARoSNCR4SOCB0ROiJ0ROiI0BGhI0JHhI4IHRE6InRE6Mi4Z/jznH+0xmk8Xut3gy46InRE6IjQEaEjQkeEjggdEToidEToiNARoSNCR4SOCB0ROiJ0ROiI0BGhI0JHhI4IHRE6InRE6IjQEaEjQkeEjggdEToidEToiNARoSNCR4SOCB0ZPIFtuOiI0BGhI0JHhI4IHRE6InRE6IjQEaEjQkeEjggdEToidEToiNCRDexBBl0OjJSaAAAAAElFTkSuQmCC"
    },
    "name": "pixelate_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
boxXNoLeft edge % of width (when where=box)
boxYNoTop edge % of height (when where=box)
modeNopixel (mosaic blocks) or blurpixel
filesNoOr several files: [{fileName, fileContent (base64)}] (up to 60 files, 20 MB total)
whereNoall (whole image) or box (region by %)all
formatNoOutput format: same, jpg, png or webpsame
boxWidthNoBox width % (when where=box)
fileNameNoFile name with extension, e.g. report.pdf
strengthNoEffect strength: s, m, l or xlm
blockSizeNoOptional exact pixel block size
boxHeightNoBox height % (when where=box)
fileContentNoThe file as base64 (a data: URI is fine; 20 MB total decoded limit per call)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / fileContent / description
      Previous value: -"The file as base64 (a data: URI is fine)"New value: +"The file as base64 (a data: URI is fine; 20 MB total decoded limit per call)"
    • changedInput schema / properties / files / description
      Previous value: -"Or several files: [{fileName, fileContent (base64)}]"New value: +"Or several files: [{fileName, fileContent (base64)}] (up to 60 files, 20 MB total)"
    • addedInput schema / properties / files / maxItems
      Added value: +60
  2. Added

TDQS

A3.8/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the readOnly/idempotent/openWorld annotations, the description discloses server-side execution, immediate file deletion with no storage, the free 5-calls/day-per-IP cap, and the two paid paths (Radar API key via X-API-Key or x402 per-call billing). Authentication and rate-limit behavior are exactly the traits annotations cannot express, and they are covered here.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the action and the anonymization purpose, followed by operational facts. The pricing URLs and API-key parenthetical are dense but load-bearing for an agent deciding whether it can call the tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 12-parameter tool with no output schema, the description covers processing, storage, and billing well, but never says what comes back (a base64 image? a URL?) or how the single-file versus multi-file `files` array path behaves. The parameter-count and batch limits are left to the schema, which is acceptable, but the return-value gap is not.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already explains every parameter including the box percentages and mode enum. The description reinforces the 'percentage bounding box (x, y, width, height)' concept and the pixel-versus-blur choice but adds no syntax or constraint detail the schema lacks; baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ('Pixelate (mosaic blocks) or blur an entire image or a specified percentage bounding box') plus the concrete use case of anonymizing faces, plates, or private text. It is clear what the tool does, but it never distinguishes itself from the sibling image_blur, which an agent could easily confuse with this tool's blur mode.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'before publishing' implies the situation for use, and the free/paid access rules are spelled out. However, there is no explicit when-to-use versus image_blur or the other image-editing siblings, and no statement of when this tool is the wrong choice.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources