MCP Tools Reference
All 29 tools below are exposed over the hibase MCP Server and used by the In-App AI Assistant. By default, only tools authorized by your active permission scopes appear in tools/list.
Capabilities Discovery
| Tool | Scope | Read-Only | Parameters | Purpose |
|---|---|---|---|---|
get_hibase_capabilities |
(none) | Yes | (none) | Returns workspace subdomain, API key name, enabled/disabled scopes, and enabled/disabled tool names. |
Workflows, Lineage & Diagnostics
list_workflows and get_dependency_graph are specifically designed for step-by-step discovery so workspaces with hundreds of workflows do not overflow model context.
| Tool | Scope | Read-Only | Parameters | Purpose |
|---|---|---|---|---|
list_workflows |
workflows:read |
Yes | tag, active, state, path_prefix, search, limit (default 100, max 500), offset |
Returns compact paginated workflow summaries (no steps_attributes or workflow_params), with total_count, has_more, and truncated. |
get_workflow |
workflows:read |
Yes | workflow_id (req) |
Returns full configuration for a single workflow including steps_attributes, workflow_params, schedule, dependencies, and last run status. |
get_dependency_graph |
workflows:read |
Yes | workflow_id, tag, path_prefix, search, mode (summary | detail), depth (default 2, max 10), direction (both | upstream | downstream), limit (default 50, max 200), offset, include_isolated |
Unfiltered calls default to mode="summary" (counts, component count, blocked workflows, top roots, top hubs, folders). Pass workflow_id or filters for a compact, depth-bounded subgraph (edges + nodes without duplicate arrays). |
list_workflow_tags |
workflows:read |
Yes | (none) | Lists all workflow tags configured in the workspace. |
get_workflow_versions |
workflows:read |
Yes | workflow_id (req), limit (1–100) |
Fetches version control history and commit messages for a workflow. |
diagnose_overdue_workflows |
workflows:read |
Yes | overdue_threshold_minutes (default 60) |
Finds active workflows past next_start_at, recent failing runs, stale heartbeats, and upstream dependency blockers. |
run_workflow |
workflows:run |
No | workflow_id (req), step_id, workflow_params |
Triggers manual execution of a full workflow or single step with optional temporary params. |
stop_workflow |
workflows:run |
No | workflow_id (req) |
Requests abort/stop of a currently running workflow. |
create_or_update_workflow |
workflows:write |
No | commit_message (req), workflow_attributes (req), workflow_id |
Creates or updates an ETL workflow with version-control commit message. Supports embedding inline data_source_attributes (SqlQuery or ConnectorQuery) and filter_query_attributes directly inside steps_attributes[]. |
Execution Logs
| Tool | Scope | Read-Only | Parameters | Purpose |
|---|---|---|---|---|
list_workflow_log_groups |
logs:read |
Yes | workflow_id (req), limit (1–100) |
Lists recent execution log groups with start/end timestamps, total log count, and error count. |
get_log_group_details |
logs:read |
Yes | workflow_id (req), log_group_id (req), errors_only (bool), limit (1–1000) |
Fetches log entries for a specific execution run. Start with errors_only=true to pinpoint failures quickly. |
Databases & Schemas
| Tool | Scope | Read-Only | Parameters | Purpose |
|---|---|---|---|---|
list_databases |
databases:read |
Yes | (none) | Lists connected databases (adapter, host, database name, supported features; never returns passwords/credentials). |
list_tables |
databases:read |
Yes | database_id (req) |
Lists tables configured on a database. |
get_table_schema |
databases:read |
Yes | database_id (req), table_id (req) |
Inspects columns (names, types, nullability, primary keys) and foreign keys for a table. |
SQL Queries & Templating
| Tool | Scope | Read-Only | Parameters | Purpose |
|---|---|---|---|---|
list_sql_queries |
queries:read |
Yes | database_id, search |
Lists saved SQL queries (names, folder paths, database IDs, SQL text) without running them. |
get_sql_query |
queries:read |
Yes | sql_query_id (req) |
Fetches a saved SQL query definition by ID. |
compile_sql_query |
queries:read |
Yes | database_id (req), sql_statement (req), query_params |
Dry-runs hibase {{ ... }} templating and SQL-aware NULL interpolation for the target database dialect without executing against the warehouse. |
test_expression |
queries:read |
Yes | expression (req), params |
Evaluates a hibase {{ ... }} templating expression with optional sample JSON parameters. |
create_or_update_sql_query |
queries:write |
No | sql_query_id, database_id, name, sql_statement, in_library, path, description |
Creates or updates a standalone saved SQL query in the query library. |
execute_sql_query |
queries:execute_sql_read (+ queries:execute_sql_write for DDL/DML) |
Yes | database_id (req), sql_statement (req), query_params, max_rows |
Executes ad-hoc SQL against a database (capped at 500 rows / 512 KB). Modifying/DDL SQL requires queries:execute_sql_write. |
execute_saved_sql_query |
queries:execute_sql_read |
Yes | sql_query_id (req), query_params, max_rows |
Executes a saved SQL query by ID and returns capped rows. |
parse_step_params |
queries:execute_sql_read |
Yes | etl_workflow_attributes (req), step_index (req) |
Resolves workflow params, step JSON, and step parameter query SQL for a given step during debugging. |
Connectors & API Queries
| Tool | Scope | Read-Only | Parameters | Purpose |
|---|---|---|---|---|
list_connectors |
connectors:read |
Yes | search |
Lists available hibase connectors (metadata only; never credentials). |
get_connector_endpoints |
connectors:read |
Yes | connector_id (req) |
Lists endpoints, HTTP methods, and configurable endpoint parameters for a connector. |
list_connector_subscriptions |
connectors:read |
Yes | (none) | Lists active connector connections/subscriptions in the workspace (metadata only; tokens/secrets are never returned). |
list_connector_queries |
connectors:read |
Yes | (none) | Lists saved connector queries in the workspace. |
create_or_update_connector_query |
queries:write |
No | connector_query_id, connector_subscription_id, connector_endpoint_id, in_library, name, path, description, endpoint_params_attributes, response_selectors_attributes, limit |
Creates or updates a standalone saved connector query in the query library. |
execute_connector_query |
queries:execute_connector |
Yes | connector_query_id, connector_subscription_id, connector_endpoint_id, endpoint_params_attributes, response_selectors_attributes, query_params, limit |
Executes a saved or ad-hoc connector API query against an active subscription (row-capped). |