naftiko: "1.0.0-alpha2" info: label: "Polygon Crypto REST API — DailyBars" description: >- Crypto — DailyBars. 1 operation. Lead operation: Get Daily Open Close For A Crypto Pair. Self-contained Naftiko capability covering one Polygon business surface. tags: - Polygon - Crypto - DailyBars created: "2026-05-29" modified: "2026-05-29" binds: - namespace: env keys: POLYGON_API_KEY: POLYGON_API_KEY capability: consumes: - type: http namespace: "crypto-dailybars" baseUri: "https://api.polygon.io" description: "Polygon Crypto REST API — DailyBars business capability." authentication: type: bearer token: "{{env.POLYGON_API_KEY}}" resources: - name: "open-close-crypto-from-to-date" path: "/v1/open-close/crypto/{from}/{to}/{date}" operations: - name: "getCryptoDailyOpenClose" method: GET description: "Get Daily Open Close For A Crypto Pair" inputParameters: - name: "from" in: path type: string required: true - name: "to" in: path type: string required: true - name: "date" in: path type: string required: true outputRawFormat: json outputParameters: - name: result type: object value: "$." exposes: - type: rest namespace: "crypto-dailybars-rest" port: 8080 description: "REST adapter for Polygon Crypto REST API — DailyBars." resources: - path: "/v1/v1/open-close/crypto/{from}/{to}/{date}" name: "open-close-crypto-from-to-date" description: "REST surface for open-close-crypto-from-to-date." operations: - method: GET name: "getCryptoDailyOpenClose" description: "Get Daily Open Close For A Crypto Pair" call: "crypto-dailybars.getCryptoDailyOpenClose" with: from: "rest.from" to: "rest.to" date: "rest.date" outputParameters: - type: object mapping: "$." - type: mcp namespace: "crypto-dailybars-mcp" port: 9090 transport: http description: "MCP adapter for Polygon Crypto REST API — DailyBars." tools: - name: "get-daily-open-close-crypto" description: "Get Daily Open Close For A Crypto Pair" hints: readOnly: true destructive: false idempotent: true call: "crypto-dailybars.getCryptoDailyOpenClose" with: from: "tools.from" to: "tools.to" date: "tools.date" outputParameters: - type: object mapping: "$."