Liberty Mutual Insurance · Capability

Liberty Mutual Solaria Labs API — Safety

Liberty Mutual Solaria Labs API — Safety. 2 operations. Lead operation: Get Safe Parking. Self-contained Naftiko capability covering one Liberty Mutual Insurance business surface.

Run with Naftiko Liberty Mutual InsuranceSafety

What You Can Do

GET
Getsafeparking — Get Safe Parking
/v1/safety/parking
GET
Getsaferoutes — Get Safe Routes
/v1/safety/routes

MCP Tools

get-safe-parking

Get Safe Parking

read-only idempotent
get-safe-routes

Get Safe Routes

read-only idempotent

Capability Spec

solaria-labs-safety.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Liberty Mutual Solaria Labs API — Safety
  description: 'Liberty Mutual Solaria Labs API — Safety. 2 operations. Lead operation: Get Safe Parking. Self-contained Naftiko
    capability covering one Liberty Mutual Insurance business surface.'
  tags:
  - Liberty Mutual Insurance
  - Safety
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    LIBERTY_MUTUAL_INSURANCE_API_KEY: LIBERTY_MUTUAL_INSURANCE_API_KEY
capability:
  consumes:
  - type: http
    namespace: solaria-labs-safety
    baseUri: https://developers.solarialabs.com
    description: Liberty Mutual Solaria Labs API — Safety business capability. Self-contained, no shared references.
    resources:
    - name: safety-parking
      path: /safety/parking
      operations:
      - name: getsafeparking
        method: GET
        description: Get Safe Parking
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: city
          in: query
          type: string
          required: true
    - name: safety-routes
      path: /safety/routes
      operations:
      - name: getsaferoutes
        method: GET
        description: Get Safe Routes
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: city
          in: query
          type: string
          required: true
        - name: origin
          in: query
          type: string
        - name: destination
          in: query
          type: string
  exposes:
  - type: rest
    namespace: solaria-labs-safety-rest
    port: 8080
    description: REST adapter for Liberty Mutual Solaria Labs API — Safety. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/safety/parking
      name: safety-parking
      description: REST surface for safety-parking.
      operations:
      - method: GET
        name: getsafeparking
        description: Get Safe Parking
        call: solaria-labs-safety.getsafeparking
        with:
          city: rest.city
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/safety/routes
      name: safety-routes
      description: REST surface for safety-routes.
      operations:
      - method: GET
        name: getsaferoutes
        description: Get Safe Routes
        call: solaria-labs-safety.getsaferoutes
        with:
          city: rest.city
          origin: rest.origin
          destination: rest.destination
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: solaria-labs-safety-mcp
    port: 9090
    transport: http
    description: MCP adapter for Liberty Mutual Solaria Labs API — Safety. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: get-safe-parking
      description: Get Safe Parking
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: solaria-labs-safety.getsafeparking
      with:
        city: tools.city
      outputParameters:
      - type: object
        mapping: $.
    - name: get-safe-routes
      description: Get Safe Routes
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: solaria-labs-safety.getsaferoutes
      with:
        city: tools.city
        origin: tools.origin
        destination: tools.destination
      outputParameters:
      - type: object
        mapping: $.