Advanced Micro Devices · Capability

AMD ROCm Management API — Performance

AMD ROCm Management API — Performance. 1 operations. Lead operation: AMD ROCm Get GPU Device Performance Counters. Self-contained Naftiko capability covering one Advanced Micro Devices business surface.

Run with Naftiko Advanced Micro DevicesPerformance

What You Can Do

GET
Getdeviceperformance — AMD ROCm Get GPU Device Performance Counters
/v1/devices/{deviceid}/performance

MCP Tools

amd-rocm-get-gpu-device

AMD ROCm Get GPU Device Performance Counters

read-only idempotent

Capability Spec

amd-rocm-management-performance.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: AMD ROCm Management API — Performance
  description: 'AMD ROCm Management API — Performance. 1 operations. Lead operation: AMD ROCm Get GPU Device Performance Counters.
    Self-contained Naftiko capability covering one Advanced Micro Devices business surface.'
  tags:
  - Advanced Micro Devices
  - Performance
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ADVANCED_MICRO_DEVICES_API_KEY: ADVANCED_MICRO_DEVICES_API_KEY
capability:
  consumes:
  - type: http
    namespace: amd-rocm-management-performance
    baseUri: https://rocm-mgmt.amd.com/v1
    description: AMD ROCm Management API — Performance business capability. Self-contained, no shared references.
    resources:
    - name: devices-deviceId-performance
      path: /devices/{deviceId}/performance
      operations:
      - name: getdeviceperformance
        method: GET
        description: AMD ROCm Get GPU Device Performance Counters
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: deviceId
          in: path
          type: string
          description: GPU device identifier.
          required: true
    authentication:
      type: bearer
      token: '{{env.ADVANCED_MICRO_DEVICES_API_KEY}}'
  exposes:
  - type: rest
    namespace: amd-rocm-management-performance-rest
    port: 8080
    description: REST adapter for AMD ROCm Management API — Performance. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/devices/{deviceid}/performance
      name: devices-deviceid-performance
      description: REST surface for devices-deviceId-performance.
      operations:
      - method: GET
        name: getdeviceperformance
        description: AMD ROCm Get GPU Device Performance Counters
        call: amd-rocm-management-performance.getdeviceperformance
        with:
          deviceId: rest.deviceId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: amd-rocm-management-performance-mcp
    port: 9090
    transport: http
    description: MCP adapter for AMD ROCm Management API — Performance. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: amd-rocm-get-gpu-device
      description: AMD ROCm Get GPU Device Performance Counters
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: amd-rocm-management-performance.getdeviceperformance
      with:
        deviceId: tools.deviceId
      outputParameters:
      - type: object
        mapping: $.