naftiko: 1.0.0-alpha2 info: label: RSC ChemSpider Compounds API — Tools description: 'RSC ChemSpider Compounds API — Tools. 2 operations. Lead operation: Convert Chemical Format. Self-contained Naftiko capability covering one Rsc business surface.' tags: - Rsc - Tools created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: RSC_API_KEY: RSC_API_KEY capability: consumes: - type: http namespace: chemspider-compounds-tools baseUri: https://api.rsc.org/compounds/v1 description: RSC ChemSpider Compounds API — Tools business capability. Self-contained, no shared references. resources: - name: tools-convert path: /tools/convert operations: - name: convertchemicalformat method: POST description: Convert Chemical Format outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: tools-validate-inchikey path: /tools/validate/inchikey operations: - name: validateinchikey method: POST description: Validate InChIKey outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: apikey value: '{{env.RSC_API_KEY}}' placement: header exposes: - type: rest namespace: chemspider-compounds-tools-rest port: 8080 description: REST adapter for RSC ChemSpider Compounds API — Tools. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/tools/convert name: tools-convert description: REST surface for tools-convert. operations: - method: POST name: convertchemicalformat description: Convert Chemical Format call: chemspider-compounds-tools.convertchemicalformat with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/tools/validate/inchikey name: tools-validate-inchikey description: REST surface for tools-validate-inchikey. operations: - method: POST name: validateinchikey description: Validate InChIKey call: chemspider-compounds-tools.validateinchikey with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: chemspider-compounds-tools-mcp port: 9090 transport: http description: MCP adapter for RSC ChemSpider Compounds API — Tools. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: convert-chemical-format description: Convert Chemical Format hints: readOnly: false destructive: false idempotent: false call: chemspider-compounds-tools.convertchemicalformat with: body: tools.body outputParameters: - type: object mapping: $. - name: validate-inchikey description: Validate InChIKey hints: readOnly: true destructive: false idempotent: false call: chemspider-compounds-tools.validateinchikey with: body: tools.body outputParameters: - type: object mapping: $.