Skip to main content
Glama

Clean-Room Web & Proof

Blur Faces and Plates Then Parse Document

cleanroom_redact_and_parse_document
Read-onlyIdempotent

Automatically blur faces and license plates in a photo or document first, then extract structured text and tables safely ($0.08).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "image_b64": "<image_b64>"
    },
    "name": "cleanroom_redact_and_parse_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
image_b64YesPhoto or scanned document image payload to redact and parse.
spend_keyNoOptional prepaid API key for paid lookups. Can also be sent in the x-atlas-spend-key or Authorization header.
blur_facesNoBlur detected faces before parsing (default true).
blur_platesNoBlur detected license plates before parsing (default true).
builder_codeNoOptional partner referral code for revenue sharing.
idempotency_keyNoOptional unique request ID to prevent duplicate billing on retries.
payment_signatureNoOptional direct payment header when paying per request without a prepaid API key.

Output Schema

NameRequiredDescriptionDefault
okNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false), so the description's added value is the guaranteed ordering (blur first, then parse) and the explicit price of $0.08. It does not discuss failure modes or what happens when no faces/plates are detected, which keeps it short of a 5.

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

Conciseness5/5

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

A single sentence that front-loads the redaction step, then the parse step, and closes with the price. Every clause carries information; nothing is redundant.

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

Completeness4/5

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

With a full output schema and fully described parameters, the description only needs to convey the pipeline behavior and cost, which it does. The one gap is the absence of any routing guidance to the non-redacting sibling for callers who don't need blurring.

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 parameter including blur_faces, blur_plates, spend_key, and idempotency_key is already documented. The description reinforces that blurring applies to faces and plates but adds no syntax, defaults, or edge-case semantics beyond the schema.

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 names a concrete two-stage operation — blur faces and license plates, then extract structured text and tables — with the resource (photo or document) stated explicitly. It is clearly distinguishable from cleanroom_parse_safe_document by the redaction step, but it never names that sibling to sharpen the contrast.

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?

Usage is implied: pick this when the input contains sensitive visual content (faces, plates) that must be redacted before parsing. There is no explicit when-not guidance and no named alternative for the case where redaction is unnecessary, leaving the agent to infer the 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