AVA
v0.1.3Load data, inspect schemas, run SQL, analyze datasets, and build charts with AVA via MCP.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
ava_load_data Load data into AVA
Load a dataset and return its schema. Replaces the previously loaded dataset. Use inline CSV or JSON for small pasted data, or a file path for larger local files.
| Parameter | Type | Description |
|---|---|---|
source * |
ava_schema Inspect the loaded dataset
Return table names, columns, and types for the loaded dataset.
ava_profile Profile the loaded dataset
Compute column statistics (row count, nulls, distinct, min, max, mean, median) for the dataset.
| Parameter | Type | Description |
|---|---|---|
metrics | array | Statistics to compute. Omit for AVA defaults. |
ava_query Run SQL against the dataset
Execute one read-only SELECT statement with DuckDB semantics. Aggregate, filter, and sort in SQL so the result stays small.
| Parameter | Type | Description |
|---|---|---|
sql * | string | A single SELECT statement, using table names from ava_schema. |
ava_analyze Answer a question in natural language
Ask a question about the loaded dataset. AVA writes and executes the SQL, then summarizes the result. Requires OPENAI_API_KEY (and optionally OPENAI_MODEL / OPENAI_BASE_URL) in the server environment.
| Parameter | Type | Description |
|---|---|---|
question * | string | The question to answer from the data. |
includeSummary | boolean | Whether to write a prose answer. Defaults to true. |
ava_translate Translate a question to SQL
Translate a question into SQL without running it, so a human can review the statement first.
| Parameter | Type | Description |
|---|---|---|
question * | string |
ava_suggest Suggest questions about the data
Suggest questions worth asking about the loaded dataset. Requires a model configuration.
| Parameter | Type | Description |
|---|---|---|
count | integer |
ava_visualize Build a chart for a result
Recommend a chart for rows from ava_query or ava_analyze. Returns a GPT-Vis config, which AVA renders to standalone HTML with the `viz --spec` CLI command.
| Parameter | Type | Description |
|---|---|---|
data * | array | Rows from a previous tool call. |
question * | string | The question the rows answer. |