Skip to main content
Glama

dbt-mcp

Official
by dbt-labs
get_model_details.md949 B
<instructions> Retrieves information about a specific dbt model, including compiled SQL, description, database, schema, alias, and column details. IMPORTANT: Use uniqueId when available. - Using uniqueId guarantees the correct model is retrieved - Using only model_name may return incorrect results or fail entirely - If you obtained models via get_all_models(), you should always use the uniqueId from those results </instructions> <parameters> uniqueId: The unique identifier of the model (format: "model.project_name.model_name"). STRONGLY RECOMMENDED when available. model_name: The name of the dbt model. Only use this when uniqueId is unavailable. </parameters> <examples> 1. PREFERRED METHOD - Using uniqueId (always use this when available): get_model_details(uniqueId="model.my_project.customer_orders") 2. FALLBACK METHOD - Using only model_name (only when uniqueId is unknown): get_model_details(model_name="customer_orders")

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