Databox MCP
databox_mcpList Databox accounts, data sources, datasets and metrics, create data sources and datasets, ingest data, load metric and databoard data, and ask Genie for analysis through Databox's hosted MCP server.
Acciones disponibles (19)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Ask genieDATABOX_MCP_ASK_GENIEAcciónAsk Genie, your data analyst assistant, to explore and analyze a dataset.
Genie helps you understand your data through natural language. It can:
- Examine dataset structure and available columns
- Execute SQL queries to answer your questions
- Translate findings into clear, business-friendly insights
Use this for:
- Exploratory data analysis ("What columns are available?")
- Answering business questions ("What are the top 10 customers by revenue?")
- Finding trends and patterns ("Show me sales trends for the last 30 days")
- Getting summaries and statistics ("What is the average order value by region?")
- Investigating anomalies ("Why did signups drop last week?")
Genie provides concise answers and offers to dig deeper if you need more detail.
Genie answers one question at a time per conversation. Wait for a call to
return before sending another with the same thread_id -- one that arrives
while the previous is still running is rejected (error_code
CONCURRENT_RUN). To ask several questions at once, omit thread_id so each
starts its own conversation and they run in parallel.
IMPORTANT: When the question contains relative dates like "last month",
"yesterday", "this week", etc., you MUST first call get_current_datetime()
to get the actual current date, then convert the relative date to an
absolute date before calling this tool.
DATABOX_MCP_ASK_GENIEAcciónAsk Genie, your data analyst assistant, to explore and analyze a dataset. Genie helps you understand your data through natural language. It can: - Examine dataset structure and available columns - Execute SQL queries to answer your questions - Translate findings into clear, business-friendly insights Use this for: - Exploratory data analysis ("What columns are available?") - Answering business questions ("What are the top 10 customers by revenue?") - Finding trends and patterns ("Show me sales trends for the last 30 days") - Getting summaries and statistics ("What is the average order value by region?") - Investigating anomalies ("Why did signups drop last week?") Genie provides concise answers and offers to dig deeper if you need more detail. Genie answers one question at a time per conversation. Wait for a call to return before sending another with the same thread_id -- one that arrives while the previous is still running is rejected (error_code CONCURRENT_RUN). To ask several questions at once, omit thread_id so each starts its own conversation and they run in parallel. IMPORTANT: When the question contains relative dates like "last month", "yesterday", "this week", etc., you MUST first call get_current_datetime() to get the actual current date, then convert the relative date to an absolute date before calling this tool.
Parámetros de entrada
questionstringObligatorioNatural language question or request about the data
thread_idanyOptional thread ID to continue an existing conversation. If not provided, starts a new conversation thread. Use the thread_id from a previous response to ask follow-up questions. Only one call at a time may use a given thread_id -- run parallel questions on separate threads by leaving this unset.
dataset_idstringObligatorioId of a dataset or merged dataset, as list_data_source_datasets, create_dataset or list_merged_datasets return it. A data source id cannot be queried.
Parámetros de salida
Sin parámetros.
Create datasetDATABOX_MCP_CREATE_DATASETAcciónCreate a new dataset within a data source.
Define a structured dataset with an optional schema for storing tabular data.
Only admins, and Users or Editors who created the data source, can
create datasets under it.
The created dataset's data_source_id is its own id, the one list_metrics
and ask_genie take; its parent is the data_source_id you passed in.
DATABOX_MCP_CREATE_DATASETAcciónCreate a new dataset within a data source. Define a structured dataset with an optional schema for storing tabular data. Only admins, and Users or Editors who created the data source, can create datasets under it. The created dataset's data_source_id is its own id, the one list_metrics and ask_genie take; its parent is the data_source_id you passed in.
Parámetros de entrada
namestringObligatorioHuman-readable name for the dataset (required)
columnsanyOptional JSON string defining column schema. Each column has: - name: Column name (required) - data_type: One of "string", "number", "datetime" (required)
primary_keysanyOptional JSON string with array of column names for composite key (e.g. '["id"]')
data_source_idstringObligatorioNumeric id of the parent data source, from list_data_sources or create_data_source (required)
Parámetros de salida
Sin parámetros.
Create data sourceDATABOX_MCP_CREATE_DATA_SOURCEAcciónCreate a new data source in Databox.
Create a data source container for organizing datasets. When
account_id is provided, the data source is created under that
specific account; otherwise it is created in the organization the
user signed in to. Use the list_accounts tool to discover available
account IDs.
DATABOX_MCP_CREATE_DATA_SOURCEAcciónCreate a new data source in Databox. Create a data source container for organizing datasets. When account_id is provided, the data source is created under that specific account; otherwise it is created in the organization the user signed in to. Use the list_accounts tool to discover available account IDs.
Parámetros de entrada
namestringObligatorioHuman-readable name for the data source (required)
account_idanyNumeric id of the target account, from list_accounts (optional)
Parámetros de salida
Sin parámetros.
Delete datasetDATABOX_MCP_DELETE_DATASETAcciónDelete a dataset from Databox.
Permanently remove a dataset and all its data. This operation
cannot be undone. Only admins, and Users or Editors who created the
dataset, can delete it. When it is the only dataset of a data source
made with create_data_source, Databox deletes that data source too.
DATABOX_MCP_DELETE_DATASETAcciónDelete a dataset from Databox. Permanently remove a dataset and all its data. This operation cannot be undone. Only admins, and Users or Editors who created the dataset, can delete it. When it is the only dataset of a data source made with create_data_source, Databox deletes that data source too.
Parámetros de entrada
dataset_idstringObligatorioNumeric id of the dataset to delete, from list_data_source_datasets or create_dataset (required). A dataset GUID still works. Databox does not check that a numeric id is a dataset, so a data source id deletes that data source.
Parámetros de salida
Sin parámetros.
Delete data sourceDATABOX_MCP_DELETE_DATA_SOURCEAcciónDelete a data source from Databox.
Permanently remove a data source and all its associated datasets.
This operation cannot be undone. Only admins, and Users or Editors
who created the data source, can delete it; Databox refuses the rest
with a permission error.
DATABOX_MCP_DELETE_DATA_SOURCEAcciónDelete a data source from Databox. Permanently remove a data source and all its associated datasets. This operation cannot be undone. Only admins, and Users or Editors who created the data source, can delete it; Databox refuses the rest with a permission error.
Parámetros de entrada
data_source_idstringObligatorioNumeric id of the data source to delete, from list_data_sources or create_data_source
Parámetros de salida
Sin parámetros.
Get current datetimeDATABOX_MCP_GET_CURRENT_DATETIMEAcciónGet the current date and time.
Use this tool when you need to know the current date/time to resolve
relative date expressions like "last month", "yesterday", etc.
DATABOX_MCP_GET_CURRENT_DATETIMEAcciónGet the current date and time. Use this tool when you need to know the current date/time to resolve relative date expressions like "last month", "yesterday", etc.
Parámetros de entrada
timezoneanyOptional timezone name (e.g., 'UTC', 'America/New_York'). Defaults to UTC.
Parámetros de salida
Sin parámetros.
Get databoard by idDATABOX_MCP_GET_DATABOARD_BY_IDAcciónLoad a databoard's full block and metric configuration.
Returns the board's blocks, and for each block the metric tiles it
contains: metric_key, the data_source_id the metric lives on, the
absolute date range, granulation, optional breakdown dimension, and
filters. This returns the board's CONFIGURATION, not live metric
values; pass a tile's data_source_id and metric_key to load_metric_data
to fetch its values (or to list_metrics to look up the metric's name).
Find a board_id first with search_databoards.
DATABOX_MCP_GET_DATABOARD_BY_IDAcciónLoad a databoard's full block and metric configuration. Returns the board's blocks, and for each block the metric tiles it contains: metric_key, the data_source_id the metric lives on, the absolute date range, granulation, optional breakdown dimension, and filters. This returns the board's CONFIGURATION, not live metric values; pass a tile's data_source_id and metric_key to load_metric_data to fetch its values (or to list_metrics to look up the metric's name). Find a board_id first with search_databoards.
Parámetros de entrada
board_idintegerObligatorioNumeric databoard ID (from search_databoards).
Parámetros de salida
Sin parámetros.
Get dataset ingestionsDATABOX_MCP_GET_DATASET_INGESTIONSAcciónGet ingestion history for a specific dataset.
Retrieve up to 100 data ingestion jobs for a dataset, with their IDs,
statuses and timestamps. A job is processing while it runs, then
completed or failed; purged means its data was purged since, and
unknown is a status this server does not recognise. Use get_ingestion
for a job's record counts.
DATABOX_MCP_GET_DATASET_INGESTIONSAcciónGet ingestion history for a specific dataset. Retrieve up to 100 data ingestion jobs for a dataset, with their IDs, statuses and timestamps. A job is processing while it runs, then completed or failed; purged means its data was purged since, and unknown is a status this server does not recognise. Use get_ingestion for a job's record counts.
Parámetros de entrada
dataset_idstringObligatorioNumeric id of the dataset, from list_data_source_datasets or create_dataset (required). A dataset GUID still works.
Parámetros de salida
Sin parámetros.
Get date rangesDATABOX_MCP_GET_DATE_RANGESAcciónGet valid date range presets for the chart widget.
Intended for the chart widget, which calls it to populate the date
range picker dropdown. Note that visibility=["app"] only hides the
tool from the host's model-visible tool list — it remains callable by
any authenticated MCP client, so inputs are validated like any
public tool.
DATABOX_MCP_GET_DATE_RANGESAcciónGet valid date range presets for the chart widget. Intended for the chart widget, which calls it to populate the date range picker dropdown. Note that visibility=["app"] only hides the tool from the host's model-visible tool list — it remains callable by any authenticated MCP client, so inputs are validated like any public tool.
Parámetros de entrada
date_rangestringObligatorioJSON-encoded SimpleDateRange object
Parámetros de salida
resultobject[]Obligatorio
Get ingestionDATABOX_MCP_GET_INGESTIONAcciónGet detailed information for a specific ingestion event.
Retrieves detailed information for an ingestion event, allowing you to
check processing progress and outcomes including record counts and
dataset metrics. The status is inProgress while the ingestion runs,
then success or failed; purged means its data was purged since, and
unknown is a status Databox did not name. Record counts are zero until
the ingestion has metrics.
DATABOX_MCP_GET_INGESTIONAcciónGet detailed information for a specific ingestion event. Retrieves detailed information for an ingestion event, allowing you to check processing progress and outcomes including record counts and dataset metrics. The status is inProgress while the ingestion runs, then success or failed; purged means its data was purged since, and unknown is a status Databox did not name. Record counts are zero until the ingestion has metrics.
Parámetros de entrada
dataset_idstringObligatorioNumeric id of the dataset, from list_data_source_datasets or create_dataset (required). A dataset GUID still works.
ingestion_idstringObligatorioId of the ingestion event, from get_dataset_ingestions or ingest_data (required)
Parámetros de salida
Sin parámetros.
Ingest dataDATABOX_MCP_INGEST_DATAAcciónIngest data into an existing dataset.
Push data records into a dataset. Each record must match the dataset's
schema. Data validation is performed against column types and constraints.
Only admins, and Users or Editors who created the dataset, can ingest
into it; Databox refuses the rest with a permission error.
DATABOX_MCP_INGEST_DATAAcciónIngest data into an existing dataset. Push data records into a dataset. Each record must match the dataset's schema. Data validation is performed against column types and constraints. Only admins, and Users or Editors who created the dataset, can ingest into it; Databox refuses the rest with a permission error.
Parámetros de entrada
datastringObligatorioJSON string containing an array of data records. Each record should be an object with column names as keys.
dataset_idstringObligatorioNumeric id of the dataset, from list_data_source_datasets or create_dataset (required). A dataset GUID still works.
Parámetros de salida
Sin parámetros.
List accountsDATABOX_MCP_LIST_ACCOUNTSAcciónList all Databox accounts accessible to the authenticated user.
Retrieves the organization the user signed in to, followed by its
client accounts when the organization is an agency. Use this to
discover account IDs needed for listing data sources.
Returns:
Dictionary containing an array of accounts with their IDs and names.
Examples:
list_accounts()
DATABOX_MCP_LIST_ACCOUNTSAcciónList all Databox accounts accessible to the authenticated user. Retrieves the organization the user signed in to, followed by its client accounts when the organization is an agency. Use this to discover account IDs needed for listing data sources. Returns: Dictionary containing an array of accounts with their IDs and names. Examples: list_accounts()
Parámetros de entrada
Sin parámetros.
Parámetros de salida
Sin parámetros.
List data source datasetsDATABOX_MCP_LIST_DATA_SOURCE_DATASETSAcciónList all datasets belonging to a specific data source.
Retrieve the datasets created under a data source, oldest first.
For a data source in a client account, pass that account's id.
Each returned dataset id can be passed to list_metrics as
data_source_id to find metrics that live on that dataset. A dataset's
data_source_id field holds that same id, not its parent's: the parent
is the data source you passed in.
DATABOX_MCP_LIST_DATA_SOURCE_DATASETSAcciónList all datasets belonging to a specific data source. Retrieve the datasets created under a data source, oldest first. For a data source in a client account, pass that account's id. Each returned dataset id can be passed to list_metrics as data_source_id to find metrics that live on that dataset. A dataset's data_source_id field holds that same id, not its parent's: the parent is the data source you passed in.
Parámetros de entrada
account_idanyNumeric id of the account the data source belongs to, from list_accounts (optional, defaults to the organization the user signed in to)
data_source_idstringObligatorioUnique identifier of the data source
Parámetros de salida
Sin parámetros.
List data sourcesDATABOX_MCP_LIST_DATA_SOURCESAcciónList all data sources for a specific account.
Retrieves the data sources the user can access in the specified
account. Users who are not admins see only the data sources they
created or that were shared with them.
DATABOX_MCP_LIST_DATA_SOURCESAcciónList all data sources for a specific account. Retrieves the data sources the user can access in the specified account. Users who are not admins see only the data sources they created or that were shared with them.
Parámetros de entrada
account_idstringObligatorioNumeric id of the account, from list_accounts
Parámetros de salida
Sin parámetros.
List merged datasetsDATABOX_MCP_LIST_MERGED_DATASETSAcciónList all merged datasets for a specific account.
Retrieve all merged datasets available for the specified account.
Merged datasets combine data from multiple sources into a single
unified dataset.
Each returned merged dataset id can be passed to list_metrics as
data_source_id to find metrics that live on that merged dataset. A
merged dataset's data_source_id field holds that same id.
DATABOX_MCP_LIST_MERGED_DATASETSAcciónList all merged datasets for a specific account. Retrieve all merged datasets available for the specified account. Merged datasets combine data from multiple sources into a single unified dataset. Each returned merged dataset id can be passed to list_metrics as data_source_id to find metrics that live on that merged dataset. A merged dataset's data_source_id field holds that same id.
Parámetros de entrada
account_idstringObligatorioNumeric id of the account, from list_accounts
Parámetros de salida
Sin parámetros.
List metricsDATABOX_MCP_LIST_METRICSAcciónList all metrics available for a data source, dataset, or merged dataset.
Retrieve available metrics with their keys, names, descriptions, and
dimensions.
IMPORTANT: Metrics are NOT only attached to data sources. A metric can
live on a data source, a dataset, OR a merged dataset. All three expose
a numeric id that is passed here as data_source_id. If you are looking
for a metric and don't know where it lives, check ALL of these and call
list_metrics for each candidate id:
- list_data_sources(account_id) -> data source ids
- list_data_source_datasets(data_source_id) -> dataset ids
- list_merged_datasets(account_id) -> merged dataset ids
Do not assume the metric is on a data source just because the parameter
is named data_source_id.
Each metric has a unique metric_key (e.g. "GoogleAnalytics4@sessions",
"1234|custom_query_567", "4321|script_986"). When calling
load_metric_data, pass the full metric_key value exactly as returned -
do not split, truncate, or modify it in any way.
DATABOX_MCP_LIST_METRICSAcciónList all metrics available for a data source, dataset, or merged dataset. Retrieve available metrics with their keys, names, descriptions, and dimensions. IMPORTANT: Metrics are NOT only attached to data sources. A metric can live on a data source, a dataset, OR a merged dataset. All three expose a numeric id that is passed here as data_source_id. If you are looking for a metric and don't know where it lives, check ALL of these and call list_metrics for each candidate id: - list_data_sources(account_id) -> data source ids - list_data_source_datasets(data_source_id) -> dataset ids - list_merged_datasets(account_id) -> merged dataset ids Do not assume the metric is on a data source just because the parameter is named data_source_id. Each metric has a unique metric_key (e.g. "GoogleAnalytics4@sessions", "1234|custom_query_567", "4321|script_986"). When calling load_metric_data, pass the full metric_key value exactly as returned - do not split, truncate, or modify it in any way.
Parámetros de entrada
data_source_idintegerObligatorioNumeric id of the data source, dataset, or merged dataset to list metrics for. This is the id returned by list_data_sources, list_data_source_datasets, or list_merged_datasets.
Parámetros de salida
Sin parámetros.
Load metric dataDATABOX_MCP_LOAD_METRIC_DATAAcciónLoad data for a metric over a date range.
Fetches chart-ready data from the Databox BFF. On hosts that support
MCP Apps, the result renders as an interactive chart widget.
The metric may belong to a data source, a dataset, or a merged dataset.
Pass the same numeric id you used with list_metrics to discover the
metric (from list_data_sources, list_data_source_datasets, or
list_merged_datasets) as data_source_id.
IMPORTANT: The metric_key must be the EXACT complete value returned by
list_metrics. Do NOT split, truncate, or modify the key in any way.
DATABOX_MCP_LOAD_METRIC_DATAAcciónLoad data for a metric over a date range. Fetches chart-ready data from the Databox BFF. On hosts that support MCP Apps, the result renders as an interactive chart widget. The metric may belong to a data source, a dataset, or a merged dataset. Pass the same numeric id you used with list_metrics to discover the metric (from list_data_sources, list_data_source_datasets, or list_merged_datasets) as data_source_id. IMPORTANT: The metric_key must be the EXACT complete value returned by list_metrics. Do NOT split, truncate, or modify the key in any way.
Parámetros de entrada
end_datestringObligatorioEnd date in YYYY-MM-DD format
dimensionanyOptional dimension key to break down by (e.g. "source")
metric_keystringObligatorioComplete metric key exactly as returned by list_metrics (e.g. "GoogleAnalytics4@sessions", "1234|custom_query_567", "4321|script_986"). Always use the full value - never extract just a portion of it.
multiplieranyNumber of days for the LastXDays* range types (e.g. 7, 30, 90). Required when range_type_id is LastXDays, LastXDaysWithoutCurrent, or LastXDaysRolling.
start_datestringObligatorioStart date in YYYY-MM-DD format
metric_nameanyOptional human-readable metric name as returned by list_metrics (e.g. "Sessions"). Used only as the chart label; when omitted the chart renders without a metric name.
record_limitanyDeprecated; accepted for backward compatibility but currently ignored. Do not rely on it to limit records.
range_type_idanyUse a preset date range type for correct "vs previous period" comparison. When set, start_date and end_date are ignored and the range is calculated relative to today. Valid values: WeekToDate, MonthToDate, PreviousWeek, PreviousMonth, LastXDays, LastXDaysWithoutCurrent, LastXDaysRolling, CustomRange. Use this when the user asks for standard periods like "this month", "this week", "last 30 days", etc.
data_source_idintegerObligatorioNumeric id of the data source, dataset, or merged dataset that the metric belongs to (the same id used with list_metrics)
is_whole_rangebooleanIf True, returns single aggregated value for entire range. Automatically set to False when granulation_time_unit is provided.
granulation_time_unitanyTime unit for time series (1=hour, 2=day, 3=week, 4=month). If not set, returns aggregated value.
Parámetros de salida
Sin parámetros.
Refresh chart dataDATABOX_MCP_REFRESH_CHART_DATAAcciónRe-fetch chart data with new parameters.
Intended for the chart widget, which calls it when the user changes
date range, granulation, visualization type, or dimension. Note that
visibility=["app"] only hides the tool from the host's model-visible
tool list — it remains callable by any authenticated MCP client, so
inputs are validated like any public tool.
DATABOX_MCP_REFRESH_CHART_DATAAcciónRe-fetch chart data with new parameters. Intended for the chart widget, which calls it when the user changes date range, granulation, visualization type, or dimension. Note that visibility=["app"] only hides the tool from the host's model-visible tool list — it remains callable by any authenticated MCP client, so inputs are validated like any public tool.
Parámetros de entrada
filtersanyJSON-encoded Filter object (optional)
date_rangestringObligatorioJSON-encoded SimpleDateRange object
metric_setupstringObligatorioJSON-encoded MetricSetup object
visualizationintegerObligatorioVisualization type (4=LINE, 5=BAR, 9=TABLE)
Parámetros de salida
Sin parámetros.
Search databoardsDATABOX_MCP_SEARCH_DATABOARDSAcciónSearch or list databoards (dashboards) in the workspace.
With a query, performs a fuzzy search ranked by relevance against the
board name, tags, and data source types. Without a query, lists all
databoards, optionally narrowed by filters.
Use this first to find a board, then call get_databoard_by_id with a
returned board_id to inspect its full block and metric configuration.
DATABOX_MCP_SEARCH_DATABOARDSAcciónSearch or list databoards (dashboards) in the workspace. With a query, performs a fuzzy search ranked by relevance against the board name, tags, and data source types. Without a query, lists all databoards, optionally narrowed by filters. Use this first to find a board, then call get_databoard_by_id with a returned board_id to inspect its full block and metric configuration.
Parámetros de entrada
queryanyOptional search text. Omit (or pass "*") to list all boards.
data_source_filteranyOptional list of data source type keys (e.g. ["GoogleAnalytics4"]) to keep only boards that use them.
space_access_id_filteranyOptional list of connection IDs to keep only boards that include them (connection IDs appear in the space_access_ids of prior search results).
Parámetros de salida
Sin parámetros.