get-explore-schema
Retrieve the complete schema of a table including dimensions, metrics, joins, and field details. Use this before creating charts to find correct field IDs and understand data structure.
Instructions
Get the complete schema for an explore/table including all available dimensions, metrics, and joins.
This is essential before creating charts to understand what fields exist and their types.
Returns:
Base table information: Name, label, description
All dimensions by table: Field IDs, types, labels, descriptions
All metrics by table: Field IDs, types, SQL, labels, descriptions
Joins: How tables are connected, join types, join conditions
Summary statistics: Counts of tables, dimensions, metrics
Field information includes:
fieldId: Use this exact value in chart queries (format:table_fieldname)type: Field data type (string, number, date, timestamp, etc.)label: Human-readable namedescription: What the field representshidden: Whether field is hidden by defaultsql: For metrics, the SQL expression used
When to use:
Before creating any chart - to find correct field IDs
To understand available data and metrics
To discover join relationships between tables
To find field types for proper formatting
To explore what analysis is possible with a data model
Best practices:
Start with get-catalog or get-metrics-catalog to find relevant explores
Use get-explore-schema on specific explores to get detailed field information
Copy exact fieldId values when building chart queries
Check field descriptions to ensure you're using the right data
Hidden fields: By default, hidden fields are excluded. Set include_hidden=true to see all fields including internal/technical ones.
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": {
"table_name": "<table_name>"
},
"name": "get-explore-schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_name | Yes | Name of the table/explore to introspect. This is the exploreName from your dbt models (e.g., 'snowplow__events_processed', 'wallet_users', 'orders'). Use get-catalog to discover available explore names. | |
| include_hidden | No | Optional: Include hidden fields in the response (default: false). Hidden fields are typically internal or technical fields not meant for general use. |