duck-creek · Capability

Duck Creek Policy Administration API — Claims

Duck Creek Policy Administration API — Claims. 3 operations. Lead operation: List claims. Self-contained Naftiko capability covering one Duck Creek business surface.

Run with Naftiko Duck CreekClaims

What You Can Do

GET
Listclaims — List claims
/v1/claims
POST
Createclaim — Report a new claim
/v1/claims
GET
Getclaim — Get claim details
/v1/claims/{claimid}

MCP Tools

list-claims

List claims

read-only idempotent
report-new-claim

Report a new claim

get-claim-details

Get claim details

read-only idempotent

Capability Spec

policy-claims.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Duck Creek Policy Administration API — Claims
  description: 'Duck Creek Policy Administration API — Claims. 3 operations. Lead operation: List claims. Self-contained Naftiko
    capability covering one Duck Creek business surface.'
  tags:
  - Duck Creek
  - Claims
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DUCK_CREEK_API_KEY: DUCK_CREEK_API_KEY
capability:
  consumes:
  - type: http
    namespace: policy-claims
    baseUri: https://api.duckcreek.com/v1
    description: Duck Creek Policy Administration API — Claims business capability. Self-contained, no shared references.
    resources:
    - name: claims
      path: /claims
      operations:
      - name: listclaims
        method: GET
        description: List claims
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: policyId
          in: query
          type: string
          description: Filter claims for a specific policy
        - name: claimStatus
          in: query
          type: string
        - name: lossDateAfter
          in: query
          type: string
        - name: limit
          in: query
          type: integer
      - name: createclaim
        method: POST
        description: Report a new claim
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: claims-claimId
      path: /claims/{claimId}
      operations:
      - name: getclaim
        method: GET
        description: Get claim details
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: claimId
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.DUCK_CREEK_API_KEY}}'
  exposes:
  - type: rest
    namespace: policy-claims-rest
    port: 8080
    description: REST adapter for Duck Creek Policy Administration API — Claims. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/claims
      name: claims
      description: REST surface for claims.
      operations:
      - method: GET
        name: listclaims
        description: List claims
        call: policy-claims.listclaims
        with:
          policyId: rest.policyId
          claimStatus: rest.claimStatus
          lossDateAfter: rest.lossDateAfter
          limit: rest.limit
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createclaim
        description: Report a new claim
        call: policy-claims.createclaim
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/claims/{claimid}
      name: claims-claimid
      description: REST surface for claims-claimId.
      operations:
      - method: GET
        name: getclaim
        description: Get claim details
        call: policy-claims.getclaim
        with:
          claimId: rest.claimId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: policy-claims-mcp
    port: 9090
    transport: http
    description: MCP adapter for Duck Creek Policy Administration API — Claims. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: list-claims
      description: List claims
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: policy-claims.listclaims
      with:
        policyId: tools.policyId
        claimStatus: tools.claimStatus
        lossDateAfter: tools.lossDateAfter
        limit: tools.limit
      outputParameters:
      - type: object
        mapping: $.
    - name: report-new-claim
      description: Report a new claim
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: policy-claims.createclaim
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-claim-details
      description: Get claim details
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: policy-claims.getclaim
      with:
        claimId: tools.claimId
      outputParameters:
      - type: object
        mapping: $.