GamerPower · Capability

GamerPower — Giveaways

GamerPower — Giveaways. 2 operations. Lead operation: List Giveaways. Self-contained Naftiko capability covering the GamerPower core giveaway-listing business surface (list, single lookup).

Run with Naftiko GamerPowerGiveawaysGames

What You Can Do

GET
Listgiveaways — List Giveaways
/v1/giveaways
GET
Getgiveaway — Get Giveaway By ID
/v1/giveaway

MCP Tools

list-giveaways

List live game giveaways, beta keys, DLC drops, and loot offers.

read-only idempotent
get-giveaway

Get a single giveaway by its numeric id.

read-only idempotent

Capability Spec

gamerpower-giveaways.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GamerPower — Giveaways
  description: 'GamerPower — Giveaways. 2 operations. Lead operation: List Giveaways. Self-contained Naftiko capability covering the GamerPower core giveaway-listing business surface (list, single lookup).'
  tags:
  - GamerPower
  - Giveaways
  - Games
  created: '2026-05-30'
  modified: '2026-05-30'
binds: []
capability:
  consumes:
  - type: http
    namespace: gamerpower-giveaways
    baseUri: https://www.gamerpower.com/api
    description: GamerPower — Giveaways business capability. Self-contained, no shared references.
    resources:
    - name: giveaways
      path: /giveaways
      operations:
      - name: listGiveaways
        method: GET
        description: List Giveaways
        outputRawFormat: json
        outputParameters:
        - name: result
          type: array
          value: $.
        inputParameters:
        - name: platform
          in: query
          type: string
          required: false
          description: Filter giveaways by single platform slug (e.g. epic-games-store, steam, ps5).
        - name: type
          in: query
          type: string
          required: false
          description: Filter giveaways by type (game, loot, beta).
        - name: sort-by
          in: query
          type: string
          required: false
          description: Sort key (date, value, popularity).
    - name: giveaway
      path: /giveaway
      operations:
      - name: getGiveaway
        method: GET
        description: Get Giveaway By ID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: query
          type: integer
          required: true
          description: Numeric giveaway identifier.
  exposes:
  - type: rest
    namespace: gamerpower-giveaways-rest
    port: 8080
    description: REST adapter for GamerPower — Giveaways. One Spectral-compliant resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/giveaways
      name: v1-giveaways
      description: REST surface for listing live giveaways.
      operations:
      - method: GET
        name: listGiveaways
        description: List Giveaways
        call: gamerpower-giveaways.listGiveaways
        with:
          platform: rest.platform
          type: rest.type
          sort-by: rest.sort-by
        outputParameters:
        - type: array
          mapping: $.
    - path: /v1/giveaway
      name: v1-giveaway
      description: REST surface for getting a single giveaway by id.
      operations:
      - method: GET
        name: getGiveaway
        description: Get Giveaway By ID
        call: gamerpower-giveaways.getGiveaway
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: gamerpower-giveaways-mcp
    port: 9090
    transport: http
    description: MCP adapter for GamerPower — Giveaways. One tool per consumed operation, routed inline through this capability's consumes block.
    tools:
    - name: list-giveaways
      description: List live game giveaways, beta keys, DLC drops, and loot offers.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: gamerpower-giveaways.listGiveaways
      with:
        platform: tools.platform
        type: tools.type
        sort-by: tools.sort-by
      outputParameters:
      - type: array
        mapping: $.
    - name: get-giveaway
      description: Get a single giveaway by its numeric id.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: gamerpower-giveaways.getGiveaway
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.