naftiko: "1.0.0-alpha2" info: label: "Polygon Forex REST API — Quotes" description: >- Forex — Quotes. 1 operation. Lead operation: Get Last Quote For A Currency Pair. Self-contained Naftiko capability covering one Polygon business surface. tags: - Polygon - Forex - Quotes created: "2026-05-29" modified: "2026-05-29" binds: - namespace: env keys: POLYGON_API_KEY: POLYGON_API_KEY capability: consumes: - type: http namespace: "forex-quotes" baseUri: "https://api.polygon.io" description: "Polygon Forex REST API — Quotes business capability." authentication: type: bearer token: "{{env.POLYGON_API_KEY}}" resources: - name: "last-quote-currencies-from-to" path: "/v1/last_quote/currencies/{from}/{to}" operations: - name: "getForexLastQuote" method: GET description: "Get Last Quote For A Currency Pair" inputParameters: - name: "from" in: path type: string required: true - name: "to" in: path type: string required: true outputRawFormat: json outputParameters: - name: result type: object value: "$." exposes: - type: rest namespace: "forex-quotes-rest" port: 8080 description: "REST adapter for Polygon Forex REST API — Quotes." resources: - path: "/v1/v1/last-quote/currencies/{from}/{to}" name: "last-quote-currencies-from-to" description: "REST surface for last-quote-currencies-from-to." operations: - method: GET name: "getForexLastQuote" description: "Get Last Quote For A Currency Pair" call: "forex-quotes.getForexLastQuote" with: from: "rest.from" to: "rest.to" outputParameters: - type: object mapping: "$." - type: mcp namespace: "forex-quotes-mcp" port: 9090 transport: http description: "MCP adapter for Polygon Forex REST API — Quotes." tools: - name: "get-last-quote-currency-pair" description: "Get Last Quote For A Currency Pair" hints: readOnly: true destructive: false idempotent: true call: "forex-quotes.getForexLastQuote" with: from: "tools.from" to: "tools.to" outputParameters: - type: object mapping: "$."