Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DATANIKA_URLNohttps://app.datanika.io
DATANIKA_API_KEYYes

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_agent_tiers

Get the 5-tier agent capability stack — describes what the API can do.

get_connection_types

List all supported connection types with their config schemas.

list_connections

List all connections in the organization.

get_connection

Get details of a specific connection by ID.

introspect_connection

List schemas and tables of a source connection.

Args: connection_id: The connection to introspect. schema: Optional schema name to filter tables.

preview_connection

Preview the first N rows of a table from a source connection.

Args: connection_id: The connection to query. table: Table name to preview. schema: Optional schema name. limit: Max rows to return (default 100).

query_connection

Execute a read-only SQL query against a source connection.

Args: connection_id: The connection to query. query: A single SELECT statement (no mutations allowed).

compile_transformation

Compile a dbt transformation — resolves Jinja, ref(), source(). No execution.

Args: transformation_id: The transformation to compile.

preview_transformationA

Compile and execute a transformation, returning preview rows.

Args: transformation_id: The transformation to preview. limit: Max rows to return (default 100, max 1000).

list_uploadsA

List all uploads (extract + load jobs) in the organization.

list_pipelinesA

List all pipelines (dbt transform orchestration) in the organization.

list_transformationsA

List all dbt transformations in the organization.

list_runsA

List pipeline/upload/transformation runs with optional filters.

Args: target_type: Filter by type — 'upload', 'pipeline', or 'transformation'. status: Filter by status — 'pending', 'running', 'success', 'failed', 'cancelled'. limit: Max results (default 50, max 200).

get_runB

Get details of a specific run by ID.

Args: run_id: The run ID to look up.

get_run_logsC

Get the logs of a specific run.

Args: run_id: The run ID whose logs to fetch.

list_catalogA

List all catalog entries (source tables and dbt models).

get_catalog_entryA

Get details of a specific catalog entry.

Args: entry_id: The catalog entry ID.

create_connectionA

Create a new data connection.

Requires --allow-write.

Args: name: Human-readable name for the connection. connection_type: One of the supported types (e.g. 'postgres', 'mysql', 'stripe'). config: Connection-specific configuration (host, port, credentials, etc.).

create_upload

Create a new upload (extract + load job).

Requires --allow-write.

Args: name: Upload name. source_connection_id: ID of the source connection. destination_connection_id: ID of the destination connection. dlt_config: Optional dlt extraction config (load_mode, table_name, etc.). description: Optional description.

create_pipeline

Create a new pipeline (dbt transform orchestration).

Requires --allow-write.

Args: name: Pipeline name. destination_connection_id: ID of the destination connection. command: dbt command — 'run', 'build', 'test', 'seed', 'snapshot', 'compile'. description: Optional description.

create_transformationA

Create a new dbt SQL transformation.

Requires --allow-write.

Args: name: Model name (letters, digits, underscores, hyphens; must start with letter or _). sql_body: dbt-compatible SQL (supports ref(), source(), Jinja). materialization: 'view', 'table', 'incremental', 'ephemeral', or 'snapshot'. description: Optional description. schema_name: Target schema (default 'staging').

bulk_importA

Bulk-import connections, uploads, pipelines, and transformations in one call.

Requires --allow-write. Uses the JSON v2 import format. Validates everything first — if any errors, nothing is created.

Args: payload: JSON v2 import payload with version, connections, uploads, pipelines, transformations sections. See AI_IMPORT_GUIDE.md.

trigger_uploadA

Trigger an upload run.

Requires --allow-write.

Args: upload_id: The upload to run. wait: If true, block until the run completes (up to 120s).

trigger_pipelineA

Trigger a pipeline run (dbt build/run/test).

Requires --allow-write.

Args: pipeline_id: The pipeline to run. wait: If true, block until the run completes (up to 120s).

trigger_transformation

Trigger a transformation run.

Requires --allow-write.

Args: transformation_id: The transformation to run. wait: If true, block until the run completes (up to 120s).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/datanika-io/datanika-core'

If you have feedback or need assistance with the MCP directory API, please join our Discord server