Skip to main content
Glama

List BigQuery tables

bq_table_list
Read-only

Lists all tables and views in a BigQuery dataset with their type, paging through every result, so you can choose one to describe, query, or use as a Looker Studio data source.

Instructions

Lists the tables and views of a dataset with their kind (table, view, materialized view, external, snapshot), reading every page. Use it to pick a table for bq_table_describe, a query, or a Looker Studio data source. The dataset id takes letters, digits and underscores only.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "dataset_id": "<dataset_id>"
    },
    "name": "bq_table_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataset_idYesDataset id (letters, digits and underscores), e.g. "analytics_123456".
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.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the description doesn't need to restate safety. It does add a genuinely useful behavioral fact beyond the annotations: it reads every page, meaning the agent does not need to paginate manually, and it discloses the kind values present in results.

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?

Three short sentences with no waste: scope first, then the downstream use, then the id constraint. Every sentence earns its place and the most important information is front-loaded.

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 simple two-parameter read tool with full schema coverage and a readOnly annotation, the description covers scope, return contents, and pagination behavior. The only minor gap is that project_id resolution is left entirely to the schema, but nothing critical to calling it correctly is missing.

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%, so both dataset_id and project_id are already documented, including the letters/digits/underscores constraint that the description repeats. The description adds no format, defaulting, or edge-case information beyond the schema, 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?

The description opens with a specific verb and resource ("Lists the tables and views of a dataset") and enumerates the kinds returned (table, view, materialized view, external, snapshot), so an agent knows exactly what comes back. It also implicitly separates itself from bq_table_describe by naming that tool as the consumer of this output.

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?

"Use it to pick a table for bq_table_describe, a query, or a Looker Studio data source" gives concrete downstream contexts for choosing this tool. There is no explicit when-not or a named listing alternative (e.g. bq_dataset_list), so it stops short of full routing guidance.

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