naftiko: 1.0.0-alpha2 info: label: Bridge RESO Web API — Metadata description: Service document and CSDL $metadata discovery for a Bridge dataset. tags: [Bridge, RESO, Metadata, OData, CSDL] created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: { BRIDGE_ACCESS_TOKEN: BRIDGE_ACCESS_TOKEN } capability: consumes: - type: http namespace: bridge-metadata baseUri: https://api.bridgedataoutput.com/api/v2/OData resources: - name: service path: /{dataset} operations: - name: getServiceDocument method: GET description: Get the OData service document for a dataset. outputRawFormat: json inputParameters: - { name: dataset, in: path, type: string, required: true } outputParameters: - { name: result, type: object, value: $. } - name: csdl path: /{dataset}/$metadata operations: - name: getMetadata method: GET description: Get the CSDL XML metadata for a dataset. outputRawFormat: text inputParameters: - { name: dataset, in: path, type: string, required: true } outputParameters: - { name: result, type: string, value: $. } authentication: type: apikey key: access_token value: '{{env.BRIDGE_ACCESS_TOKEN}}' placement: query exposes: - type: mcp namespace: bridge-metadata-mcp port: 9090 transport: http tools: - name: bridge-get-service-document description: Discover entity sets available in a Bridge dataset. hints: { readOnly: true, destructive: false, idempotent: true } call: bridge-metadata.getServiceDocument with: { dataset: tools.dataset } outputParameters: - { type: object, mapping: $. } - name: bridge-get-metadata description: Get the CSDL schema for a Bridge dataset. hints: { readOnly: true, destructive: false, idempotent: true } call: bridge-csdl.getMetadata with: { dataset: tools.dataset } outputParameters: - { type: string, mapping: $. }