OpenMetadata MCP Tools Reference
Overview
This document provides detailed examples and usage patterns for all available OpenMetadata MCP tools. Each tool includes sample requests, responses, and common use cases.
Available Tools
1. search_metadata
Description: Find data assets and business terms in your OpenMetadata catalog.
Use Cases:
- Discover tables containing specific data
- Find dashboards related to business areas
- Search for glossary terms
- Locate pipelines by name or description
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
query | string | Yes | Keywords to search for |
entity_type | string | No | Filter by entity type (table, topic, dashboard, etc.) |
limit | integer | No | Max results to return (default: 10) |
fields | string | No | Comma-separated additional fields to include |
Entity Types
- Service Entities: databaseService, messagingService, apiService, dashboardService, pipelineService, storageService, mlmodelService, metadataService, searchService
- Data Asset Entities: apiCollection, apiEndpoint, table, storedProcedure, database, databaseSchema, dashboard, dashboardDataModel, pipeline, chart, topic, searchIndex, mlmodel, container
- User Entities: user, team
- Domain Entities: domain, dataProduct
- Governance Entities: metric, glossary, glossaryTerm
Examples
Basic Search:
Search for Specific Entity Type:
Search with Additional Fields:
Sample Response:
2. get_entity_details
Description: Retrieve detailed information about a specific entity using its fully qualified name.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
entity_type | string | Yes | Type of entity (table, topic, dashboard, etc.) |
fqn | string | Yes | Fully qualified name of the entity |
Examples
Get Table Details:
Get Dashboard Details:
Sample Response:
3. create_glossary
Description: Create a new glossary to organize business terms and definitions.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
name | string | Yes | Name of the glossary |
description | string | Yes | Description of the glossary |
owners | array | No | List of owners (users or teams) |
reviewers | array | No | List of reviewers (users or teams) |
mutuallyExclusive | boolean | Yes | Whether terms are mutually exclusive |
Examples
Create Business Glossary:
Create Technical Glossary:
Sample Response:
4. create_glossary_term
Description: Create a new term within an existing glossary, with support for hierarchical relationships.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
glossary | string | Yes | FQN of the parent glossary |
name | string | Yes | Name of the term |
description | string | Yes | Definition of the term |
parentTerm | string | No | FQN of parent term for hierarchy |
owners | array | No | List of owners (users or teams) |
Examples
Create Root Level Term:
Create Child Term:
Sample Response:
5. get_entity_lineage
Description: Retrieve upstream and downstream lineage information for any entity to understand data dependencies and impact analysis.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
entity_type | string | Yes | Type of entity |
fqn | string | Yes | Fully qualified name of the entity |
upstream_depth | integer | Yes | Depth for upstream entities (default: 5) |
downstream_depth | integer | Yes | Depth for ... |