AmTrust Financial Services Commercial Lines API — Quotes

AmTrust Financial Services Commercial Lines API — Quotes. 3 operations. Lead operation: AmTrust Financial Services Create Quote. Self-contained Naftiko capability covering one Amtrust Financial Services business surface.

Run with Naftiko Amtrust Financial ServicesQuotes

What You Can Do

POST
Createquote — AmTrust Financial Services Create Quote
/v1/v1/quotes
GET
Listquotes — AmTrust Financial Services List Quotes
/v1/v1/quotes
GET
Getquote — AmTrust Financial Services Get Quote
/v1/v1/quotes/{quote-id}

MCP Tools

amtrust-financial-services-create-quote

AmTrust Financial Services Create Quote

amtrust-financial-services-list-quotes

AmTrust Financial Services List Quotes

read-only idempotent
amtrust-financial-services-get-quote

AmTrust Financial Services Get Quote

read-only idempotent

Capability Spec

commercial-lines-quotes.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: AmTrust Financial Services Commercial Lines API — Quotes
  description: 'AmTrust Financial Services Commercial Lines API — Quotes. 3 operations. Lead operation: AmTrust Financial
    Services Create Quote. Self-contained Naftiko capability covering one Amtrust Financial Services business surface.'
  tags:
  - Amtrust Financial Services
  - Quotes
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AMTRUST_FINANCIAL_SERVICES_API_KEY: AMTRUST_FINANCIAL_SERVICES_API_KEY
capability:
  consumes:
  - type: http
    namespace: commercial-lines-quotes
    baseUri: https://api.amtrustservices.com
    description: AmTrust Financial Services Commercial Lines API — Quotes business capability. Self-contained, no shared references.
    resources:
    - name: v1-quotes
      path: /v1/quotes
      operations:
      - name: createquote
        method: POST
        description: AmTrust Financial Services Create Quote
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: listquotes
        method: GET
        description: AmTrust Financial Services List Quotes
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: status
          in: query
          type: string
          description: Filter quotes by status
        - name: page
          in: query
          type: integer
          description: Page number for pagination
        - name: limit
          in: query
          type: integer
          description: Number of quotes per page
    - name: v1-quotes-quote_id
      path: /v1/quotes/{quote_id}
      operations:
      - name: getquote
        method: GET
        description: AmTrust Financial Services Get Quote
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: quote_id
          in: path
          type: string
          description: Unique identifier of the quote
          required: true
    authentication:
      type: bearer
      token: '{{env.AMTRUST_FINANCIAL_SERVICES_API_KEY}}'
  exposes:
  - type: rest
    namespace: commercial-lines-quotes-rest
    port: 8080
    description: REST adapter for AmTrust Financial Services Commercial Lines API — Quotes. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/v1/quotes
      name: v1-quotes
      description: REST surface for v1-quotes.
      operations:
      - method: POST
        name: createquote
        description: AmTrust Financial Services Create Quote
        call: commercial-lines-quotes.createquote
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: listquotes
        description: AmTrust Financial Services List Quotes
        call: commercial-lines-quotes.listquotes
        with:
          status: rest.status
          page: rest.page
          limit: rest.limit
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/quotes/{quote-id}
      name: v1-quotes-quote-id
      description: REST surface for v1-quotes-quote_id.
      operations:
      - method: GET
        name: getquote
        description: AmTrust Financial Services Get Quote
        call: commercial-lines-quotes.getquote
        with:
          quote_id: rest.quote_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: commercial-lines-quotes-mcp
    port: 9090
    transport: http
    description: MCP adapter for AmTrust Financial Services Commercial Lines API — Quotes. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: amtrust-financial-services-create-quote
      description: AmTrust Financial Services Create Quote
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: commercial-lines-quotes.createquote
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: amtrust-financial-services-list-quotes
      description: AmTrust Financial Services List Quotes
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: commercial-lines-quotes.listquotes
      with:
        status: tools.status
        page: tools.page
        limit: tools.limit
      outputParameters:
      - type: object
        mapping: $.
    - name: amtrust-financial-services-get-quote
      description: AmTrust Financial Services Get Quote
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: commercial-lines-quotes.getquote
      with:
        quote_id: tools.quote_id
      outputParameters:
      - type: object
        mapping: $.