Sybase · Capability

Sybase ASE REST API — Performance

Sybase ASE REST API — Performance. 3 operations. Lead operation: Get Performance Metrics. Self-contained Naftiko capability covering one Sybase business surface.

Run with Naftiko SybasePerformance

What You Can Do

GET
Getperformancemetrics — Get Performance Metrics
/v1/servers/{serverid}/performance
GET
Getcachemetrics — Get Cache Performance Metrics
/v1/servers/{serverid}/performance/cache
GET
Getlockmetrics — Get Lock Activity Metrics
/v1/servers/{serverid}/performance/locks

MCP Tools

get-performance-metrics

Get Performance Metrics

read-only idempotent
get-cache-performance-metrics

Get Cache Performance Metrics

read-only idempotent
get-lock-activity-metrics

Get Lock Activity Metrics

read-only idempotent

Capability Spec

ase-rest-performance.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Sybase ASE REST API — Performance
  description: 'Sybase ASE REST API — Performance. 3 operations. Lead operation: Get Performance Metrics. Self-contained Naftiko
    capability covering one Sybase business surface.'
  tags:
  - Sybase
  - Performance
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SYBASE_API_KEY: SYBASE_API_KEY
capability:
  consumes:
  - type: http
    namespace: ase-rest-performance
    baseUri: https://{server}:{port}/ase/v1
    description: Sybase ASE REST API — Performance business capability. Self-contained, no shared references.
    resources:
    - name: servers-serverId-performance
      path: /servers/{serverId}/performance
      operations:
      - name: getperformancemetrics
        method: GET
        description: Get Performance Metrics
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: interval
          in: query
          type: integer
          description: The sampling interval in seconds for performance data collection.
    - name: servers-serverId-performance-cache
      path: /servers/{serverId}/performance/cache
      operations:
      - name: getcachemetrics
        method: GET
        description: Get Cache Performance Metrics
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: servers-serverId-performance-locks
      path: /servers/{serverId}/performance/locks
      operations:
      - name: getlockmetrics
        method: GET
        description: Get Lock Activity Metrics
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.SYBASE_API_KEY}}'
  exposes:
  - type: rest
    namespace: ase-rest-performance-rest
    port: 8080
    description: REST adapter for Sybase ASE REST API — Performance. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/servers/{serverid}/performance
      name: servers-serverid-performance
      description: REST surface for servers-serverId-performance.
      operations:
      - method: GET
        name: getperformancemetrics
        description: Get Performance Metrics
        call: ase-rest-performance.getperformancemetrics
        with:
          interval: rest.interval
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/servers/{serverid}/performance/cache
      name: servers-serverid-performance-cache
      description: REST surface for servers-serverId-performance-cache.
      operations:
      - method: GET
        name: getcachemetrics
        description: Get Cache Performance Metrics
        call: ase-rest-performance.getcachemetrics
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/servers/{serverid}/performance/locks
      name: servers-serverid-performance-locks
      description: REST surface for servers-serverId-performance-locks.
      operations:
      - method: GET
        name: getlockmetrics
        description: Get Lock Activity Metrics
        call: ase-rest-performance.getlockmetrics
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: ase-rest-performance-mcp
    port: 9090
    transport: http
    description: MCP adapter for Sybase ASE REST API — Performance. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-performance-metrics
      description: Get Performance Metrics
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: ase-rest-performance.getperformancemetrics
      with:
        interval: tools.interval
      outputParameters:
      - type: object
        mapping: $.
    - name: get-cache-performance-metrics
      description: Get Cache Performance Metrics
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: ase-rest-performance.getcachemetrics
      outputParameters:
      - type: object
        mapping: $.
    - name: get-lock-activity-metrics
      description: Get Lock Activity Metrics
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: ase-rest-performance.getlockmetrics
      outputParameters:
      - type: object
        mapping: $.