Skip to main content
Glama

dbt-mcp

Official
by dbt-labs
get_model_children.md1.08 kB
<instructions> Retrieves the child models (downstream dependencies) of a specific dbt model. These are the models that depend on the specified model. You can provide either a model_name or a uniqueId, if known, to identify the model. Using uniqueId is more precise and guarantees a unique match, which is especially useful when models might have the same name in different projects. </instructions> <parameters> model_name: The name of the dbt model to retrieve children for. uniqueId: The unique identifier of the model. If provided, this will be used instead of model_name for a more precise lookup. You can get the uniqueId values for all models from the get_all_models() tool. </parameters> <examples> 1. Getting children for a model by name: get_model_children(model_name="customer_orders") 2. Getting children for a model by uniqueId (more precise): get_model_children(model_name="customer_orders", uniqueId="model.my_project.customer_orders") 3. Getting children using only uniqueId: get_model_children(uniqueId="model.my_project.customer_orders") </examples>

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/dbt-labs/dbt-mcp'

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