Skip to main content
Glama
tulip

Tulip MCP Server

Official
by tulip

runTableAggregation

Calculate aggregate statistics like sum, average, or count on table data in Tulip manufacturing platform. Apply filters, sorting, and limits to analyze specific datasets for operational insights.

Instructions

Runs an aggregate function on a table field. Corresponds to GET /tables/{tableId}/runAggregation. Requires tables:read scope. [READ-ONLY]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tableIdYesThe ID of the table
functionYesAggregate function name. Valid values: [ "sum", "count", "avg", "min", "max", "mode", "uniqueValues" ]
fieldIdYesThe field to aggregate on.
limitYesThe maximum number of table records to evaluate. Minimum 1, Maximum 100000.
sortOptionsNoSorting allows to define which records are considered if there are more than the specified limit. Sort priority is determined by the order or options. Example: [{"sortBy": "field1", "sortDir": "asc"}]
filtersNoAn optional array of filter expressions to filter the Table records by. Example: [{"field": "field1", "functionType": "equal", "arg": "value1"}]
filterAggregatorNoHow to combine filters, 'all' or 'any'. Default is 'all'.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tulip/tulip-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server