naftiko: 1.0.0-alpha2 info: label: Guidewire PolicyCenter API — Quotes description: 'Guidewire PolicyCenter API — Quotes. 3 operations. Lead operation: Create new policy submission. Self-contained Naftiko capability covering one Guidewire business surface.' tags: - Guidewire - Quotes created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GUIDEWIRE_API_KEY: GUIDEWIRE_API_KEY capability: consumes: - type: http namespace: policycenter-quotes baseUri: https://{tenant}.guidewire.com/pc/rest/v1 description: Guidewire PolicyCenter API — Quotes business capability. Self-contained, no shared references. resources: - name: submissions path: /submissions operations: - name: createsubmission method: POST description: Create new policy submission outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: submissions-submissionId path: /submissions/{submissionId} operations: - name: getsubmission method: GET description: Get submission details outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: submissionId in: path type: string required: true - name: submissions-submissionId-quote path: /submissions/{submissionId}/quote operations: - name: quotesubmission method: POST description: Request a quote for a submission outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: submissionId in: path type: string required: true authentication: type: bearer token: '{{env.GUIDEWIRE_API_KEY}}' exposes: - type: rest namespace: policycenter-quotes-rest port: 8080 description: REST adapter for Guidewire PolicyCenter API — Quotes. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/submissions name: submissions description: REST surface for submissions. operations: - method: POST name: createsubmission description: Create new policy submission call: policycenter-quotes.createsubmission with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/submissions/{submissionid} name: submissions-submissionid description: REST surface for submissions-submissionId. operations: - method: GET name: getsubmission description: Get submission details call: policycenter-quotes.getsubmission with: submissionId: rest.submissionId outputParameters: - type: object mapping: $. - path: /v1/submissions/{submissionid}/quote name: submissions-submissionid-quote description: REST surface for submissions-submissionId-quote. operations: - method: POST name: quotesubmission description: Request a quote for a submission call: policycenter-quotes.quotesubmission with: submissionId: rest.submissionId outputParameters: - type: object mapping: $. - type: mcp namespace: policycenter-quotes-mcp port: 9090 transport: http description: MCP adapter for Guidewire PolicyCenter API — Quotes. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-new-policy-submission description: Create new policy submission hints: readOnly: false destructive: false idempotent: false call: policycenter-quotes.createsubmission with: body: tools.body outputParameters: - type: object mapping: $. - name: get-submission-details description: Get submission details hints: readOnly: true destructive: false idempotent: true call: policycenter-quotes.getsubmission with: submissionId: tools.submissionId outputParameters: - type: object mapping: $. - name: request-quote-submission description: Request a quote for a submission hints: readOnly: false destructive: false idempotent: false call: policycenter-quotes.quotesubmission with: submissionId: tools.submissionId outputParameters: - type: object mapping: $.