Amazon Rekognition · Capability

Amazon Rekognition — Facial Analysis

Amazon Rekognition — Facial Analysis. 2 operations. Lead operation: Amazon Rekognition Compare Faces. Self-contained Naftiko capability covering one Amazon Rekognition business surface.

Run with Naftiko Amazon RekognitionFacial Analysis

What You Can Do

POST
Comparefaces — Amazon Rekognition Compare Faces
/v1/comparefaces
POST
Detectfaces — Amazon Rekognition Detect Faces
/v1/detectfaces

MCP Tools

amazon-rekognition-compare-faces

Amazon Rekognition Compare Faces

amazon-rekognition-detect-faces

Amazon Rekognition Detect Faces

Capability Spec

amazon-rekognition-facial-analysis.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Amazon Rekognition — Facial Analysis
  description: 'Amazon Rekognition — Facial Analysis. 2 operations. Lead operation: Amazon Rekognition Compare Faces. Self-contained
    Naftiko capability covering one Amazon Rekognition business surface.'
  tags:
  - Amazon Rekognition
  - Facial Analysis
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AMAZON_REKOGNITION_API_KEY: AMAZON_REKOGNITION_API_KEY
capability:
  consumes:
  - type: http
    namespace: amazon-rekognition-facial-analysis
    baseUri: https://rekognition.amazonaws.com
    description: Amazon Rekognition — Facial Analysis business capability. Self-contained, no shared references.
    resources:
    - name: '#CompareFaces'
      path: /#CompareFaces
      operations:
      - name: comparefaces
        method: POST
        description: Amazon Rekognition Compare Faces
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: '#DetectFaces'
      path: /#DetectFaces
      operations:
      - name: detectfaces
        method: POST
        description: Amazon Rekognition Detect Faces
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.AMAZON_REKOGNITION_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: amazon-rekognition-facial-analysis-rest
    port: 8080
    description: REST adapter for Amazon Rekognition — Facial Analysis. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/comparefaces
      name: comparefaces
      description: 'REST surface for #CompareFaces.'
      operations:
      - method: POST
        name: comparefaces
        description: Amazon Rekognition Compare Faces
        call: amazon-rekognition-facial-analysis.comparefaces
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/detectfaces
      name: detectfaces
      description: 'REST surface for #DetectFaces.'
      operations:
      - method: POST
        name: detectfaces
        description: Amazon Rekognition Detect Faces
        call: amazon-rekognition-facial-analysis.detectfaces
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: amazon-rekognition-facial-analysis-mcp
    port: 9090
    transport: http
    description: MCP adapter for Amazon Rekognition — Facial Analysis. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: amazon-rekognition-compare-faces
      description: Amazon Rekognition Compare Faces
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: amazon-rekognition-facial-analysis.comparefaces
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-rekognition-detect-faces
      description: Amazon Rekognition Detect Faces
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: amazon-rekognition-facial-analysis.detectfaces
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.