naftiko: 1.0.0-alpha2 info: label: Gong Stats API — Scorecards description: 'Gong Stats API — Scorecards. 1 operations. Lead operation: Gong Retrieve answered scorecards. Self-contained Naftiko capability covering one Gong business surface.' tags: - Gong - Scorecards created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GONG_API_KEY: GONG_API_KEY capability: consumes: - type: http namespace: stats-scorecards baseUri: https://api.gong.io/v2 description: Gong Stats API — Scorecards business capability. Self-contained, no shared references. resources: - name: stats-scorecards path: /stats/scorecards operations: - name: retrieveansweredscorecards method: POST description: Gong Retrieve answered scorecards outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.GONG_API_KEY}}' exposes: - type: rest namespace: stats-scorecards-rest port: 8080 description: REST adapter for Gong Stats API — Scorecards. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/stats/scorecards name: stats-scorecards description: REST surface for stats-scorecards. operations: - method: POST name: retrieveansweredscorecards description: Gong Retrieve answered scorecards call: stats-scorecards.retrieveansweredscorecards with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: stats-scorecards-mcp port: 9090 transport: http description: MCP adapter for Gong Stats API — Scorecards. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: gong-retrieve-answered-scorecards description: Gong Retrieve answered scorecards hints: readOnly: true destructive: false idempotent: false call: stats-scorecards.retrieveansweredscorecards with: body: tools.body outputParameters: - type: object mapping: $.