Volver al catálogo

Databox MCP

databox_mcp

List 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
19
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

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ón

Ask 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

  • questionstringObligatorio

    Natural language question or request about the data

  • thread_idany

    Optional 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_idstringObligatorio

    Id 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ón

Create 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

  • namestringObligatorio

    Human-readable name for the dataset (required)

  • columnsany

    Optional JSON string defining column schema. Each column has: - name: Column name (required) - data_type: One of "string", "number", "datetime" (required)

  • primary_keysany

    Optional JSON string with array of column names for composite key (e.g. '["id"]')

  • data_source_idstringObligatorio

    Numeric 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ón

Create 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

  • namestringObligatorio

    Human-readable name for the data source (required)

  • account_idany

    Numeric id of the target account, from list_accounts (optional)

Parámetros de salida

Sin parámetros.

Delete datasetDATABOX_MCP_DELETE_DATASETAcción

Delete 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_idstringObligatorio

    Numeric 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ón

Delete 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_idstringObligatorio

    Numeric 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ón

Get 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

  • timezoneany

    Optional 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ón

Load 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_idintegerObligatorio

    Numeric databoard ID (from search_databoards).

Parámetros de salida

Sin parámetros.

Get dataset ingestionsDATABOX_MCP_GET_DATASET_INGESTIONSAcción

Get 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_idstringObligatorio

    Numeric 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ón

Get 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_rangestringObligatorio

    JSON-encoded SimpleDateRange object

Parámetros de salida

  • resultobject[]Obligatorio
Get ingestionDATABOX_MCP_GET_INGESTIONAcción

Get 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_idstringObligatorio

    Numeric id of the dataset, from list_data_source_datasets or create_dataset (required). A dataset GUID still works.

  • ingestion_idstringObligatorio

    Id of the ingestion event, from get_dataset_ingestions or ingest_data (required)

Parámetros de salida

Sin parámetros.

Ingest dataDATABOX_MCP_INGEST_DATAAcción

Ingest 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

  • datastringObligatorio

    JSON string containing an array of data records. Each record should be an object with column names as keys.

  • dataset_idstringObligatorio

    Numeric 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ón

List 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ón

List 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_idany

    Numeric id of the account the data source belongs to, from list_accounts (optional, defaults to the organization the user signed in to)

  • data_source_idstringObligatorio

    Unique identifier of the data source

Parámetros de salida

Sin parámetros.

List data sourcesDATABOX_MCP_LIST_DATA_SOURCESAcción

List 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_idstringObligatorio

    Numeric id of the account, from list_accounts

Parámetros de salida

Sin parámetros.

List merged datasetsDATABOX_MCP_LIST_MERGED_DATASETSAcción

List 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_idstringObligatorio

    Numeric id of the account, from list_accounts

Parámetros de salida

Sin parámetros.

List metricsDATABOX_MCP_LIST_METRICSAcción

List 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_idintegerObligatorio

    Numeric 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ón

Load 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_datestringObligatorio

    End date in YYYY-MM-DD format

  • dimensionany

    Optional dimension key to break down by (e.g. "source")

  • metric_keystringObligatorio

    Complete 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.

  • multiplierany

    Number of days for the LastXDays* range types (e.g. 7, 30, 90). Required when range_type_id is LastXDays, LastXDaysWithoutCurrent, or LastXDaysRolling.

  • start_datestringObligatorio

    Start date in YYYY-MM-DD format

  • metric_nameany

    Optional 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_limitany

    Deprecated; accepted for backward compatibility but currently ignored. Do not rely on it to limit records.

  • range_type_idany

    Use 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_idintegerObligatorio

    Numeric id of the data source, dataset, or merged dataset that the metric belongs to (the same id used with list_metrics)

  • is_whole_rangeboolean

    If True, returns single aggregated value for entire range. Automatically set to False when granulation_time_unit is provided.

  • granulation_time_unitany

    Time 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ón

Re-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

  • filtersany

    JSON-encoded Filter object (optional)

  • date_rangestringObligatorio

    JSON-encoded SimpleDateRange object

  • metric_setupstringObligatorio

    JSON-encoded MetricSetup object

  • visualizationintegerObligatorio

    Visualization type (4=LINE, 5=BAR, 9=TABLE)

Parámetros de salida

Sin parámetros.

Search databoardsDATABOX_MCP_SEARCH_DATABOARDSAcción

Search 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

  • queryany

    Optional search text. Omit (or pass "*") to list all boards.

  • data_source_filterany

    Optional list of data source type keys (e.g. ["GoogleAnalytics4"]) to keep only boards that use them.

  • space_access_id_filterany

    Optional 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.