naftiko: 1.0.0-alpha2 info: label: Viam Data — Tabular Data description: Query (filter, SQL, MQL) and delete tabular data captured by sensor/movement-sensor components. tags: [Viam, Data, Tabular] created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: VIAM_API_KEY: VIAM_API_KEY capability: consumes: - type: http namespace: data-tabular baseUri: https://app.viam.com description: Viam DataService — tabular data operations. resources: - name: tabular-data-by-filter path: /viam.app.data.v1.DataService/TabularDataByFilter operations: - { name: tabularDataByFilter, method: POST, description: Query tabular data by filter., outputRawFormat: json, inputParameters: [{ name: body, in: body, type: object, required: true }] } - name: tabular-data-by-sql path: /viam.app.data.v1.DataService/TabularDataBySQL operations: - { name: tabularDataBySQL, method: POST, description: Query tabular data with SQL., outputRawFormat: json, inputParameters: [{ name: body, in: body, type: object, required: true }] } - name: tabular-data-by-mql path: /viam.app.data.v1.DataService/TabularDataByMQL operations: - { name: tabularDataByMQL, method: POST, description: Query tabular data with MQL., outputRawFormat: json, inputParameters: [{ name: body, in: body, type: object, required: true }] } - name: get-latest-tabular-data path: /viam.app.data.v1.DataService/GetLatestTabularData operations: - { name: getLatestTabularData, method: POST, description: Get latest tabular data point., outputRawFormat: json, inputParameters: [{ name: body, in: body, type: object, required: true }] } - name: delete-tabular-data path: /viam.app.data.v1.DataService/DeleteTabularData operations: - { name: deleteTabularData, method: POST, description: Delete tabular data older than N days., outputRawFormat: json, inputParameters: [{ name: body, in: body, type: object, required: true }] } authentication: type: apikey key: key value: '{{env.VIAM_API_KEY}}' placement: header exposes: - type: mcp namespace: data-tabular-mcp port: 9090 transport: http description: MCP adapter for tabular data. tools: - { name: viam-tabular-by-filter, description: Query tabular data., hints: { readOnly: true, destructive: false, idempotent: true }, call: data-tabular.tabularDataByFilter, with: { body: tools.body } } - { name: viam-tabular-by-sql, description: Query tabular data with SQL., hints: { readOnly: true, destructive: false, idempotent: true }, call: data-tabular.tabularDataBySQL, with: { body: tools.body } } - { name: viam-tabular-by-mql, description: Query tabular data with MQL., hints: { readOnly: true, destructive: false, idempotent: true }, call: data-tabular.tabularDataByMQL, with: { body: tools.body } } - { name: viam-tabular-latest, description: Latest tabular data., hints: { readOnly: true, destructive: false, idempotent: true }, call: data-tabular.getLatestTabularData, with: { body: tools.body } } - { name: viam-tabular-delete, description: Delete old tabular data., hints: { readOnly: false, destructive: true, idempotent: false }, call: data-tabular.deleteTabularData, with: { body: tools.body } }