Clockodo · Capability

Clockodo API — Clock

Clockodo API — Clock. 2 operations. Lead operation: Get current stop-clock state. Self-contained Naftiko capability covering one Clockodo business surface.

Run with Naftiko ClockodoClock

What You Can Do

GET
Getclock — Get current stop-clock state
/v1/v2/clock
POST
Startclock — Start the stop-clock
/v1/v2/clock

MCP Tools

get-current-stop-clock-state

Get current stop-clock state

read-only idempotent
start-stop-clock

Start the stop-clock

Capability Spec

clockodo-clock.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Clockodo API — Clock
  description: 'Clockodo API — Clock. 2 operations. Lead operation: Get current stop-clock state. Self-contained Naftiko capability
    covering one Clockodo business surface.'
  tags:
  - Clockodo
  - Clock
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CLOCKODO_API_KEY: CLOCKODO_API_KEY
capability:
  consumes:
  - type: http
    namespace: clockodo-clock
    baseUri: https://my.clockodo.com/api
    description: Clockodo API — Clock business capability. Self-contained, no shared references.
    resources:
    - name: v2-clock
      path: /v2/clock
      operations:
      - name: getclock
        method: GET
        description: Get current stop-clock state
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: startclock
        method: POST
        description: Start the stop-clock
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: X-ClockodoApiKey
      value: '{{env.CLOCKODO_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: clockodo-clock-rest
    port: 8080
    description: REST adapter for Clockodo API — Clock. One Spectral-compliant resource per consumed operation, prefixed with
      /v1.
    resources:
    - path: /v1/v2/clock
      name: v2-clock
      description: REST surface for v2-clock.
      operations:
      - method: GET
        name: getclock
        description: Get current stop-clock state
        call: clockodo-clock.getclock
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: startclock
        description: Start the stop-clock
        call: clockodo-clock.startclock
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: clockodo-clock-mcp
    port: 9090
    transport: http
    description: MCP adapter for Clockodo API — Clock. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: get-current-stop-clock-state
      description: Get current stop-clock state
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: clockodo-clock.getclock
      outputParameters:
      - type: object
        mapping: $.
    - name: start-stop-clock
      description: Start the stop-clock
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: clockodo-clock.startclock
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.