TECO Energy · Capability

Tampa Electric Account API — Accounts

Tampa Electric Account API — Accounts. 1 operations. Lead operation: Get Account Details. Self-contained Naftiko capability covering one Teco Energy business surface.

Run with Naftiko Teco EnergyAccounts

What You Can Do

GET
Getaccount — Get Account Details
/v1/accounts/{accountnumber}

MCP Tools

get-account-details

Get Account Details

read-only idempotent

Capability Spec

account-accounts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Tampa Electric Account API — Accounts
  description: 'Tampa Electric Account API — Accounts. 1 operations. Lead operation: Get Account Details. Self-contained Naftiko
    capability covering one Teco Energy business surface.'
  tags:
  - Teco Energy
  - Accounts
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TECO_ENERGY_API_KEY: TECO_ENERGY_API_KEY
capability:
  consumes:
  - type: http
    namespace: account-accounts
    baseUri: https://api.tecoenergy.com/v1
    description: Tampa Electric Account API — Accounts business capability. Self-contained, no shared references.
    resources:
    - name: accounts-accountNumber
      path: /accounts/{accountNumber}
      operations:
      - name: getaccount
        method: GET
        description: Get Account Details
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: accountNumber
          in: path
          type: string
          description: Customer account number.
          required: true
    authentication:
      type: bearer
      token: '{{env.TECO_ENERGY_API_KEY}}'
  exposes:
  - type: rest
    namespace: account-accounts-rest
    port: 8080
    description: REST adapter for Tampa Electric Account API — Accounts. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/accounts/{accountnumber}
      name: accounts-accountnumber
      description: REST surface for accounts-accountNumber.
      operations:
      - method: GET
        name: getaccount
        description: Get Account Details
        call: account-accounts.getaccount
        with:
          accountNumber: rest.accountNumber
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: account-accounts-mcp
    port: 9090
    transport: http
    description: MCP adapter for Tampa Electric Account API — Accounts. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-account-details
      description: Get Account Details
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: account-accounts.getaccount
      with:
        accountNumber: tools.accountNumber
      outputParameters:
      - type: object
        mapping: $.