Flickr · Capability

Flickr API — Contacts

Photos — Contacts. 1 operations. Lead operation: Get Contacts For The Calling User. Self-contained Naftiko capability covering one Flickr business surface.

Run with Naftiko FlickrPhotosContacts

What You Can Do

GET
Contactsgetlist — Get Contacts For The Calling User
/v1/contacts/get-list

MCP Tools

get-contacts-calling-user

Get Contacts For The Calling User

read-only idempotent

Capability Spec

flickr-contacts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Flickr API — Contacts
  description: 'Photos — Contacts. 1 operations. Lead operation: Get Contacts For The Calling User. Self-contained Naftiko capability covering one Flickr business surface.'
  tags:
    - Flickr
    - Photos
    - Contacts
  created: '2026-05-30'
  modified: '2026-05-30'
binds:
  - namespace: env
    keys:
      FLICKR_API_KEY: FLICKR_API_KEY
capability:
  consumes:
    - type: http
      namespace: flickr-contacts
      baseUri: https://api.flickr.com/services
      description: Flickr API — Contacts business capability. Self-contained, no shared references.
      authentication:
        type: apikey
        key: api_key
        value: '{{env.FLICKR_API_KEY}}'
        placement: query
      resources:
        - name: rest-flickr-contacts-getlist
          path: /rest/flickr.contacts.getList
          operations:
            - name: contactsGetList
              method: GET
              description: Get Contacts For The Calling User
              inputParameters:
                - name: api_key
                  in: query
                  type: string
                  required: true
                  description: Application API key.
                - name: filter
                  in: query
                  type: string
                  required: false
                  description: 'One of: friends, family, both, neither.'
                - name: page
                  in: query
                  type: integer
                  required: false
                  description: page
                - name: per_page
                  in: query
                  type: integer
                  required: false
                  description: per_page
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: $.
  exposes:
    - type: rest
      namespace: flickr-contacts-rest
      port: 8080
      description: REST adapter for Flickr API — Contacts. One Spectral-compliant resource per consumed operation, prefixed with /v1.
      resources:
        - path: /v1/contacts/get-list
          name: rest-flickr-contacts-getlist
          description: REST surface for Get Contacts For The Calling User.
          operations:
            - method: GET
              name: contactsGetList
              description: Get Contacts For The Calling User
              call: flickr-contacts.contactsGetList
              with:
                api_key: rest.api_key
                filter: rest.filter
                page: rest.page
                per_page: rest.per_page
              outputParameters:
                - type: object
                  mapping: $.
    - type: mcp
      namespace: flickr-contacts-mcp
      port: 9090
      transport: http
      description: MCP adapter for Flickr API — Contacts. One tool per consumed operation, routed inline through this capability's consumes block.
      tools:
        - name: get-contacts-calling-user
          description: Get Contacts For The Calling User
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: flickr-contacts.contactsGetList
          with:
            api_key: tools.api_key
            filter: tools.filter
            page: tools.page
            per_page: tools.per_page
          outputParameters:
            - type: object
              mapping: $.