Skip to main content
Glama

MCP Toolbox for Databases

by googleapis
Apache 2.0
11,043
  • Linux
bigquery-search-catalog.md3 kB
--- title: "bigquery-search-catalog" type: docs weight: 1 description: > A "bigquery-search-catalog" tool allows to search for entries based on the provided query. --- ## About A `bigquery-search-catalog` tool returns all entries in Dataplex Catalog (e.g. tables, views, models) with system=bigquery that matches given user query. It's compatible with the following sources: - [bigquery](../../sources/bigquery.md) `bigquery-search-catalog` takes a required `query` parameter based on which entries are filtered and returned to the user. It also optionally accepts following parameters: - `datasetIds` - The IDs of the bigquery dataset. - `projectIds` - The IDs of the bigquery project. - `types` - The type of the data. Accepted values are: CONNECTION, POLICY, DATASET, MODEL, ROUTINE, TABLE, VIEW. - `pageSize` - Number of results in the search page. Defaults to `5`. ## Requirements ### IAM Permissions Bigquery uses [Identity and Access Management (IAM)][iam-overview] to control user and group access to Dataplex resources. Toolbox will use your [Application Default Credentials (ADC)][adc] to authorize and authenticate when interacting with [Dataplex][dataplex-docs]. In addition to [setting the ADC for your server][set-adc], you need to ensure the IAM identity has been given the correct IAM permissions for the tasks you intend to perform. See [Dataplex Universal Catalog IAM permissions][iam-permissions] and [Dataplex Universal Catalog IAM roles][iam-roles] for more information on applying IAM permissions and roles to an identity. [iam-overview]: https://cloud.google.com/dataplex/docs/iam-and-access-control [adc]: https://cloud.google.com/docs/authentication#adc [set-adc]: https://cloud.google.com/docs/authentication/provide-credentials-adc [iam-permissions]: https://cloud.google.com/dataplex/docs/iam-permissions [iam-roles]: https://cloud.google.com/dataplex/docs/iam-roles ## Example ```yaml tools: search_catalog: kind: bigquery-search-catalog source: bigquery-source description: Use this tool to find tables, views, models, routines or connections. ``` ## Reference | **field** | **type** | **required** | **description** | |-------------|:------------------------------------------:|:------------:|--------------------------------------------------------------------------------------------------| | kind | string | true | Must be "bigquery-search-catalog". | | source | string | true | Name of the source the tool should execute on. | | description | string | true | Description of the tool that is passed to the LLM. |

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/googleapis/genai-toolbox'

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