Skip to main content
Glama
arpeio-mcp

arpeio-mcp

Official
by arpe-io

fastbcp_preview_export

Read-onlyIdempotent

Build and preview a FastBCP export command without running it; masks passwords and auto-suggests parallelism when none is set. Review the exact CLI command before execution.

Instructions

Build and preview a FastBCP export command WITHOUT executing it. Shows the exact CLI command with passwords masked. If no parallelism method is specified, one is auto-suggested based on the source database type. Does NOT test connectivity or execute the export. After reviewing, pass the command to fastbcp_execute_export.

Input Schema

NameRequiredDescriptionDefault
outputYes
sourceYes
optionsNo
os_typeNoTarget operating system for command formattinglinux
config_fileNoPath to a YAML configuration file (--config parameter, requires FastBCP 0.30+)

Output Schema

NameRequiredDescriptionDefault
tipsNoSuggested next tool calls to resolve errors.
errorsNoField-level validation errors (status='error').
statusYes'ok' when the call succeeded; 'error' when the parameters failed validation or execution failed.
commandNoFull CLI argv with real credentials, ready to hand to the execute tool.
warningsNoVersion-compatibility warnings.
explanationNoHuman-readable summary of what the command does.
preview_onlyNoTrue when no binary is configured (execution unavailable).
command_stringNoThe argv joined into one command string (real credentials).
command_displayNoThe command with passwords masked, safe to show the user.
auto_parallelismNoParallelism method auto-suggested when none was given.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv0.3.9
    • changedInput schema / properties / options / properties / distribute_key_column / description
      Previous value: -"Column for data distribution. Required when method is RangeId, Random, Ntile, or DataDriven."New value: +"Column for data distribution. Required when method is RangeId, Random, Ntile, DataDriven or Timepartition. Not used by Physical or DBPartition."
    • changedInput schema / properties / options / properties / method / description
      Previous value: -"Parallelism method. Ntile: even distribution on numeric key. DataDriven: distinct value partitions, works with any data type. Physloc: SQL Server physical location (no key needed). Ctid: PostgreSQL physical tuple ID (no key needed). Rowid: Oracle physical ROWID (no key needed). RangeId: numeric min/max range. Random: modulo-based approximate distribution. Timepartition: partition by time column (FastBCP 0.30+). NZDataSlice: Netezza native slicing. DBPartition: one chunk per native table partition, for SQL Server, PostgreSQL, Oracle, MySQL and Teradata; needs schema and table, no key (FastBCP 1.3+). None: single-threaded. Call `fastbcp_info` with action='parallelism' if unsure."New value: +"Parallelism method. Ntile: even distribution on numeric key. DataDriven: distinct value partitions, works with any data type. Physical: split on the physical row location, no key needed; resolved to Ctid (PostgreSQL), Rowid (Oracle), Physloc (SQL Server) or NZDataSlice (Netezza) from the connection type; needs schema and table (FastBCP 1.4+). Physloc, Ctid, Rowid, NZDataSlice: the engine-specific names, deprecated since 1.4 (removed in 2.0), still needed on FastBCP < 1.4. RangeId: numeric min/max range. Random: modulo-based approximate distribution (avoid in production). Timepartition: partition by time column (FastBCP 0.30+). DBPartition: one chunk per native table partition, for SQL Server, PostgreSQL, Oracle, MySQL and Teradata; needs schema and table, no key (FastBCP 1.3+). None: single-threaded. Call `fastbcp_info` with action='parallelism' if unsure."
    • changedInput schema / properties / options / properties / method / enum
      Previous value: -[
      -  "Ctid",
      -  "DataDriven",
      -  "Ntile",
      -  "NZDataSlice",
      -  "None",
      -  "Physloc",
      -  "Random",
      -  "RangeId",
      -  "Rowid",
      -  "Timepartition",
      -  "DBPartition"
      -]New value: +[
      +  "Ctid",
      +  "DataDriven",
      +  "Ntile",
      +  "NZDataSlice",
      +  "None",
      +  "Physloc",
      +  "Random",
      +  "RangeId",
      +  "Rowid",
      +  "Timepartition",
      +  "DBPartition",
      +  "Physical"
      +]
    • changedInput schema / properties / source / properties / type / description
      Previous value: -"Source database connection type (e.g., 'pgsql' for PostgreSQL, 'mssql' for SQL Server, 'oraodp' for Oracle, 'mysql' for MySQL). ADBC types 'adbc_mssql' (1.0+), 'adbc_pgsql' (1.1+), 'adbc_oracle' (1.2+) and 'adbc_netezza' (1.3+) read the same databases through the Arpe ADBC drivers and write parquet output only."New value: +"Source database connection type (e.g., 'pgsql' for PostgreSQL, 'mssql' for SQL Server, 'oraodp' for Oracle, 'mysql' for MySQL). ADBC types 'adbc_mssql' (1.0+), 'adbc_pgsql' (1.1+), 'adbc_oracle' (1.2+), 'adbc_netezza' (1.3+) and 'adbc_teradata' (1.4+) read the same databases through the Arpe ADBC drivers (ArpeMSSQL, ArpePGSQL, ArpeOracle, ArpeNetezza, ArpeTeradata) and write parquet output only."
    • changedInput schema / properties / source / properties / type / enum
      Previous value: -[
      -  "clickhouse",
      -  "hana",
      -  "mssql",
      -  "msoledbsql",
      -  "mysql",
      -  "nzcopy",
      -  "nzoledb",
      -  "nzsql",
      -  "odbc",
      -  "oledb",
      -  "oraodp",
      -  "pgcopy",
      -  "pgsql",
      -  "teradata",
      -  "adbc_mssql",
      -  "adbc_pgsql",
      -  "adbc_oracle",
      -  "adbc_netezza"
      -]New value: +[
      +  "clickhouse",
      +  "hana",
      +  "mssql",
      +  "msoledbsql",
      +  "mysql",
      +  "nzcopy",
      +  "nzoledb",
      +  "nzsql",
      +  "odbc",
      +  "oledb",
      +  "oraodp",
      +  "pgcopy",
      +  "pgsql",
      +  "teradata",
      +  "adbc_mssql",
      +  "adbc_pgsql",
      +  "adbc_oracle",
      +  "adbc_netezza",
      +  "adbc_teradata"
      +]
  2. Changed4 schema fields changedv0.3.6
    • changedInput schema / properties / options / properties / method / description
      Previous value: -"Parallelism method. Ntile: even distribution on numeric key. DataDriven: distinct value partitions, works with any data type. Physloc: SQL Server physical location (no key needed). Ctid: PostgreSQL physical tuple ID (no key needed). Rowid: Oracle physical ROWID (no key needed). RangeId: numeric min/max range. Random: modulo-based approximate distribution. Timepartition: partition by time column (FastBCP 0.30+). NZDataSlice: Netezza native slicing. None: single-threaded. Call `fastbcp_info` with action='parallelism' if unsure."New value: +"Parallelism method. Ntile: even distribution on numeric key. DataDriven: distinct value partitions, works with any data type. Physloc: SQL Server physical location (no key needed). Ctid: PostgreSQL physical tuple ID (no key needed). Rowid: Oracle physical ROWID (no key needed). RangeId: numeric min/max range. Random: modulo-based approximate distribution. Timepartition: partition by time column (FastBCP 0.30+). NZDataSlice: Netezza native slicing. DBPartition: one chunk per native table partition, for SQL Server, PostgreSQL, Oracle, MySQL and Teradata; needs schema and table, no key (FastBCP 1.3+). None: single-threaded. Call `fastbcp_info` with action='parallelism' if unsure."
    • changedInput schema / properties / options / properties / method / enum
      Previous value: -[
      -  "Ctid",
      -  "DataDriven",
      -  "Ntile",
      -  "NZDataSlice",
      -  "None",
      -  "Physloc",
      -  "Random",
      -  "RangeId",
      -  "Rowid",
      -  "Timepartition"
      -]New value: +[
      +  "Ctid",
      +  "DataDriven",
      +  "Ntile",
      +  "NZDataSlice",
      +  "None",
      +  "Physloc",
      +  "Random",
      +  "RangeId",
      +  "Rowid",
      +  "Timepartition",
      +  "DBPartition"
      +]
    • changedInput schema / properties / source / properties / type / description
      Previous value: -"Source database connection type (e.g., 'pgsql' for PostgreSQL, 'mssql' for SQL Server, 'oraodp' for Oracle, 'mysql' for MySQL). ADBC types 'adbc_mssql' (1.0+), 'adbc_pgsql' (1.1+) and 'adbc_oracle' (1.2+) read the same databases through the Arpe ADBC drivers and write parquet output only."New value: +"Source database connection type (e.g., 'pgsql' for PostgreSQL, 'mssql' for SQL Server, 'oraodp' for Oracle, 'mysql' for MySQL). ADBC types 'adbc_mssql' (1.0+), 'adbc_pgsql' (1.1+), 'adbc_oracle' (1.2+) and 'adbc_netezza' (1.3+) read the same databases through the Arpe ADBC drivers and write parquet output only."
    • changedInput schema / properties / source / properties / type / enum
      Previous value: -[
      -  "clickhouse",
      -  "hana",
      -  "mssql",
      -  "msoledbsql",
      -  "mysql",
      -  "nzcopy",
      -  "nzoledb",
      -  "nzsql",
      -  "odbc",
      -  "oledb",
      -  "oraodp",
      -  "pgcopy",
      -  "pgsql",
      -  "teradata",
      -  "adbc_mssql",
      -  "adbc_pgsql",
      -  "adbc_oracle"
      -]New value: +[
      +  "clickhouse",
      +  "hana",
      +  "mssql",
      +  "msoledbsql",
      +  "mysql",
      +  "nzcopy",
      +  "nzoledb",
      +  "nzsql",
      +  "odbc",
      +  "oledb",
      +  "oraodp",
      +  "pgcopy",
      +  "pgsql",
      +  "teradata",
      +  "adbc_mssql",
      +  "adbc_pgsql",
      +  "adbc_oracle",
      +  "adbc_netezza"
      +]
  3. Changed5 schema fields changedv0.3.5
    • changedInput schema / properties / options / properties / log_level / enum
      Previous value: -[
      -  "Information",
      -  "Debug"
      -]New value: +[
      +  "Information",
      +  "Debug",
      +  "Verbose"
      +]
    • changedInput schema / properties / output / properties / bool_format / enum
      Previous value: -[
      -  "TrueFalse",
      -  "OneZero",
      -  "YesNo"
      -]New value: +[
      +  "automatic",
      +  "true/false",
      +  "1/0",
      +  "t/f"
      +]
    • changedInput schema / properties / output / properties / parquet_compression / enum
      Previous value: -[
      -  "None",
      -  "Snappy",
      -  "Gzip",
      -  "Lz4",
      -  "Lzo",
      -  "Zstd"
      -]New value: +[
      +  "None",
      +  "Snappy",
      +  "Brotli",
      +  "Gzip",
      +  "Lz4",
      +  "Lz4Raw",
      +  "Zstd"
      +]
    • changedInput schema / properties / source / properties / type / description
      Previous value: -"Source database connection type (e.g., 'pgsql' for PostgreSQL, 'mssql' for SQL Server, 'oraodp' for Oracle, 'mysql' for MySQL)"New value: +"Source database connection type (e.g., 'pgsql' for PostgreSQL, 'mssql' for SQL Server, 'oraodp' for Oracle, 'mysql' for MySQL). ADBC types 'adbc_mssql' (1.0+), 'adbc_pgsql' (1.1+) and 'adbc_oracle' (1.2+) read the same databases through the Arpe ADBC drivers and write parquet output only."
    • changedInput schema / properties / source / properties / type / enum
      Previous value: -[
      -  "clickhouse",
      -  "hana",
      -  "mssql",
      -  "msoledbsql",
      -  "mysql",
      -  "nzcopy",
      -  "nzoledb",
      -  "nzsql",
      -  "odbc",
      -  "oledb",
      -  "oraodp",
      -  "pgcopy",
      -  "pgsql",
      -  "teradata"
      -]New value: +[
      +  "clickhouse",
      +  "hana",
      +  "mssql",
      +  "msoledbsql",
      +  "mysql",
      +  "nzcopy",
      +  "nzoledb",
      +  "nzsql",
      +  "odbc",
      +  "oledb",
      +  "oraodp",
      +  "pgcopy",
      +  "pgsql",
      +  "teradata",
      +  "adbc_mssql",
      +  "adbc_pgsql",
      +  "adbc_oracle"
      +]
  4. Changed6 schema fields changedv0.3.2
    • removedInput schema / properties / options / properties / batch_size
      Removed value: -{
      -  "description": "Batch size for export operations",
      -  "type": "integer"
      -}
    • removedInput schema / properties / options / properties / load_mode
      Removed value: -{
      -  "default": "Append",
      -  "description": "How to handle existing output. Append: add to existing files. Truncate: overwrite existing output before writing.",
      -  "enum": [
      -    "Append",
      -    "Truncate"
      -  ],
      -  "type": "string"
      -}
    • removedInput schema / properties / options / properties / map_method
      Removed value: -{
      -  "default": "Position",
      -  "description": "Column mapping method",
      -  "enum": [
      -    "Position",
      -    "Name"
      -  ],
      -  "type": "string"
      -}
    • changedInput schema / properties / options / properties / method / description
      Previous value: -"Parallelism method. Ntile: even distribution on numeric key. DataDriven: distinct value partitions, works with any data type. Physloc: SQL Server physical location (no key needed). Ctid: PostgreSQL physical tuple ID (no key needed). Rowid: Oracle physical ROWID (no key needed). RangeId: numeric min/max range. Random: modulo-based approximate distribution. Timepartition: partition by time column (FastBCP 0.30+). NZDataSlice: Netezza native slicing. None: single-threaded. Call `fastbcp_suggest_parallelism` if unsure."New value: +"Parallelism method. Ntile: even distribution on numeric key. DataDriven: distinct value partitions, works with any data type. Physloc: SQL Server physical location (no key needed). Ctid: PostgreSQL physical tuple ID (no key needed). Rowid: Oracle physical ROWID (no key needed). RangeId: numeric min/max range. Random: modulo-based approximate distribution. Timepartition: partition by time column (FastBCP 0.30+). NZDataSlice: Netezza native slicing. None: single-threaded. Call `fastbcp_info` with action='parallelism' if unsure."
    • removedInput schema / properties / output / properties / storage_target
      Removed value: -{
      -  "default": "local",
      -  "description": "Where to write output files. local: local filesystem. s3/s3compatible: Amazon S3 or compatible. azure_blob/azure_datalake: Azure storage. fabric_onelake: Microsoft Fabric. gcs: Google Cloud Storage. Cloud targets require a cloud_profile.",
      -  "enum": [
      -    "local",
      -    "s3",
      -    "s3compatible",
      -    "azure_blob",
      -    "azure_datalake",
      -    "fabric_onelake",
      -    "gcs"
      -  ],
      -  "type": "string"
      -}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "auto_parallelism": {
      +      "description": "Parallelism method auto-suggested when none was given.",
      +      "type": "string"
      +    },
      +    "command": {
      +      "description": "Full CLI argv with real credentials, ready to hand to the execute tool.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "command_display": {
      +      "description": "The command with passwords masked, safe to show the user.",
      +      "type": "string"
      +    },
      +    "command_string": {
      +      "description": "The argv joined into one command string (real credentials).",
      +      "type": "string"
      +    },
      +    "errors": {
      +      "description": "Field-level validation errors (status='error').",
      +      "items": {
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "explanation": {
      +      "description": "Human-readable summary of what the command does.",
      +      "type": "string"
      +    },
      +    "preview_only": {
      +      "description": "True when no binary is configured (execution unavailable).",
      +      "type": "boolean"
      +    },
      +    "status": {
      +      "description": "'ok' when the call succeeded; 'error' when the parameters failed validation or execution failed.",
      +      "enum": [
      +        "ok",
      +        "error"
      +      ],
      +      "type": "string"
      +    },
      +    "tips": {
      +      "description": "Suggested next tool calls to resolve errors.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "warnings": {
      +      "description": "Version-compatibility warnings.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "status"
      +  ],
      +  "type": "object"
      +}
  5. First observedv0.3.1

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Goes beyond the readOnly/idempotent annotations by disclosing that passwords are masked in output and that one parallelism method is auto-suggested when unspecified. It stops short of saying whether inputs are validated or what happens on an invalid combination, but the annotation set already carries the safety profile.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, front-loaded with the core action and non-execution guarantee, then the masking behavior, the auto-suggestion, and the handoff. No filler and no repetition of the name.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With annotations and an output schema present, the description covers the essentials: non-execution, secret masking, default suggestion behavior, and next step. Given the large nested input schema, a bit more guidance on the lesser-documented option fields would round it out.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 40%, so the description should compensate for the many thinly documented nested fields (os_type, config_file, cloud_profile, run_id, license_path). It only adds meaning for one parameter group, the auto-suggested options.method, while the rest relies on the schema's own text.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Build and preview a FastBCP export command') with an explicit negation ('WITHOUT executing it') that separates it from the sibling fastbcp_execute_export. An agent can pick this tool over its execute counterpart without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly names the when-not ('Does NOT test connectivity or execute the export') and the downstream alternative ('After reviewing, pass the command to fastbcp_execute_export'). The two-step preview→execute workflow is fully spelled out.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.