Skip to main content
Glama

Find hairstyle direction

find_hairstyle_direction
Read-only

Returns face-shape-based hairstyle and framing direction.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mime_typeYesImage media type. Supported formats are JPEG, PNG, and WebP.
image_base64YesBase64-encoded JPEG, PNG, or WebP bytes, without a data URL prefix.
adult_and_authorizedYesConfirms the pictured person is an adult and the submission is lawful.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
toolYesFocused measurement key.
errorNoPresent when the focused analysis fails.
modelYesModel version used for visible analysis.
phi_scoreNoOptional Golden Ratio context when relevant.
disclaimerYesRequired responsible-use disclaimer.
face_shapeNoOptional face-shape context when relevant.
analysis_idYesUnique analysis identifier.
measurementYesScore, label, analysis, and tool-specific detail rows.
rubric_versionYesVersioned iLook scoring rubric.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Added
  2. Removed
  3. Changed2 schema fields changed
    • addedInput schema / properties / mime_type / description
      Added value: +"Image media type. Supported formats are JPEG, PNG, and WebP."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "analysis_id": {
      +      "description": "Unique analysis identifier.",
      +      "type": "string"
      +    },
      +    "disclaimer": {
      +      "description": "Required responsible-use disclaimer.",
      +      "type": "string"
      +    },
      +    "error": {
      +      "description": "Present when the focused analysis fails.",
      +      "properties": {
      +        "code": {
      +          "description": "Stable iLook error code.",
      +          "type": "string"
      +        },
      +        "message": {
      +          "description": "Human-readable failure explanation.",
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "face_shape": {
      +      "description": "Optional face-shape context when relevant.",
      +      "type": "object"
      +    },
      +    "measurement": {
      +      "description": "Score, label, analysis, and tool-specific detail rows.",
      +      "type": "object"
      +    },
      +    "model": {
      +      "description": "Model version used for visible analysis.",
      +      "type": "string"
      +    },
      +    "phi_score": {
      +      "description": "Optional Golden Ratio context when relevant.",
      +      "type": "object"
      +    },
      +    "rubric_version": {
      +      "description": "Versioned iLook scoring rubric.",
      +      "type": "string"
      +    },
      +    "tool": {
      +      "description": "Focused measurement key.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "analysis_id",
      +    "rubric_version",
      +    "model",
      +    "tool",
      +    "measurement",
      +    "disclaimer"
      +  ],
      +  "type": "object"
      +}
  4. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already establish readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds the 'face-shape-based' scoping, suggesting the output is driven by detected facial geometry, which is useful behavioral context. However, given openWorldHint=true, it could have clarified the free-form nature of the returned 'direction' advice and whether it performs its own analysis or relies on sibling tool outputs. No contradiction with annotations exists, but more depth was possible.

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?

A single, efficient sentence that front-loads the core action with no filler. It's appropriately compact for a straightforward tool, though given the sensitive 'adult_and_authorized' parameter, one might expect a touch more context in the description about content policy, though this is borderline beyond scope.

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?

The tool is of low-to-moderate complexity: 3 well-documented parameters, a presence of an output schema (so return types don't need description coverage), and strong annotations. The description adequately covers that this is a safe, read-only recommendation operation. The main gap is the unaddressed integration question with analyze_face_shape and the other analytical siblings, but for its complexity class, the description is reasonably complete.

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%, with clear descriptions for all three parameters: mime_type has an enum of supported formats, image_base64 explains the encoding, and adult_and_authorized conveys the consent/lawfulness purpose. The description adds no parameter-specific information beyond calling the image 'face-based,' which mildly reinforces the image parameter's purpose. The schema carries the burden, which is appropriate here, so 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 uses a specific verb ('Returns') with a concrete resource ('face-shape-based hairstyle and framing direction'), which is distinct from all sibling analysis tools. The only slight weakness is that 'direction' is somewhat ambiguous without domain knowledge, and 'Returns' doesn't specify whether this is a classification, recommendation, or generation. Still, the face-shape-based styling scope clearly differentiates it from the analytical siblings.

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 'face-shape-based' wording implies this tool depends on (or performs) facial analysis in the input image, giving implied usage context. However, there is no explicit mention of when to prefer this over alternatives like analyze_face_shape or calculate_facial_ratios, nor is it stated whether prior face-shape analysis is a precondition. No exclusions or alternatives are named.

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.

TDQS

A3.8/5.0
Disambiguation4/5

Most tools have distinct purposes (e.g., age, skin, symmetry), but 'score_face' overlaps with several others (face shape, golden ratio, attractiveness) and could be confused with the individual analyzers. Descriptions are clear enough to differentiate, but the aggregation tool introduces some ambiguity.

Naming Consistency5/5

All tools follow a consistent verb_noun pattern with lowercase and underscores (analyze_*, detect_*, calculate_*, etc.). The verb varies but the format is uniform and readable.

Tool Count5/5

14 tools is a well-scoped number for a face analysis server—not too few to be trivial, not too many to be overwhelming. Each tool covers a specific metric or feature.

Completeness5/5

The toolset covers a broad range of facial analysis dimensions (age, symmetry, ratios, skin, eye shape, hairstyle, jawline, attractiveness, color palette, golden ratio, PSL) and appears to provide a full suite for the intended domain.

Resources