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
<instructions>
Retrieves the parent models of a specific dbt model. These are the models that the specified model depends on.
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 parents 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 parents for a model by name:
get_model_parents(model_name="customer_orders")
2. Getting parents for a model by uniqueId (more precise):
get_model_parents(model_name="customer_orders", uniqueId="model.my_project.customer_orders")
3. Getting parents using only uniqueId:
get_model_parents(uniqueId="model.my_project.customer_orders")
</examples>