Skip to main content
Server path: /google-bigquery | Type: Application | PCID required: Yes SQL queries, datasets, and tables

Tools

ToolDescription
google-bigquery_list_all_accessible_projectsList all accessible Google Cloud projects with BigQuery enabled. Returns project IDs and names.
google-bigquery_execute_sql_queryExecute a SQL query on BigQuery and return results. Supports Standard SQL (recommended) and Legacy SQL. Can execute SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, and other SQL statements.
google-bigquery_list_datasets_in_projectList all datasets in a project. Returns dataset IDs, locations, and creation times.
google-bigquery_get_dataset_metadataGet detailed metadata about a dataset: location, creation time, description, and labels.
google-bigquery_create_new_datasetCreate a new dataset in BigQuery. Location cannot be changed after creation and must match query location.
google-bigquery_delete_dataset_permanentlyPermanently delete a dataset. WARNING: Irreversible. Fails if dataset contains tables unless deleteContents=true.
google-bigquery_list_tables_in_datasetList all tables and views in a dataset. Returns table IDs, types, creation times, and row counts.
google-bigquery_get_table_schema_and_metadataGet table information: schema (columns, types, modes), row count, size, creation time, and last modified time.
google-bigquery_create_table_with_schemaCreate a new empty table with defined schema. Define columns with types (STRING, INTEGER, FLOAT, BOOLEAN, TIMESTAMP, DATE, etc) and modes (NULLABLE, REQUIRED, REPEATED).
google-bigquery_delete_table_permanentlyPermanently delete a table. WARNING: Irreversible. All data will be lost. No recovery option.
google-bigquery_insert_rows_into_tableInsert rows into a table. Each row object must match table schema column names and types. Data immediately available for querying.
google-bigquery_query_table_data_simpleFetch rows from a table (SELECT * LIMIT n). For complex queries with WHERE, JOIN, GROUP BY, use execute_sql_query instead.
google-bigquery_get_query_job_statusGet job information: status (PENDING, RUNNING, DONE), statistics (bytes processed, rows), and errors if failed.
google-bigquery_list_recent_query_jobsList recent jobs in a project. Returns job IDs, status, configuration, and timing. Useful for monitoring and debugging.

google-bigquery_list_all_accessible_projects

List all accessible Google Cloud projects with BigQuery enabled. Returns project IDs and names.

google-bigquery_execute_sql_query

Execute a SQL query on BigQuery and return results. Supports Standard SQL (recommended) and Legacy SQL. Can execute SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, and other SQL statements. Parameters:
ParameterTypeRequiredDefaultDescription
projectIdstringYesProject ID where query will run. Use list_all_accessible_projects to find available projects.
querystringYesSQL query to execute. Standard SQL example: SELECT * FROM project.dataset.table LIMIT 10
useLegacySqlbooleanNofalseUse Legacy SQL syntax. Default: false (Standard SQL recommended).
maxResultsnumberNoMaximum rows to return. Must be a positive number. Limits large result sets.
locationstringNo"US"Geographic location for query (US, EU, asia-northeast1, etc). Must match dataset location. Default: US

google-bigquery_list_datasets_in_project

List all datasets in a project. Returns dataset IDs, locations, and creation times. Parameters:
ParameterTypeRequiredDefaultDescription
projectIdstringYesProject ID to list datasets from

google-bigquery_get_dataset_metadata

Get detailed metadata about a dataset: location, creation time, description, and labels. Parameters:
ParameterTypeRequiredDefaultDescription
projectIdstringYesProject ID containing the dataset
datasetIdstringYesDataset ID to get information about

google-bigquery_create_new_dataset

Create a new dataset in BigQuery. Location cannot be changed after creation and must match query location. Parameters:
ParameterTypeRequiredDefaultDescription
projectIdstringYesProject ID where dataset will be created
datasetIdstringYesDataset name. Must start with letter or underscore, then letters, numbers, and underscores. Max 1024 chars.
locationstringNo"US"Geographic location (US, EU, asia-northeast1, etc). Cannot be changed later. Default: US
descriptionstringNoOptional dataset description

