naftiko: 1.0.0-alpha2 info: label: The Odds API — Events description: 'The Odds API — Events. 1 operations. Lead operation: Get Sport Events. Self-contained Naftiko capability covering one The Odds Api business surface.' tags: - The Odds Api - Events created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: THE_ODDS_API_API_KEY: THE_ODDS_API_API_KEY capability: consumes: - type: http namespace: the-odds-events baseUri: https://api.the-odds-api.com description: The Odds API — Events business capability. Self-contained, no shared references. resources: - name: v4-sports-sport-events path: /v4/sports/{sport}/events operations: - name: getsportevents method: GET description: Get Sport Events outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: sport in: path type: string description: Sport key from /v4/sports. required: true - name: apiKey in: query type: string description: Your API key. required: true - name: dateFormat in: query type: string description: 'Date format. Values: iso (default), unix.' - name: eventIds in: query type: string description: Comma-separated event IDs to filter. - name: commenceTimeFrom in: query type: string description: Filter events commencing after this ISO 8601 datetime. - name: commenceTimeTo in: query type: string description: Filter events commencing before this ISO 8601 datetime. authentication: type: apikey key: apiKey value: '{{env.THE_ODDS_API_API_KEY}}' placement: query exposes: - type: rest namespace: the-odds-events-rest port: 8080 description: REST adapter for The Odds API — Events. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v4/sports/{sport}/events name: v4-sports-sport-events description: REST surface for v4-sports-sport-events. operations: - method: GET name: getsportevents description: Get Sport Events call: the-odds-events.getsportevents with: sport: rest.sport apiKey: rest.apiKey dateFormat: rest.dateFormat eventIds: rest.eventIds commenceTimeFrom: rest.commenceTimeFrom commenceTimeTo: rest.commenceTimeTo outputParameters: - type: object mapping: $. - type: mcp namespace: the-odds-events-mcp port: 9090 transport: http description: MCP adapter for The Odds API — Events. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-sport-events description: Get Sport Events hints: readOnly: true destructive: false idempotent: true call: the-odds-events.getsportevents with: sport: tools.sport apiKey: tools.apiKey dateFormat: tools.dateFormat eventIds: tools.eventIds commenceTimeFrom: tools.commenceTimeFrom commenceTimeTo: tools.commenceTimeTo outputParameters: - type: object mapping: $.