Bandwidth · Capability

Bandwidth Emergency Calling API — Locations

Bandwidth Emergency Calling API — Locations. 5 operations. Lead operation: List E911 locations. Self-contained Naftiko capability covering one Bandwidth business surface.

Run with Naftiko BandwidthLocations

What You Can Do

GET
Listlocations — List E911 locations
/v1/accounts/{accountid}/e911s/locations
POST
Createlocation — Create an E911 location
/v1/accounts/{accountid}/e911s/locations
GET
Getlocation — Get E911 location details
/v1/accounts/{accountid}/e911s/locations/{locationid}
PUT
Updatelocation — Update an E911 location
/v1/accounts/{accountid}/e911s/locations/{locationid}
DELETE
Deletelocation — Delete an E911 location
/v1/accounts/{accountid}/e911s/locations/{locationid}

MCP Tools

list-e911-locations

List E911 locations

read-only idempotent
create-e911-location

Create an E911 location

get-e911-location-details

Get E911 location details

read-only idempotent
update-e911-location

Update an E911 location

idempotent
delete-e911-location

Delete an E911 location

idempotent

Capability Spec

emergency-calling-locations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Bandwidth Emergency Calling API — Locations
  description: 'Bandwidth Emergency Calling API — Locations. 5 operations. Lead operation: List E911 locations. Self-contained
    Naftiko capability covering one Bandwidth business surface.'
  tags:
  - Bandwidth
  - Locations
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    BANDWIDTH_API_KEY: BANDWIDTH_API_KEY
capability:
  consumes:
  - type: http
    namespace: emergency-calling-locations
    baseUri: https://dashboard.bandwidth.com/api
    description: Bandwidth Emergency Calling API — Locations business capability. Self-contained, no shared references.
    resources:
    - name: accounts-accountId-e911s-locations
      path: /accounts/{accountId}/e911s/locations
      operations:
      - name: listlocations
        method: GET
        description: List E911 locations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createlocation
        method: POST
        description: Create an E911 location
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: accounts-accountId-e911s-locations-locationId
      path: /accounts/{accountId}/e911s/locations/{locationId}
      operations:
      - name: getlocation
        method: GET
        description: Get E911 location details
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatelocation
        method: PUT
        description: Update an E911 location
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletelocation
        method: DELETE
        description: Delete an E911 location
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: basic
      username: '{{env.BANDWIDTH_USER}}'
      password: '{{env.BANDWIDTH_PASS}}'
  exposes:
  - type: rest
    namespace: emergency-calling-locations-rest
    port: 8080
    description: REST adapter for Bandwidth Emergency Calling API — Locations. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/accounts/{accountid}/e911s/locations
      name: accounts-accountid-e911s-locations
      description: REST surface for accounts-accountId-e911s-locations.
      operations:
      - method: GET
        name: listlocations
        description: List E911 locations
        call: emergency-calling-locations.listlocations
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createlocation
        description: Create an E911 location
        call: emergency-calling-locations.createlocation
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/accounts/{accountid}/e911s/locations/{locationid}
      name: accounts-accountid-e911s-locations-locationid
      description: REST surface for accounts-accountId-e911s-locations-locationId.
      operations:
      - method: GET
        name: getlocation
        description: Get E911 location details
        call: emergency-calling-locations.getlocation
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatelocation
        description: Update an E911 location
        call: emergency-calling-locations.updatelocation
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletelocation
        description: Delete an E911 location
        call: emergency-calling-locations.deletelocation
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: emergency-calling-locations-mcp
    port: 9090
    transport: http
    description: MCP adapter for Bandwidth Emergency Calling API — Locations. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: list-e911-locations
      description: List E911 locations
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: emergency-calling-locations.listlocations
      outputParameters:
      - type: object
        mapping: $.
    - name: create-e911-location
      description: Create an E911 location
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: emergency-calling-locations.createlocation
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-e911-location-details
      description: Get E911 location details
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: emergency-calling-locations.getlocation
      outputParameters:
      - type: object
        mapping: $.
    - name: update-e911-location
      description: Update an E911 location
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: emergency-calling-locations.updatelocation
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-e911-location
      description: Delete an E911 location
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: emergency-calling-locations.deletelocation
      outputParameters:
      - type: object
        mapping: $.