Describe callable data tables
describe_dataDescribe the tables Mdexa can return rows from for one dataset: tables, columns (type, unit, codes, Refused / Don't know codes, lineage), keys and joinable tables. Call it before query_data or aggregate_data. Most datasets forbid passing their data on: then the answer is data_available: false with the quoted terms, the field dictionary and where the recipe for your own machine is. A refusal is an answer, not an error; relay it.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"slug": "<slug>"
},
"name": "describe_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Find columns by name, source variable name or label: across the tables, or in table only. Not with columns, stats or cursor. | |
| lang | No | en | |
| slug | Yes | ||
| hints | No | ||
| stats | No | With table only: per-column statistics (n, n_null, n_distinct, min, max, top_values, by_cycle). | |
| table | No | Omit to list the tables of this version. | |
| cursor | No | next_cursor from the previous response. | |
| columns | No | With table only: describe these columns only. | |
| version | No | Omit for the current version. | |
| max_tokens | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||