Skip to main content
Glama

Advanced Hasura GraphQL MCP Server

by husamabusafa

aggregate_data

Perform data aggregations (count, sum, avg, min, max) on specified tables using filtering options within a Hasura GraphQL environment. Simplify complex data analysis tasks efficiently.

Instructions

Performs a simple aggregation (count, sum, avg, min, max)...

Input Schema

NameRequiredDescriptionDefault
aggregateFunctionYesThe aggregation function...
fieldNoRequired for 'sum', 'avg', 'min', 'max'...
filterNoOptional. A Hasura GraphQL 'where' filter object...
tableNameYesThe exact name of the table...

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "aggregateFunction": { "description": "The aggregation function...", "enum": [ "count", "sum", "avg", "min", "max" ], "type": "string" }, "field": { "description": "Required for 'sum', 'avg', 'min', 'max'...", "type": "string" }, "filter": { "additionalProperties": {}, "description": "Optional. A Hasura GraphQL 'where' filter object...", "type": "object" }, "tableName": { "description": "The exact name of the table...", "type": "string" } }, "required": [ "tableName", "aggregateFunction" ], "type": "object" }

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/husamabusafa/hasura_mcp'

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