Skip to main content
Glama

imgfactory

img_analyze_faces

Face detection: return face bounding boxes (px, top-left origin) and confidence scores as JSON, face finder, face coordinates for crop or mosaic. image -> application/json. 0.010 USDC per call (prepaid credit or x402 signature).

Input Schema

NameRequiredDescriptionDefault
urlNohttp(s) URL of the image (server fetches it)
dataNodata: URL
base64Noraw base64 of the image bytes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose real behavior: JSON output, pixel coordinates with a top-left origin, confidence scores, the image->application/json mapping, and a concrete price (0.010 USDC per call, prepaid credit or x402 signature). It omits operational details such as behavior on zero faces, size limits, or error modes, 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.

Conciseness4/5

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

Front-loaded with the capability and return format, and the pricing/transport detail is compact. The middle fragment ('face finder, face coordinates for crop or mosaic') reads as keyword stuffing rather than prose, which costs a point on structure.

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?

No output schema exists, yet the description explains the return payload adequately (boxes, origin convention, confidence). For a three-parameter, single-purpose detection tool this covers what an agent needs, with only edge-case behavior left unaddressed.

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% — url, data, and base64 all carry their own descriptions — so the schema already does the parameter work. The description adds no extra guidance on parameter choice (e.g. which input form is preferred or when the server-fetch URL path is appropriate), so it sits at the baseline.

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

Purpose5/5

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

States a specific verb and resource ('Face detection') plus exactly what comes back: bounding boxes in pixels with a top-left origin and confidence scores as JSON. That is distinct from siblings like img_analyze_dimensions, img_analyze_phash, and img_nsfw_mosaic_auto without needing to name them.

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 'face coordinates for crop or mosaic' implies downstream use cases, which lightly signals when to reach for it. However, there is no explicit when-to-use statement, no exclusions, and no pointer to a sibling (e.g. the mosaic tools) that would handle a related job.

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