google-bigquery_delete_dataset_permanently

Permanently delete a dataset. WARNING: Irreversible. Fails if dataset contains tables unless deleteContents=true. Parameters:
ParameterTypeRequiredDefaultDescription
projectIdstringYesProject ID containing the dataset
datasetIdstringYesDataset ID to delete
deleteContentsbooleanNofalseDelete all tables in dataset. Default: false (fails if tables exist). Use with caution.

google-bigquery_list_tables_in_dataset

List all tables and views in a dataset. Returns table IDs, types, creation times, and row counts. Parameters:
ParameterTypeRequiredDefaultDescription
projectIdstringYesProject ID containing the dataset
datasetIdstringYesDataset ID to list tables from

google-bigquery_get_table_schema_and_metadata

Get table information: schema (columns, types, modes), row count, size, creation time, and last modified time. Parameters:
ParameterTypeRequiredDefaultDescription
projectIdstringYesProject ID containing the table
datasetIdstringYesDataset ID containing the table
tableIdstringYesTable ID to get information about

google-bigquery_create_table_with_schema

Create a new empty table with defined schema. Define columns with types (STRING, INTEGER, FLOAT, BOOLEAN, TIMESTAMP, DATE, etc) and modes (NULLABLE, REQUIRED, REPEATED). Parameters:
ParameterTypeRequiredDefaultDescription
projectIdstringYesProject ID where table will be created
datasetIdstringYesDataset ID where table will be created. Dataset must exist.
tableIdstringYesTable name. Must start with letter or underscore, then letters, numbers, and underscores. Max 1024 chars.
schemaobject[]YesArray of column definitions. At least one column required.
descriptionstringNoOptional table description

google-bigquery_delete_table_permanently

Permanently delete a table. WARNING: Irreversible. All data will be lost. No recovery option. Parameters:
ParameterTypeRequiredDefaultDescription
projectIdstringYesProject ID containing the table
datasetIdstringYesDataset ID containing the table
tableIdstringYesTable ID to delete

google-bigquery_insert_rows_into_table

Insert rows into a table. Each row object must match table schema column names and types. Data immediately available for querying. Parameters:
ParameterTypeRequiredDefaultDescription
projectIdstringYesProject ID containing the table
datasetIdstringYesDataset ID containing the table
tableIdstringYesTable ID to insert into. Table must exist with matching schema.
rowsobject[]YesArray of row objects. Keys must match column names. Example: [{name: “John”, age: 30}]

google-bigquery_query_table_data_simple

Fetch rows from a table (SELECT * LIMIT n). For complex queries with WHERE, JOIN, GROUP BY, use execute_sql_query instead. Parameters:
ParameterTypeRequiredDefaultDescription
projectIdstringYesProject ID containing the table
datasetIdstringYesDataset ID containing the table
tableIdstringYesTable ID to query
maxResultsnumberNo100Maximum rows to return. Must be a positive number. Default: 100

google-bigquery_get_query_job_status

Get job information: status (PENDING, RUNNING, DONE), statistics (bytes processed, rows), and errors if failed. Parameters:
ParameterTypeRequiredDefaultDescription
projectIdstringYesProject ID where job was executed
jobIdstringYesJob ID returned from execute_sql_query

google-bigquery_list_recent_query_jobs

List recent jobs in a project. Returns job IDs, status, configuration, and timing. Useful for monitoring and debugging. Parameters:
ParameterTypeRequiredDefaultDescription
projectIdstringYesProject ID to list jobs from
maxResultsnumberNo100Maximum jobs to return. Must be a positive number. Default: 100
allUsersbooleanNofalseShow jobs from all users. Default: false (only your jobs). Requires permissions.