Skip to main content
Glama

Blur Faces

blur_faces
Read-onlyIdempotent

Find the faces in a JPEG, PNG or WebP photo and blur, pixelate or black them out; returns the image and each face's box. Missed faces can be added as areas. Can you run shell commands? Then do not send base64: upload the file from disk with curl -F file=@ https://helpyself.com/api/v1/tools/blur-faces (same tool, same answer, much faster). Tell the user to check every page of the redacted file before sharing it; anything still visible means it must not be sent. A HelpySelf tool (helpyself.com).

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": {
      "data": "<base64-encoded file bytes>",
      "name": "team.jpg",
      "type": "image/jpeg",
      "areas": [],
      "style": "blur",
      "detect": true,
      "strength": 6
    },
    "name": "blur_faces"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYesThe photo file as base64, in the format given by type. Send the whole file as it is, up to 50 MB: do not crop, shrink or split it first. If you can run shell commands, do not write the base64 out yourself: send the file from disk with curl -F file=@<path> -F <option>=<value> https://helpyself.com/api/v1/tools/blur-faces (add -H "Authorization: Bearer <token>" if you have one); the answer is the same JSON.
nameNoThe source filename. The result keeps its stem, with -blurred and the output format's extension.photo.jpg
typeYesThe MIME type of the photo: image/jpeg, image/png or image/webp.
areasNoExtra rectangles to hide as well, in pixels of the image as displayed (EXIF rotation applied), x and y the top-left corner: faces the detector missed, a name badge, a number plate. The previous result's faces list shows what was found.
styleNoHow each face is hidden: 'blur', 'pixelate' (large blocks), or 'solid' (a black box, which leaves nothing to recover).blur
detectNoFind faces automatically. Set false to hide only the given areas.
strengthNoHow strongly to blur or pixelate, 1–10, measured against each face's own size. 6 hides a face well; ignored for 'solid'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered structurally. The description adds value beyond that: it states the return payload (image plus per-face boxes), how the filename is derived (stem + '-blurred'), that 'solid' leaves nothing recoverable, and includes a user-facing verification instruction before sharing. It still doesn't say what encoding the returned image takes, which matters for a tool with no output schema.

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

Conciseness3/5

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

Purpose is front-loaded and the sentences are readable, but there is waste: the curl-upload advice duplicates the `data` parameter description almost verbatim, and the '(A HelpySelf tool (helpyself.com))' tag consumes space without helping selection. The second-person 'Tell the user to check every page' instruction is also an operator directive embedded in a tool description.

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 7-parameter processing tool with no output schema, the description should fully describe what comes back. It says 'returns the image and each face's box' and explains the derived filename, but not the response shape—whether the image arrives as base64, a URL, or an inline object—nor how a follow-up call should reuse the returned face boxes in `areas`.

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 every one of the seven parameters is already documented in the schema, including areas semantics, style enum and strength range. The description echoes the style choices ('blur, pixelate or black them out') and the areas escape hatch but adds no syntax or format detail beyond what the schema states. 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 first clause gives a concrete verb and resource: find faces in a JPEG/PNG/WebP photo and blur, pixelate or black them out, plus the return (image and each face's box). That is unambiguous about what the tool does. It never names or contrasts a sibling (e.g. background_remover or auto_redact_pdf), so it stops short of 5.

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

Usage Guidelines4/5

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

It gives real invocation guidance: prefer curl -F file=@<path> over base64 when shell is available, and add extra rectangles via `areas` when the detector misses a face. What it lacks is when-not-to-use guidance relative to other redaction tools in the catalog, so it is clear context rather than explicit routing.

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