Energy Transfer · Capability

Energy Transfer Messenger+ API — Nominations

Energy Transfer Messenger+ API — Nominations. 2 operations. Lead operation: List nominations. Self-contained Naftiko capability covering one Energy Transfer business surface.

Run with Naftiko Energy TransferNominations

What You Can Do

GET
Listnominations — List nominations
/v1/nominations
POST
Createnomination — Create a nomination
/v1/nominations

MCP Tools

list-nominations

List nominations

read-only idempotent
create-nomination

Create a nomination

Capability Spec

messenger-nominations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Energy Transfer Messenger+ API — Nominations
  description: 'Energy Transfer Messenger+ API — Nominations. 2 operations. Lead operation: List nominations. Self-contained
    Naftiko capability covering one Energy Transfer business surface.'
  tags:
  - Energy Transfer
  - Nominations
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ENERGY_TRANSFER_API_KEY: ENERGY_TRANSFER_API_KEY
capability:
  consumes:
  - type: http
    namespace: messenger-nominations
    baseUri: https://dev.messenger.energytransfer.com
    description: Energy Transfer Messenger+ API — Nominations business capability. Self-contained, no shared references.
    resources:
    - name: nominations
      path: /nominations
      operations:
      - name: listnominations
        method: GET
        description: List nominations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createnomination
        method: POST
        description: Create a nomination
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.ENERGY_TRANSFER_API_KEY}}'
  exposes:
  - type: rest
    namespace: messenger-nominations-rest
    port: 8080
    description: REST adapter for Energy Transfer Messenger+ API — Nominations. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/nominations
      name: nominations
      description: REST surface for nominations.
      operations:
      - method: GET
        name: listnominations
        description: List nominations
        call: messenger-nominations.listnominations
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createnomination
        description: Create a nomination
        call: messenger-nominations.createnomination
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: messenger-nominations-mcp
    port: 9090
    transport: http
    description: MCP adapter for Energy Transfer Messenger+ API — Nominations. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: list-nominations
      description: List nominations
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: messenger-nominations.listnominations
      outputParameters:
      - type: object
        mapping: $.
    - name: create-nomination
      description: Create a nomination
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: messenger-nominations.createnomination
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.