Skip to main content
Glama

List BigQuery datasets

bq_dataset_list
Read-only

Lists datasets in a Google Cloud project with their regions, paging through results so you can identify which dataset holds the BigQuery tables you need.

Instructions

Lists every dataset in a Google Cloud project with its location (region), following all result pages. Use it to find which dataset holds the tables you want before bq_table_list. Hidden datasets (names starting with _) are not listed; without project_id the configured billing project, then the credentials' project, is used.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "bq_dataset_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idNoGoogle Cloud project id, e.g. "my-project". Defaults to billing_project in the config, then the project of the Application Default Credentials.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.1/5.0
Behavior4/5

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

Goes well beyond the readOnlyHint annotation by disclosing pagination ('following all result pages') and a filtering rule ('hidden datasets, names starting with _, are not listed'), plus the project resolution fallback chain. It stops short of permissions or error behavior, which keeps it from a 5.

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

Conciseness4/5

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

Three sentences, front-loaded with the action and return fields, then workflow routing, then behavioral caveats. Slight redundancy with the schema's project_id default text is the only wasted space.

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?

For a single optional-parameter, read-only list tool with no output schema, the description covers what is returned (name plus region), pagination, filtering, and default project resolution. Only result ordering or error conditions are left unaddressed.

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 description coverage is 100% and the schema already documents that project_id defaults to billing_project then the ADC project. The description restates the same default chain rather than adding format or edge-case meaning, so the baseline 3 applies.

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 ('Lists every dataset in a Google Cloud project') and scopes the returned fields ('with its location (region)'). It is clearly distinguishable from siblings such as bq_table_list or bq_query_run without opening any schema.

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

Usage Guidelines4/5

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

Gives a concrete workflow trigger: use it to find which dataset holds the tables you want before bq_table_list. It does not state explicit exclusions, but the sequencing guidance against the most likely alternative is clear.

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