MCP ScannerCustom audit
All servers

IBM/data-intelligence-mcp-server

data-intelligence-mcp-server is a centralized Model Context Protocol (MCP) server that provides a unified gateway for exposing and managing MCP tools across microservices in the Watsonx Data Intelligence ecosystem

Packageibm-watsonx-data-intelligence-mcp-server
Version1.7.0 in pyproject.toml
PublisherIBM Official
MCP Registrynot listed
Scanned2026-11-25
Scannerv1.3.0
Methodologyv1.2
Stars 20Forks 10Last push 2026-11-14
Python 100.0%by source files the scanner reads
Code safetypartly tracedExposure6.1Prompts10.0Supply chain7.0Secrets10.0Transparency10.0
Analysis confidence88%
How much of the server the scanner could read: tools analyzed, files parsed, limits hit.
Code Safetypartly traced—

Paths from tool input into commands, SQL, files and URLs

Capability Exposure6.1/10Fair

How much power the tools give an agent over the machine

Prompt Integritynothing published yet10.0/10

Hidden instructions and poisoning in text for the model

Supply Chain7.0/10Fair

Known vulnerabilities in the packages the server uses

Secrets & Credentialsnothing published yet10.0/10

How the server reads credentials and where they can go

Behavior Transparencynothing published yet10.0/10

Whether the tools do only what their descriptions say

How far the analysis went

The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.

  • Some paths pass through more than 8 functions one inside another; the scanner stops there
  • In 1,169 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
  • 2 of 103 tools, prompts and resources could not be followed through the code

Top risks in plain words

  • MEDIUM1 production dependency has known vulnerabilities (worst: medium).

How to use it safely

Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.

  • Give it a narrowly scoped token

    Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.

  • Update its vulnerable packages

    Use opentelemetry-api 1.45.2 or later.

  • Keep confirmations on

    Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.

What its tools can do on your machine

The server offers 97 tools, 6 prompts. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.

Read or write filesopen, create, change or delete files
Data Intelligence Tool Usage Guide, create_or_update_url_data_product, list_data_product_delivery_methods
3 of 103
Connect to the internet or other hostssend requests or open connections
add_asset_to_project, add_delivery_methods_to_data_product, add_or_edit_collaborator, attach_business_domain_to_data_product, attach_contract_template_to_data_product, attach_url_contract_to_data_product and 81 more
87 of 103
Read passwords, tokens or keysload secrets such as API keys
add_asset_to_project, add_delivery_methods_to_data_product, add_or_edit_collaborator, attach_business_domain_to_data_product, attach_contract_template_to_data_product, attach_url_contract_to_data_product and 81 more
87 of 103
Touch sensitive locationssuch as ~/.ssh, cloud credentials or browser data
add_asset_to_project, add_delivery_methods_to_data_product, add_or_edit_collaborator, attach_business_domain_to_data_product, attach_contract_template_to_data_product, attach_url_contract_to_data_product and 81 more
87 of 103

No tool was seen to: start other programs on the machine; read environment variables.

Where its requests and secrets go

Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.

Hosts written in the code

The literal addresses the tools' requests name.

  • None: no request names a fixed host.
Addresses from settings

Constants or settings that start an address; the value comes from configuration.

  • None seen.
Secrets it reads

Credential-like environment variables. Give the server a key with the least access it needs.

  • None: no credential-like variable is read by the tools.

Text it brings in from outside

Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.

  • files1 tool · Data Intelligence Tool Usage Guide
Reads private data30 tools
Takes text from outside0 tools
Can send data out0 tools

Not all three are present in the tools the scanner traced.

Tool annotations

95 of 103 tools declare annotations. readOnlyHint 53, destructiveHint 40.

Each declaration matches what the traced code does.

Tools, prompts and resources (103: 97 tools, 6 prompts)

Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.

Data Intelligence Tool Usage Guideprompt System-level instructions for using all Data Intelligence MCP tools correctly. This prompt provides workflow rules, tool interaction patterns, and best practiceFilesoutside text
System-level instructions for using all Data Intelligence MCP tools correctly. This prompt provides workflow rules, tool interaction patterns, and best practices for orchestrating multiple tools to accomplish tasks.
Data Protection Rule Creation Guideprompt Guide users through creating data protection rules to enforce data governance policies with configurable actions (deny/redact/filter row/anonymize/pseudonymize)
Guide users through creating data protection rules to enforce data governance policies with configurable actions (deny/redact/filter row/anonymize/pseudonymize)
Generate Glossary Artifact Descriptionprompt Generate clear, concise descriptions for glossary artifacts based on metadata
Generate clear, concise descriptions for glossary artifacts based on metadata
Lineage Impact Analysisprompt Perform impact analysis using data lineage to understand downstream and upstream dependencies
Perform impact analysis using data lineage to understand downstream and upstream dependencies
Search Assets promptprompt Get guidance on how to search for data assets effectively
Get guidance on how to search for data assets effectively
prompt.funcprompt
No description.
add_asset_to_projecttool Add a catalog asset to a project by creating a reference. This enables downstream work like SQL asset creation on the catalog asset within the project context. NetworkCredentialsSensitive pathsdestructive (declared)
Add a catalog asset to a project by creating a reference. This enables downstream work like SQL asset creation on the catalog asset within the project context. The tool validates that the caller has admin or editor access to the target project. The asset must exist in a catalog. You can provide either the asset ID (UUID) or asset name. When providing an asset name, you must also specify the catalog_id_or_name parameter.

Use this tool when you want to:
- Add an existing catalog asset into a project for downstream work
- Make a catalog asset available in a project context without duplicating the source asset
- Prepare a catalog asset for project-based operations such as SQL asset creation

**SQL View Workflow (primary use case)**
To create a SQL view on top of a catalog table, run these tools in order:
1. Call add_asset_to_project to bring the source table into your project.
2. Call create_asset_from_sql_query, pointing at the same project and the connection that backs the table, with your SELECT statement.

Example of adding an asset and then creating a SQL view:
  add_asset_to_project:
    asset_id_or_name: "sales_orders"
    project_id_or_name: "Analytics Project"
    catalog_id_or_name: "Enterprise Catalog"

  create_asset_from_sql_query:
    sql_query: "SELECT order_id, customer_id, total FROM sales_orders WHERE status = 'shipped'"
    container_id_or_name: "Analytics Project"
    container_type: "project"
    connection_id_or_name: "<connection that backs the table>"
    asset_name: "shipped_orders_view"

Returns:
    AddAssetToProjectResponse: Details of the added asset reference including the asset ID, asset name, target project ID and name, source catalog ID and name, project asset URL, and a success message.

Example request (by name):
    asset_id_or_name: "customer_data"
    project_id_or_name: "Analytics Project"
    catalog_id_or_name: "Enterprise Catalog"

Example request (by ID):
    asset_id_or_name: "550e8400-e29b-41d4-a716-446655440000"
    project_id_or_name: "550e8400-e29b-41d4-a716-446655440001"

Example response:
    asset_id: "550e8400-e29b-41d4-a716-446655440000"
    asset_name: "customer_data"
    project_id: "550e8400-e29b-41d4-a716-446655440001"
    project_name: "Analytics Project"
    catalog_id: "550e8400-e29b-41d4-a716-446655440002"
    catalog_name: "Enterprise Catalog"
    asset_url: "https://<host>/projects/<project_id>/assets/<asset_id>"
    message: "Asset 'customer_data' successfully added to project 'Analytics Project'"

Error cases:
    - Unauthorized: caller has viewer role → "Insufficient permissions. You need 'admin' or 'editor' role on project '<name>' to add assets."
    - Asset not found: asset ID/name does not exist in any accessible catalog → "Asset with ID '<id>' not found in the specified catalog."
    - Project not found: project ID/name does not exist → "Project with ID '<id>' not found or you don't have access to it."
    - Already added: asset with that name already exists in the project → "Asset with name '<name>' already exists in this project. No need to add it again."

Example use cases:
    - Add asset customer_data from Enterprise Catalog to Customer Analytics Project
    - Add asset 550e8400-e29b-41d4-a716-446655440000 to project My Analytics Project
    - Add sales_orders from mcpbvtcatalog to mcpbvtproject
add_delivery_methods_to_data_producttool Use this tool when you need to add delivery methods selected by user to a data product draft. DO NOT make up delivery methods, use the corresponding ID values fNetworkCredentialsSensitive pathsdestructive (declared)
Use this tool when you need to add delivery methods selected by user to a data product draft. DO NOT make up delivery methods, use the corresponding ID values for the delivery methods selected by the user.
    This is called after `list_data_product_delivery_methods()` to add the delivery methods selected by the user to the data product draft.
    Example: Adding two delivery methods to an asset in the draft.
        'Add flight and download delivery methods to customer asset in the data product draft'- This gets the data product draft ID from context, data asset name (in this case, customer), the delivery method IDs from context matching the delivery methods selected by the user from the previous tool call.
    Return: A success message indicating that the delivery methods were added to the data asset in the data product draft. If multiple assets with the same name exist, the message will indicate that delivery methods were added to all matching assets.
add_or_edit_collaboratortool Use this tool when you need to add or update one or more collaborators (users or groups) in a project or catalog with specified roles. Intelligently searches foNetworkCredentialsSensitive pathsdestructive (declared)
Use this tool when you need to add or update one or more collaborators (users or groups) in a project or catalog with specified roles. Intelligently searches for users or access groups using fuzzy matching on names and emails. For new members: Adds them to the container with the specified role. For existing members: Updates their role to the new specified role. Automatically detects whether members are new or existing and handles them appropriately. Supports role assignment (admin, editor, viewer) with 'viewer' as the default role. Supports mixed user and group types - specify type for each collaborator or omit to default to 'user' for all. Works with both projects and catalogs - specify container_type as 'project' or 'catalog' (defaults to 'project'). Return: The container ID and type, a list of successfully added/updated collaborator members with their roles, and a success message.
attach_business_domain_to_data_producttool Use this tool when you need to attach the given business domain to a data product draft.NetworkCredentialsSensitive pathsdestructive (declared)
Use this tool when you need to attach the given business domain to a data product draft.
    The business domain given should be a valid business domain in the system or else this returns the list of business domains available to choose from.
    Return: A success message confirming that the business domain has been attached to the data product draft, including the domain name and data product draft ID.
attach_contract_template_to_data_producttool Use this tool when you need to attach a predefined contract template to a data product draft, either with default values or customized terms.NetworkCredentialsSensitive pathsdestructive (declared)
Use this tool when you need to attach a predefined contract template to a data product draft, either with default values or customized terms.
    This tool attaches the selected contract template to data product draft.
    Call `list_data_product_contract_templates` tool before calling this tool, if you don't know the ID of the contract template.
    Also, it is a good idea to list all contract templates to user so the user can choose from the list.
    
    The tool works in two steps:
    1. First call: Do NOT provide contract_terms parameter (or set to None). This fetches and displays the contract template's default values to the user for review.
    2. Second call: Provide contract_terms parameter:
       - To use template defaults as-is: set contract_terms={} (empty dict)
       - To customize: set contract_terms with user's custom values following the exact schema structure from first call
    
    IMPORTANT: contract_terms must follow the exact nested structure shown in the first call's output.
    The first call displays the complete schema with all available fields.
    
    Example workflow:
         - Call `list_data_product_contract_templates` to get the list of contract templates.
         - Call this tool WITHOUT contract_terms parameter to see the default values and complete schema (first call)
         - User reviews the schema structure and decides:
           * To use defaults: call again with contract_terms={} (empty dict).
           * To customize: call again with contract_terms following the exact schema structure.
    
    Example customizations (must match schema structure):
         - Update description limitations: {"description": {"limitations": "unlimited"}}
         - Add SLA with properties: {"sla": [{"properties": [{"property": "property1", "value": "value1"}, {"property": "property2", "value": "value2"}]}]}
         - Add custom properties: {"custom_properties": [{"property": "refresh", "value": "daily"}, {"key": "relevancy", "value": "new"}]}
         - Update overview name: {"overview": {"name": "My Custom Contract"}}
         - Combine multiple: {"description": {"limitations": "unlimited"}, "custom_properties": [{"property": "refresh", "value": "daily"}]}
   
    The deep_merge preserves all template defaults while applying your customizations.
    Returns: The message indicating the success of the operation or displaying contract terms for review.
attach_url_contract_to_data_producttool Use this tool when you need to attach the given URL contract to a data product draft.NetworkCredentialsSensitive pathsdestructive (declared)
Use this tool when you need to attach the given URL contract to a data product draft.
    Return: A success message confirming that the URL contract has been attached to the data product draft, including the contract URL and data product draft ID.
bulk_publish_assetstool Publish multiple data assets in bulk from a metadata import operation.NetworkCredentialsSensitive pathsdestructive (declared)
Publish multiple data assets in bulk from a metadata import operation.
    
    This tool publishes assets that have been imported via a metadata import to a catalog.
    All parameters are required.
    
    ERROR HANDLING:
    - If project not found: Use 'list_containers' to find available projects
    - If connection not found: Use 'search_connection' to find available connections
    - If catalog not found: Use 'list_containers' to find available catalogs
    - If metadata import not found: Use 'search_metadata_import' to find existing imports
    - If asset not found: Verify asset names exist in the project
    
    Returns: Success message with count of published assets and all relevant IDs.
check_if_onboarding_job_is_completedtool Use this tool when you need to check if the onboarding job (running in a project) for enabling Text to SQL is completed.NetworkCredentialsSensitive pathsread-only (declared)
Use this tool when you need to check if the onboarding job (running in a project) for enabling Text to SQL is completed.
    Returns: The Text-to-SQL onboarding job is completed or still in progress, with a status message and optional job monitoring URL.
copy_connectiontool Use this tool when you need to create a new connection from an existing connection,NetworkCredentialsSensitive pathsdestructive (declared)
Use this tool when you need to create a new connection from an existing connection,
                    in other words, copying a connection, or using an existing connection in a different
                    container, and returning the details of the new connection.
                    Users are required to provide the identifier of the existing connection to be copied
                    and the identifier of the target container for the connection to be copied to. If the
                    users do not provide a source catalog, platform assets catalog is assumed as the
                    source catalog. If the users do not provide a target container type, project is assumed 
                    as the target container type.
                    Example: Create a new connection in AgentTest project from birddb connection in MCPTest.
                    In this case, connection_name is birddb, source_catalog is MCPTest, target_container is AgentTest, and target_container_type is project.
                    Example: Copy connection employee to WorkInfo.
                    In this case, connection_name is employee, target_container is WorkInfo, target_container_type is project, source_catalog is None.
                    Example: Create a connection from aws-jobs in workflows catalog.
                    In this case, connection_name is aws-jobs, target_container is workflows, target_container_type is catalog, source_catalog is None.
                    Example: Copy connection test-connection in Test catalog to AgentIssue project.
                    In this case, connection_name is test-connection, source_catalog is Test, target_container is AgentIssue, and target_container_type is project.
                    Example: I want to use the BirdDB connection in AgentTest project.
                    In this case, connection_name is BirdDB, target_container is AgentTest, target_container_type is project, source_catalog is None.

                    IMPORTANT CONSTRAINTS:
                    - connection_name must be provided
                    - target_container must be provided
                    - target_container_type if not provided defaults to "project"
                    - connection to be copied can only exist in a catalog
                    Return: * id: Unique identifier of the newly created connection * name: Name of the newly created connection * create_time: Timestamp when the connection was created or copied * creator_id: Identifier of the user who copied the connection.
create_asset_from_sql_querytool Use this tool when you need to create a new asset in the specified project and connection if provided based on the provided SQL query if creation of new asset wNetworkCredentialsSensitive pathsdestructive (declared)
Use this tool when you need to create a new asset in the specified project and connection if provided based on the provided SQL query if creation of new asset was made explicitly.
  Query API Reference: https://cloud.ibm.com/apidocs/data-ai-common-core
  Returns: The URL of the newly created data asset in the specified catalog or project.
create_attach_custom_data_product_contracttool Use this tool when you need to create a custom contract from scratch and attaches it to a data product draft.NetworkCredentialsSensitive pathsdestructive (declared)
Use this tool when you need to create a custom contract from scratch and attaches it to a data product draft.
    Unlike the template-based tool, this does not use any predefined template. Instead, it allows
    users to create a completely custom contract by providing their own values.
    
    The tool works in two steps:
    1. First call: Do NOT provide contract_terms parameter (or set to None). This displays the empty contract schema to show all available fields.
    2. Second call: Provide contract_terms parameter with user's custom values to create and attach the contract.
    
    IMPORTANT: contract_terms must follow the exact nested structure shown in the first call's output.
    The first call displays the complete schema with all available fields.
    
    Example workflow:
         - Call this tool WITHOUT contract_terms parameter to see the empty schema
         - User reviews the schema structure
         - Call this tool again WITH contract_terms={...} containing values (following the exact schema structure)
         - The contract is created and attached to the data product draft
    
    Note: Not all fields are mandatory. Users only need to provide values for the fields they want to include.
    Empty dict is not allowed - custom contracts must have at least some values.
    Returns: The message indicating the success of the operation or displaying the schema for review.
create_data_product_subscriptiontool Use this tool to subscribe to a data product on IBM Cloud Data Product Hub.NetworkCredentialsSensitive paths
Use this tool to subscribe to a data product on IBM Cloud Data Product Hub.

**PREREQUISITES — always call this first:**
`get_data_product_details` — get the data product version ID, the list of parts (parts_out[].asset.id),
and the delivery methods ENABLED for each part (parts_out[].delivery_methods, with id and name).
Only use a delivery method listed there for that part — each part can have a different set.
Do NOT use `list_data_product_delivery_methods` for subscriptions: it lists every method compatible with
the asset's connection (used when authoring a draft), not the ones enabled on the published product.

**Choosing the right state:**

Use state='submitted' (default) when all parts share the same delivery method type and you
have all required connection details — the subscription is finalized in one call.

Use state='draft' when:
- The data product has parts that use DIFFERENT delivery method types
  (e.g. Part 1 uses 'Use Flight service', Part 2 uses 'Watsonx.data-ingest')
- You want the user to review before finalizing

Draft flow for mixed delivery methods:
  1. create_data_product_subscription(state='draft')          → get subscription_id
  2. add_items_to_data_product_subscription(subscription_id, items=[...])  ← repeat per delivery method type
  3. submit_data_product_subscription(subscription_id)        → finalize

**Items — delivery_method_name discriminates required fields:**

Each item in `items` must have a `delivery_method_name` matching one of the SUPPORTED methods:
- 'Use Flight service'   → IBM Flight service data access; no consumer input needed; add query_values for parameterized query assets
- 'Open URL'             → URL asset parts (ibm_url_definition type); no consumer input needed
- 'Download'             → file download; no consumer input needed
- 'Download Data Extract'→ format only (ask the user: avro, csv, delimited, excel, json, parquet, orc, sav, xml).
    No target connection needed — the API writes to the catalog-level default output connection automatically.
- 'Watsonx.data-ingest'  → wxd_catalog/schema/table + target_connection_id + source_connection_id (pre-existing CAMS connections)
    Ask the user only for: storage connection NAME, watsonx.data connector (connection) NAME, catalog, schema, table.
    Then call `search_connection` for each name to get the connection ID and its container_id
    (use these for the *_connection_id, *_connection_container_id and *_connection_container_type fields). Never ask the user for IDs.
    Always search in the catalog that holds the data product: call `search_connection` with
    container=<parts_out[].asset.container.id from get_data_product_details>, container_type='catalog',
    connection_name=<name>. The name filter requires container + container_type, and the same name can
    exist in other catalogs — only use the connection from the data product's catalog.

**NOT SUPPORTED via this tool (require raw credentials — unsafe in chat):**
'WatsonxData-DirectAccess', 'Snowflake-DirectAccess', 'Azure-Databricks-DirectAccess',
'AWS-Databricks-DirectAccess', 'AWS-Glue-Catalog-DirectAccess'
→ Direct the user to subscribe via the IBM Data Product Hub UI for these delivery methods.

**IMPORTANT — response state mapping:**
After a state='submitted' request, the server returns state='received' — this is correct, not an error.
After a state='draft' request, the server returns state='draft'.

Returns: subscription_id (save this for add_items / submit / remove_item tools), state, and subscription metadata.
create_data_profilestool Use this tool when you need to create data profiles for datasets in a catalog. Data profiles analyze data structure, quality, and characteristics to help undersdestructive (declared)
Use this tool when you need to create data profiles for datasets in a catalog. Data profiles analyze data structure, quality, and characteristics to help understand data patterns and identify quality issues.

You can pass either dataset UUIDs or dataset names — names are automatically resolved to IDs.
If you are not sure about the dataset ID, pass the dataset name directly.

Returns: CreateDataProfilesResponse with profile ID, status, and UI URL.

Raises:
    ToolProcessFailedError: If profile creation fails.
    ExternalServiceError: If the profiling service request fails.
create_data_protection_ruletool Use this tool when you need to create a data protection rule from JSON string.NetworkCredentialsSensitive pathsdestructive (declared)
Use this tool when you need to create a data protection rule from JSON string.

⚠️ IMPORTANT: Call get_data_protection_rule_schema() FIRST to get the JSON format, valid terms, and examples.

This tool accepts a JSON string defining the rule and creates it in the system.

WORKFLOW:
1. FIRST: Call get_data_protection_rule_schema() to understand the JSON format
2. THEN: Call this tool with preview_only=true (default) to preview the rule
3. FINALLY: After user confirms, call again with preview_only=false to create

Returns: Preview or creation result with rule_id and URL
create_data_quality_ruletool Use this tool when you need to create a new data quality rule based on a provided SQL query. This tool allows you to define a data quality rule by specifying a destructive (declared)
Use this tool when you need to create a new data quality rule based on a provided SQL query. This tool allows you to define a data quality rule by specifying a SQL query that will be used to evaluate data quality. The tool returns details of the created data quality rule, including its ID, project ID, UI URL, and name.
Query API Reference: https://cloud.ibm.com/apidocs/knowledge-catalog

Returns: The rule ID, project ID, UI URL, and name of the created data quality rule.

Raises:
    ToolProcessFailedError: If the data quality rule creation fails fails.
    ExternalServiceError: If the data quality rule service request fails.

Note:
    This tool requires confirmation before execution as it creates a new resource.
create_data_source_definitiontool Use this tool to create a new data source definition (DSD) in the platform assets catalog.NetworkCredentialsSensitive paths
Use this tool to create a new data source definition (DSD) in the platform assets catalog.
                Example: Create a new DSD named postgresql_dev_db1 with datasource type postgresql with host c-01.private.us-south.link.satellite.cloud.ibm.com,  port number 33962 and database Bird.
                In this case, name parameter will be 'postgresql_dev_db1', datasource_type parameter will be 'postgresql', hostname parameter will be 'c-01.private.us-south.link.satellite.cloud.ibm.com', port parameter will be '33962', physical_collection parameter will be 'Bird', and all other parameters will be None.
                Example: Create a Apache Impala data source definition called test_dsd with endpoint localhost:0000 and database db1.
                In this case, name parameter will be 'test_dsd', datasource_type parameter will be 'Apache Impala', hostname parameter will be 'localhost', port parameter will be '0000', physical_collection parameter will be 'db1', and all other parameters will be None.
                Example: Create a new Amazon S3 dsd. Name it amazon_s3_dsd and set its IP 12.34.56.789, port 443 and bucket testbucket. Tag it with 'Amazon S3' and 'testing'.
                In this case, name parameter will be 'amazon_s3_dsd', datasource_type parameter will be 'Amazon S3', hostname parameter will be '12.34.56.789', port parameter will be '443', physical_collection parameter will be 'testbucket', tags parameter will be ['Amazon S3', 'testing'].
                IMPORTANT CONSTRAINT:
                - name must be provided
                - datasource_type must be provided
                - hostname must be provided
                - port must be provided
                Return: * dsd_id: Unique identifier of the newly created data source definition * name: Name of the newly created data source definition * datasource_type_name: Name of the data source type * endpoint: dictionary containing information of the data source definition's endpoints. * url: URL of the newly created data source definition.
create_or_update_metadata_enrichment_assettool Use this tool when you need to create a new metadata enrichment (MDE) asset or updates an existing one within a specified project.NetworkCredentialsSensitive pathsdestructive (declared)
Use this tool when you need to create a new metadata enrichment (MDE) asset or updates an existing one within a specified project.

    **IMPORTANT:** 
    - Do not make assumptions or add any values the user did not provide in his prompt.
    - FOllow the user instructions to the letter.
    
    This tool automatically detects whether to create or update based on whether an MDE with the given name exists

    CREATE MODE (when MDE doesn't exist):
    - Requires: metadata_enrichment_name, dataset_names or metadata_import_names
    - Creates a new metadata enrichment asset with the specified datasets
    - Validates that datasets exist and aren't already assigned to other MDEs
    - Returns DataScopeOperation with details of the newly created asset

    UPDATE MODE (when MDE exists):
    - Requires: metadata_enrichment_name
    - Optional: dataset_names to specify the datasets to be added and dataset_names_to_remove to specify the datasets to be removed
    - Returns MetadataEnrichmentAssetPatchResponse with updated MDE details
    
    The function assumes that the datasets provided are valid and exist.
    It does not handle the creation of datasets or categories if they do not already exist.
create_or_update_metadata_enrichment_asset_jobstool Creates or updates metadata enrichment jobs within a specified project for a specific Metadata Enrichment (MDE)NetworkCredentialsSensitive pathsdestructive (declared)
Creates or updates metadata enrichment jobs within a specified project for a specific Metadata Enrichment (MDE)
    If the job exists by name (using exact match), the tool updates the existing job otherwise it creates a new job.
    
    **IMPORTANT:**
    - The user must select at least one objective
    - The user must provide category_names
    - If the categry_names are not provided use the 'list_glossary_categories' tool to find the list of the available categories.
    - Return the **FULL** list to the user and ask him to choose one or more categories to be used to create or update the MDE.
    - Do not assume or select categories, the user MUST choose.
    
    The objectives is the list of names of objectives used in the enrichment job.
    Supported objectives are 'profile', 'dq_gen_constraints', 'analyze_quality', 'assign_terms',
    'analyze_relationships', 'dq_sla_assessment', 'semantic_expansion', and 'data_search'.
create_or_update_metadata_importtool Create a new metadata import (MDI) in a project, or update an existing one. Mode is auto-detected: if metadata_import_name is omitted, a new MDI is created (POSNetworkCredentialsSensitive pathsdestructive (declared)
Create a new metadata import (MDI) in a project, or update an existing one. Mode is auto-detected: if metadata_import_name is omitted, a new MDI is created (POST); if metadata_import_name is provided, the existing MDI is updated (PATCH). CREATE mode supports three import types: 'metadata' (discovery only, default), 'lineage' (lineage only), 'lineage_and_discovery' (both). PREREQUISITE for create mode: call list_connection_paths FIRST if schemas are not explicitly provided. connection_name is required in create mode unless is_openlineage=True; ignored in update mode. Optional import_options keys (all bool, default False): exclude_tables, exclude_views, import_incremental_changes_only, include_foreign_key, include_primary_key, include_asset_lifecycle_timestamps, metadata_from_catalog_table_only. Optional reimport_options keys (all bool): update_name (default True), update_description (default True), update_column_descriptions (default True), delete_when_deleted_at_source (default True), delete_when_removed_from_scope (default False). In update mode all keys must be provided when reimport_options or import_options are supplied. ERROR HANDLING: if project not found use list_containers; if metadata import not found use search_metadata_import.
create_or_update_url_data_producttool Use this tool when you need to create a data product draft from a URL or updates an existing draft to add a URL asset to it.FilesNetworkCredentialsSensitive pathsdestructive (declared)
Use this tool when you need to create a data product draft from a URL or updates an existing draft to add a URL asset to it.
    It strictly follows the following rules:
    - FIRST: Search all data products to check if the URL already exists in any data product's parts_out.
    - If duplicates are found AND force=False: STOP immediately and return error with duplicate information.
    - If duplicates are found AND force=True: Proceed with creation despite duplicates.
    - If no duplicates found: Proceed with creation.
    
    Example 1 - Create a URL data product draft:
        'Create a URL data product with <name>, <url>,.....'
    Example 2 - Add a URL asset to an existing data product draft:
        In this case, request.existing_data_product_draft_id is NOT null/None.
        Identifies the data product draft by request.existing_data_product_draft_id and adds the URL asset to the data product draft.
        'Add a URL asset to data product draft <url>,.....'
    Returns: This tool returns detailed information about the created or updated URL-based data product draft, including its unique identifier, associated contract terms ID, and a direct URL to access the draft.
create_projecttool Use this tool when you need to create a new project with the specified name. A project name is required - if not provided, ask the user for a meaningful name. INetworkCredentialsSensitive pathsdestructive (declared)
Use this tool when you need to create a new project with the specified name. A project name is required - if not provided, ask the user for a meaningful name. If a duplicate project name is detected, an error is thrown with a link to the existing project. For storage configuration, the system validates available COS storage instances. When multiple storage instances are found, the user is prompted to specify one by name or CRN before proceeding. Once the user provides the required information, the project is generated with the validated configuration in the given context.Return: The name of the newly created project and the API location URL to access it.
create_reporting_sql_querytool Use this tool when you need to generate a SQL query from a natural language input for a given project using a text-to-SQL service for reporting-related use caseNetworkCredentialsSensitive pathsread-only (declared)
Use this tool when you need to generate a SQL query from a natural language input for a given project using a text-to-SQL service for reporting-related use cases. The tool verifies reporting service connectivity, resolves the project ID, and generates the SQL query based on the project context and SQL dialect.
  Query API Reference: https://api.dataplatform.cloud.ibm.com/semantic_automation/v1/swagger-ui/index.html
  Return: The generation result with the project ID, generated SQL query, and SQL dialect used on success, or an error message with remediation steps on failure.
create_sql_querytool Use this tool when you need to generate the SQL query which addresses the request of the user and utilises the specified container.NetworkCredentialsSensitive pathsread-only (declared)
Use this tool when you need to generate the SQL query which addresses the request of the user and utilises the specified container.
  Query API Reference: https://api.dataplatform.cloud.ibm.com/semantic_automation/v1/swagger-ui/index.html
  Returns: The SQL query generated from the natural language question, which can be executed against data assets in the specified project or catalog.
create_update_data_product_from_asset_in_containertool Use this tool when you need to create or update a data product draft using pre-imported DPH catalog assets.NetworkCredentialsSensitive pathsdestructive (declared)
Use this tool when you need to create or update a data product draft using pre-imported DPH catalog assets.
    
    IMPORTANT: This tool expects target_asset_ids from the import_remote_assets_to_data_product_catalog tool.
    It does NOT import assets - use import_remote_assets_to_data_product_catalog first to prepare assets.
    If any asset import fails during import_remote_assets_to_data_product_catalog tool call, DO NOT call this tool.
    
    Workflow:
    1. Call import_remote_assets_to_data_product_catalog to import and prepare assets
    2. Use the returned target_asset_ids with this tool to create/update the data product
    
    Example 1 - Create a data product draft with imported assets:
        target_asset_ids=["dph-asset-id-1", "dph-asset-id-2"]
        name="Customer Analytics Data Product"
        description="Consolidated customer data for analytics"
        
    Example 2 - Add assets to an existing data product draft:
        target_asset_ids=["dph-asset-id-3"]
        existing_data_product_draft_id="existing-draft-id-123"
    Returns: This tool returns detailed information about the created or updated data product draft, including its unique identifier, associated contract terms ID, and a direct URL to access the draft.
delete_metadata_importtool Destructive: This tool permanently deletes a metadata import asset. This action cannot be undone.NetworkCredentialsSensitive pathsdestructive (declared)
Destructive: This tool permanently deletes a metadata import asset. This action cannot be undone.
    
    ERROR HANDLING:
    - If project not found: Use 'list_containers' to find available projects
    - If metadata import not found: Use 'search_metadata_import' to find existing imports
    
    Returns: Success message confirming the deletion.
dynamic_query_searchtool NetworkCredentialsSensitive pathsread-only (declared)
No description.
enable_container_for_text_to_sqltool Use this tool when you need to enable the specified project or catalog for Text To SQL.NetworkCredentialsSensitive pathsdestructive (declared)
Use this tool when you need to enable the specified project or catalog for Text To SQL.
                Example: Onboard agent-test project → container_id_or_name="agent-test", container_type="project".
                Example: Onboard agent-test catalog with agent-job project → container_id_or_name="agent-test", container_type="catalog", project_id_or_name="agent-job".
                Returns: A message with the UI link to monitor the onboarding job that enables the specified project or catalog for Text-to-SQL functionality.
execute_advanced_profilingtool Use this tool when you need to execute advanced profiling on a metadata enrichment asset for selected datasets.NetworkCredentialsSensitive pathsdestructive (declared)
Use this tool when you need to execute advanced profiling on a metadata enrichment asset for selected datasets.

    This tool runs advanced profiling on specified datasets within a metadata enrichment asset.
    Advanced profiling provides detailed analysis including unique value distributions and 
    comprehensive data quality metrics.

    The tool supports four sampling presets:
    - basic: Minimum sample size (1,000 rows, 100 values for classification) - optimized for speed
    - moderate: Balanced approach (10,000 rows, 100 values for classification) - trade-off between speed and accuracy
    - comprehensive: Large sample size (100,000 rows, all values for classification) - optimized for accuracy
    - custom: User-defined sampling configuration via custom_sampling parameter

    The execution process involves:
    1. Confirming the project ID based on the provided project name.
    2. Retrieving the metadata enrichment asset ID using its name.
    3. Looking up dataset IDs from the provided dataset names.
    4. Configuring sampling based on the selected preset or custom configuration.
    5. Executing the advanced profiling job with the specified parameters.
    6. Returning job details and a URL to monitor progress in the UI.

    The function assumes the metadata enrichment asset and datasets exist within the project.
    Return: The job run ID, metadata enrichment asset ID, project ID, UI URL to monitor the profiling job, and an href location to retrieve job run details.
explain_glossary_artifacttool Retrieve and explain metadata about a published glossary artifact.NetworkCredentialsSensitive pathsread-only (declared)
Retrieve and explain metadata about a published glossary artifact.

Use this tool for any general glossary lookup — when the user asks to look up, explain, define, or find a glossary artifact. This is the default tool for all glossary artifact questions. Only defer to `get_artifact_details` when the user explicitly asks about a draft or pending-approval artifact.

Supports: glossary terms, classifications, data classes, reference data, policies, and rules.

Returns: artifact details (id, name, type, url), a textual explanation of the artifact's definition and purpose, and a flag indicating whether the description was AI-generated.
func_to_registertool
No description.
get_artifact_detailstool Get detailed information about a **draft** workflow glossary artifact (business term or data class).NetworkCredentialsSensitive pathsread-only (declared)
Get detailed information about a **draft** workflow glossary artifact (business term or data class).

ONLY call this tool when the user explicitly asks about an artifact that is in DRAFT state — i.e. pending approval, under review, or awaiting publication. Do NOT call this tool for published artifacts or general glossary lookups; use `explain_glossary_artifact` for those.

**When to use this tool:**
- The user explicitly asks about a draft artifact, a pending term, or a term awaiting approval
- You need to compare changes between the latest and a previous draft version
- You need relationships, stewards, or descriptions for a draft artifact

**When NOT to use this tool:**
- The artifact is published, or the user has not indicated it is in draft → call `explain_glossary_artifact` instead
- The user asks to "look up", "explain", or "find" a term without mentioning draft → call `explain_glossary_artifact` instead

**Example:**
To get details for a draft business term named "Customer ID":
- artifact_name: "Customer ID"
- artifact_type: "glossary_term"
- format: "table"

**Multiple matches:**
If two or more artifacts share the same name, the response will contain `multiple_matches`
instead of `artifact_details`. Present the list to the user as numbered options (show
long_description and modified_at so they can distinguish them). Ask whether they want
details for one, several, or all of them, then re-call this tool with:
- `artifact_id` — when the user picks a single entry
- `artifact_ids` — when the user wants several or all entries (pass a list of IDs)

**Returns:**
A GetArtifactDetailsResponse containing:
- artifact_details: Full details for a single artifact
- all_artifact_details: Full details for multiple artifacts (when artifact_ids is supplied)
- multiple_matches: Populated instead of artifact_details when the name is ambiguous
- formatted_output: Markdown table comparing versions (when format="table"); multiple artifacts are separated by "---"

The comparison includes short/long descriptions, relationships, data steward names,
version IDs, states, and a formatted UI URL for both versions.
get_asset_detailstool Use this tool when you need comprehensive metadata and details for a specific asset identified by name or UUID.NetworkCredentialsSensitive pathsread-only (declared)
Use this tool when you need comprehensive metadata and details for a specific asset identified by name or UUID.
                    Understand user's request about getting an asset's details / metadata and return the retrieved metadata.
                    Possible details that the user could be looking for include: asset usage, rov, member roles, collaborators, sub-container,
                    asset name, asset description, asset tags, asset type, origin country, resource key, identity key, delete processing state,
                    delete reason, asset rating, total asset ratings, asset creation time, asset owner, asset size, asset version, asset state,
                    asset attributes, revision id, entity information (columns etc.) etc.
                    User could request for all details or specific details.
                    Example: Find details for asset dummy_asset in test catalog.
                    In this case, asset parameter will be 'dummy_asset', catalog parameter will be 'test' and project parameter will be None.
                    Example: Find metadata for asset testdb in agent project.
                    In this case, asset parameter will be 'testdb', catalog parameter will be None, and project parameter will be 'agent'.
                    Example: Find asset attributes of asset dummy_asset in test catalog.
                    In this case, asset parameter will be 'dummy_asset', catalog parameter will be 'test' and project parameter will be None.
                    Example: Find creation time of asset testdb in agent project.
                    In this case, asset parameter will be 'testdb', catalog parameter will be None, and project parameter will be 'agent'.
                       
                    IMPORTANT CONSTRAINTS:
                    - Asset parameter is required, either name or UUID
                    - One of catalog or project parameters is required to be not null, both cannot be null, both cannot be not null
                    - Invalid values will result in errors
                    Return: Comprehensive asset metadata including usage information, ROV details, asset properties (name, description, tags, type), ownership details, creation/update timestamps, ratings, container information, and entity details.
get_asset_details_for_assetstool Use this tool when you need comprehensive metadata and details for multiple assets at once.NetworkCredentialsSensitive pathsread-only (declared)
Use this tool when you need comprehensive metadata and details for multiple assets at once.

Retrieves: usage, ROV (collaborators/members), asset attributes, creation/update timestamps, owner information, ratings, tags, and entity information (columns, etc.).
Uses the /v2/assets/bulk endpoint — up to 20 assets per API call, automatically batched for larger lists. More efficient than calling get_asset_details repeatedly.
You can pass either IDs or names for both assets and container.

REQUIRED: ALL THREE parameters are mandatory. Ask for any missing information:
- If asset names are missing: Ask "Which assets would you like to get details for?"
- If container is missing: Ask "Which project or catalog contains these assets?"
- If container type is missing: Ask "Are these assets in a project or catalog?"
get_asset_glossary_artifactstool Use this tool when you need to retrieve all business terms and classifications (these are the only two supported types of glossary artifacts) associated with a NetworkCredentialsSensitive pathsread-only (declared)
Use this tool when you need to retrieve all business terms and classifications (these are the only two supported types of glossary artifacts) associated with a specific asset.
    When a user requests "get/list glossary items" without specifying asset details, prompt them to provide the following required parameters: asset_id_or_name, container_id_or_name, and container_type.
    
    This tool finds all glossary terms and classification that have been assigned to a particular asset.
    This helps understand the business context and semantic meaning of the asset.
    Return: A formatted string listing all business terms and classifications associated with the specified asset, or a message indicating no glossary artifacts were found for the asset in the container.
get_connection_technology_detailstool Use this tool to inspect a connection in a project and determine itsNetworkCredentialsSensitive pathsread-only (declared)
Use this tool to inspect a connection in a project and determine its
    technology details for metadata import setup. It resolves the connection and
    project, identifies the underlying datasource technology and mapped data
    source definition, and returns import-relevant capabilities such as
    supported imported asset types, lineage scan phases, whether Unified Lineage
    Discovery is used, and whether only manual lineage inputs are supported.
    Call this before creating a metadata import when you need to understand how
    a connection should be configured for discovery or lineage.
get_containertool Use this tool when you need to find a specific container (catalog, project or space) by ID or name.NetworkCredentialsSensitive pathsread-only (declared)
Use this tool when you need to find a specific container (catalog, project or space) by ID or name.
    
    This tool searches for a container using either its UUID or name.
    
    IMPORTANT CONSTRAINTS:
    - container_id_or_name is required and cannot be empty
    - Automatically detects if input is a UUID or name
    - For UUID: performs direct lookup
    - For name: uses fuzzy matching to find closest match
    - container_type must be one of: "catalog", "project", "space"
    Returns: Container details including ID, name, type, and URL
get_data_contract_test_resultstool Use this tool when you need to retrieve data contract test results for the specified data product, whether it's in draft or published (available) state.NetworkCredentialsSensitive pathsread-only (declared)
Use this tool when you need to retrieve data contract test results for the specified data product, whether it's in draft or published (available) state.
    Example: 'Get me data contract test results for <data product name>'
    This tool should receive data product version ID of the specified data product as input from context. Ask for the data product state from the user.
    Returns: This tool returns the contract test details including status, last tested time, test summary, and other metadata.
get_data_product_contracttool Use this tool when you need to retrieve data contract for the specified data product, whether it's in draft or published (available) state.NetworkCredentialsSensitive pathsread-only (declared)
Use this tool when you need to retrieve data contract for the specified data product, whether it's in draft or published (available) state.
    Example: 'Get me data contract for <data product name>'
    This tool should receive data product version ID of the specified data product as input from context. Ask for the data product state from the user.
    Returns: This tool returns the data contract of the data product.
get_data_product_detailstool Use this tool when you need comprehensive metadata and details about a specific data product, including schema, subscriptions, and column information.NetworkCredentialsSensitive pathsread-only (declared)
Use this tool when you need comprehensive metadata and details about a specific data product, including schema, subscriptions, and column information.
    Retrieve comprehensive information about IBM Cloud Data Product Hub data products.
    
    This tool provides detailed metadata about data products including:
    
    **get_data_product_details**: Retrieves complete metadata including:
       - Release information (version, state, description)
       - Parts/assets with names, descriptions, and enriched column schemas
       - Per-part delivery_methods (id + name): the delivery methods ENABLED by the publisher for that part.
         For a published data product, a subscription may ONLY use these methods for each part.
       - Primary key information (both at part level and column level)
       - Subscription details (only successful subscriptions with 'succeeded' state - failed deliveries are excluded)
    
    **Column Schema Details** - Each column includes:
       - Basic schema: name, data_type, length, nullable, native_type
       - Primary key flag: is_primary_key (true if column is part of primary key)
       - Column metadata (column_info object):
         * Data classification: data_class_name, data_class_confidence
         * Semantic naming: semantic_name, semantic_name_confidence, semantic_name_status
         * Descriptions: column_description, semantic_description with confidence and status
    
    **Primary Keys**:
       - Part-level: primary_keys array shows all primary key combinations (supports composite keys)
       - Column-level: is_primary_key flag on individual columns for easy identification
    
    **Required Input**: Provide either data_product_version_id OR data_product_name.
    
    **Subscription Details** (only successful subscriptions returned):
       - Only includes subscriptions with 'succeeded' state - failed subscription deliveries are not returned
       - For data_asset types: Returns 'flight_asset_id' and optionally 'flight_client_url' for data extraction
       - For ibm_url_definition types: Returns 'url' for accessing external resources
       - Each subscribed asset includes 'name' and either 'flight_asset_id' or 'url'
       - If no successful subscriptions exist, the list will be empty
    
    **Usage Tips**:
       - Rich column metadata helps understand data semantics and quality before querying
       - Primary key information is essential for joins and data relationships
       - Data classification and confidence scores indicate data sensitivity and reliability
       - flight_asset_id from subscription details enables data extraction via Flight API
       - url from subscription details provides direct access to external data sources
     Returns: Comprehensive data product metadata including release information, enriched asset schemas with column details and primary keys, and subscription details with flight_asset_id or URLs for successful subscriptions.
get_data_product_subscription_detailstool Use this tool when you have a subscription ID and want to see: - What data products are being delivered - The delivery status of each item - How to access the dNetworkCredentialsSensitive pathsread-only (declared)
Use this tool when you have a subscription ID and want to see: - What data products are being delivered - The delivery status of each item - How to access the delivered data (flight descriptors)
    Retrieve the actual content (items) being delivered in a specific data product subscription.
    
    **IMPORTANT**: This tool requires a subscription ID. To find subscription IDs, first use
    the search_data_product_subscriptions tool.
    
    This tool retrieves all items from a specific subscription (asset list) by its ID.
    Each item represents a subscribed data product with detailed delivery information:
    - Asset IDs and catalog information
    - Delivery method details (e.g., Use Flight service)
    - Data product delivery state (e.g., succeeded, failed, in_progress)
    - Output assets (flight descriptors for accessing data)
    - Copy text for accessing the data
    
    Features:
    - Retrieve all items from a subscription
    - Detailed delivery state for each item
    - Access information (flight descriptors, copy text)
    
    **Workflow**: 
    1. Use search_data_product_subscriptions to find subscriptions
    2. Use this tool with the subscription ID to get the delivered items
    
    **Example Use Case**:
    After finding a subscription with ID "abc-123-def", use this tool to see:
    - Which data assets are being delivered
    - The delivery state of each asset
    - Flight descriptors or URLs to access the data

    Returns: List of items in the subscription with delivery details, total count of items, and the subscription ID that was queried
get_data_protection_rule_schematool Use this tool when you need to understand the JSON schema and format requirements before creating a data protection rule.read-only (declared)
Use this tool when you need to understand the JSON schema and format requirements before creating a data protection rule.
    Returns: The complete JSON schema, valid terms, examples, and formatting rules for creating data protection rules.
get_data_qualitytool Use this tool when you need to retrieve data quality metrics and information for a specific asset. This tool fetches quality metrics for a data asset, includingread-only (declared)
Use this tool when you need to retrieve data quality metrics and information for a specific asset. This tool fetches quality metrics for a data asset, including overall quality score and specific dimensions like consistency, validity, and completeness. This information helps assess the reliability and usability of the data.

You can pass either IDs or names for both asset and container.

REQUIRED: ALL THREE parameters are mandatory. Ask for any missing information:
1. asset_id_or_name - The specific data asset name/ID (e.g., "CustomerTable") - REQUIRED
2. container_id_or_name - The project or catalog name/ID (e.g., "AgentsDemo") - REQUIRED
3. container_type - Either "project" or "catalog" - REQUIRED

When asking for missing information:
- If asset name is missing: Ask "Which asset would you like to check?"
- If container is missing: Ask "Which project or catalog contains this asset?"
- If container type is missing: Ask "Is this in a project or catalog?"
- If user mentions "project" or "catalog", use that value directly

Returns: Quality metrics including overall quality score, consistency score, validity score, completeness score, and a URL to the detailed quality dashboard.

Raises:
    ToolProcessFailedError: If quality metrics cannot be retrieved or the service call fails.
get_data_quality_for_assetstool Retrieve data quality metrics for multiple assets in bulk. This tool fetches quality metrics for multiple data assets, including overall quality score and speci
Retrieve data quality metrics for multiple assets in bulk. This tool fetches quality metrics for multiple data assets, including overall quality score and specific dimensions like consistency, validity, and completeness. This information helps assess the reliability and usability of the data.

You can pass either IDs or names for both assets and container.

REQUIRED: ALL THREE parameters are mandatory. Ask for any missing information:
1. asset_ids_or_names - List of data asset names/IDs (e.g., ["CustomerTable", "OrdersTable"]) - REQUIRED
2. container_id_or_name - The project or catalog name/ID (e.g., "AgentsDemo") - REQUIRED
3. container_type - Either "project" or "catalog" - REQUIRED

When asking for missing information:
- If asset names are missing: Ask "Which assets would you like to check?"
- If container is missing: Ask "Which project or catalog contains these assets?"
- If container type is missing: Ask "Are these in a project or catalog?"
- If user mentions "project" or "catalog", use that value directly

Returns: Quality metrics for all requested assets including:
- assets: list of per-asset results, each containing asset_id_or_name, overall quality score, scores_by_dimension (e.g. consistency, validity, completeness), and report_url
- total_count: number of assets with quality data returned
- requested_count: number of assets requested
- missing_count: number of assets without quality data

Raises:
    ToolProcessFailedError: If quality metrics cannot be retrieved or the service call fails.
get_glossary_csv_schematool Get detailed information about the CSV schema for importing glossary artifacts.read-only (declared)
Get detailed information about the CSV schema for importing glossary artifacts.

Use this tool when you need to:
- Generate a CSV from a document (like a policy or specification)
- Validate CSV format before calling import_glossary_from_csv
- Understand what fields are available for glossary artifacts
- Learn the constraints for each field

The schema includes:
- Required and optional column names
- Column descriptions and purposes
- Allowed values for enumerated fields
- Validation constraints
- Example CSV content
- Best practices for CSV generation

Returns: comprehensive schema information that helps LLMs understand how to:
1. Generate properly formatted CSV content from unstructured documents
2. Validate user-provided CSV files before import
3. Understand constraints and validation rules
get_lineage_comparisontool Use this tool when you need to performs a comparison of assets between two versions. It can be either for singular assets coming from search_lineage_assetsNetworkCredentialsSensitive pathsread-only (declared)
Use this tool when you need to performs a comparison of assets between two versions. It can be either for singular assets coming from search_lineage_assets
    or for graphs coming from get_lineage_graph. Returns a list of assets with their status and optionally a list of edges with statuses for graphs.
    
    **CRITICAL** - this tool should be used after user used either search_lineage_assets or get_lineage_graph on their own or
    should be called as a last tool when user's request requires usage of combination of tools. The dates for comparison should come from
    list_lineage_versions.

    Example Workflow:
        User: "Compare lineage graph for asset CUSTOMER_TABLE at September 24th 2025 and October 10th 2025"
        1. Call list_lineage_versions(since="2025-09-24Z", until="2025-10-24Z")
        2. Choose first and last versions from the list
        3. Call search_lineage_assets(name_query="customer_table")
        4. Extract lineage ID from results: "75a06535eb329a6b..."
        5. Call get_lineage_graph(lineage_ids="75a06535eb329a6b...", hop_up=50, hop_down=50, dates=["2025-09-24T04:10:12.828Z", "2025-10-23T08:54:02.17Z"])
        6. Extract lineage IDs from the results
        7. Call get_lineage_comparison(
            compared_lineage_assets=["75a06535eb329a6b...","12b06535eb329a6b..."],
            lineage={"initial_asset_ids": ["75a06535eb329a6b..."]},
            base_version="2025-09-24T04:10:12.828Z",
            compared_version="2025-10-23T08:54:02.17Z"
           )
        8. Return results

    Example Workflow2:
        User: "How did lineage asset CUSTOMER_TABLE change between September 24th 2025 and October 10th 2025"
        1. Call list_lineage_versions(since="2025-09-24Z", until="2025-10-24Z")
        2. Choose first and last versions from the list
        3. Call search_lineage_assets(name_query="customer_table", dates=["2025-09-24T04:10:12.828Z", "2025-10-23T08:54:02.17Z"])
        4. Extract lineage ID from results: "75a06535eb329a6b..."
        5. Call get_lineage_comparison(
            compared_lineage_assets=["75a06535eb329a6b..."],
            base_version="2025-09-24T04:10:12.828Z",
            compared_version="2025-10-23T08:54:02.17Z"
           )
        6. Return results

    Returns: A list of lineage assets that are available between the two dates with their statuses.

    Raises:
        ExternalServiceError: If the API request fails (status code != 200)
        ToolProcessFailedError: If no entities are found for the given IDs
get_lineage_graphtool Use this tool when you need to retrieve upstream and downstream lineage graph using lineage IDs.NetworkCredentialsSensitive pathsread-only (declared)
Use this tool when you need to retrieve upstream and downstream lineage graph using lineage IDs.
    
    This tool generates a data lineage graph showing data flow relationships both upstream
    (data sources) and downstream (data consumers) from the specified assets. The graph depth
    in each direction is controlled by the hop parameters.

    If user asks for ultimate target or source or both and the returned asset's id is the same as in query - it is the answer.
    Always return full answer.

    Call this tool to get graph information and/or related assets.
    
    **CRITICAL REQUIREMENT**: This tool ONLY accepts valid lineage IDs. Two formats are supported:
    - 64-character hexadecimal string (legacy CPD format), e.g. "aaaaaaaaaabbbbbbbbbbccccccccccddddddddddeeeeeeeeee11111111112222"
    - UUID format (SaaS format), e.g. "ffffffff-bbbb-dddd-cccc-aaaaaaaaaaaa"
    
    **DO NOT CALL THIS TOOL IF**:
    - You have asset names (e.g., "customer_table") → Call search_lineage_assets first
    - You have short or non-hexadecimal identifiers → Call search_lineage_assets first
    
    **ONLY CALL THIS TOOL IF**:
    - You have a 64-character hexadecimal string like "aaaaaaaaaabbbbbbbbbbccccccccccddddddddddeeeeeeeeee11111111112222"
    - You have a UUID-format lineage ID like "ffffffff-bbbb-dddd-cccc-aaaaaaaaaaaa"
    - You obtained the lineage ID from search_lineage_assets results
    - You obtained the lineage ID from get_lineage_id results
    
    Validation: Before calling this tool, verify each lineage_id matches one of:
    - Either an exactly 64 hexadecimal characters (0-9, a-f)
    - or UUID format: 8-4-4-4-12 hexadecimal characters separated by dashes
    - If validation fails, call search_lineage_assets instead
    
    Returns: Lineage graph containing:
            - lineage_assets: Complete list of assets in the lineage graph with metadata
            - edges_in_view: Connections between assets showing data flow in format - edge from: AssetA, to: AssetB, relation: RelationType
            - url: Direct link to visualize the lineage graph in the UI
    
    Raises:
        ExternalServiceError: When the API request fails (non-200 status code)
        ToolProcessFailedError: When the response is missing expected graph data
        ValidationError: When lineage_ids are not valid lineage ID strings (neither 64-char hex nor UUID format)
    
    Notes:
        - Always provide both hop_up and hop_down parameters. If user provides one of them, the other should be "0"
        - If neither is specified, both hops default to "3"
        - When asked about related assets the value of both hops should be "50"
        - When ultimate source/target matches the query asset ID, that asset is the answer
        - Always include the URL link in your response for user visualization
        - Return complete results without truncation
        - User can ask for ultimate target and/or source. The workflow is the same as asking for lineage graph.
        - Ultimate should be set to "both" only if user asks for ultimate source and target
        - If user is attempting to compare two versions, list_lineage_versions needs to be called first
        - If the list_lineage_versions is called first - pick first and last date from the list
    
    Example Workflow:
        User: "Show me the lineage for customer_table"
        1. Call search_lineage_assets(name_query="customer_table")
        2. Extract lineage ID from results: "75a06535eb329a6b..."
        3. Call get_lineage_graph(lineage_ids="75a06535eb329a6b...")
        User: "Show me the lineage for account_table"
        1. Call search_lineage_assets(name_query="account_table")
        2. Extract lineage ID from results: "75a06535eb329a6b...","85a06535eb329a6b...","95a06535eb329a6b..."
        3. Call get_lineage_graph(lineage_ids=["75a06535eb329a6b...", "85a06535eb329a6b...","95a06535eb329a6b...")
    Example Workflow 2:
        User: "What is the ultimate source and target asset from lineage of lineage asset LOAD_ACCOUNT_TYPES?"
        1. Call search_lineage_assets(name_query="LOAD_ACCOUNT_TYPES")
        2. Extract lineage ID from results: "75a06535eb329a6b..."
        3. Call get_lineage_graph(lineage_ids="75a06535eb329a6b...", ultimate="both")
    Example Workflow 3:
        User: "Find the lineage asset 'PRODUCTS_VIEW_BODY' and fetch the lineage path to 'PRODUCTS_VIEW' asset"
        1. Call search_lineage_assets(name_query="PRODUCTS_VIEW_BODY")
        2. Extract lineage ID from results: "75a06535eb329a6b..."
        3. Call search_lineage_assets(name_query="PRODUCTS_VIEW")
        4. Extract lineage ID from results: "85a06535eb329a6b..."
        5. Call get_lineage_graph(lineage_ids=["75a06535eb329a6b...", "85a06535eb329a6b..."], hop_up=50, hop_down=50, ultimate=None)
        6. Search for PRODUCTS_VIEW in response and return the path from PRODUCTS_VIEW_BODY to the user
    Example Workflow 4:
        User: "Get lineage for LOAD_ACCOUNT_TYPES. What changed between 2024 and 2025?"
        1. Call list_lineage_versions(since="2024Z",until="2025Z")
        2. Extract first and last value from the list
        3. Call search_lineage_assets(name_query="LOAD_ACCOUNT_TYPES")
        4. Extract lineage ID from results: "75a06535eb329a6b..."
        5. Call get_lineage_graph(lineage_ids=["75a06535eb329a6b..."], hop_up=50, hop_down=50, ultimate=None, dates=["2025-10-23T08:54:02.17Z","2025-09-12T06:35:27.115Z"])
get_lineage_idtool Use this tool when you converts asset IDs from container scope into a unique lineage identifier required by other lineage tools.This is an alternative to searchNetworkCredentialsSensitive pathsread-only (declared)
Use this tool when you converts asset IDs from container scope into a unique lineage identifier required by other lineage tools.This is an alternative to search_lineage_assets when you already know the exact container and asset IDs. Return: A unique lineage identifier (either a 64-character hexadecimal string or a UUID-format string) that can be used with other lineage tools.
get_lineage_source_codetool Use this tool to retrieve the SQL/transformation logic of a lineage asset: the sourceNetworkCredentialsSensitive pathsread-only (declared)
Use this tool to retrieve the SQL/transformation logic of a lineage asset: the source
    code of a stored procedure, view or function, and the transformation expression of a column flow.

    This tool answers questions like:
    - "What does this stored procedure actually do?"
    - "How is this column derived / what is the transformation logic?"
    - "Show me the SQL behind this view"

    Given a lineage ID it works in this order:
    1. Reads the asset (/gov_lineage/v2/lineage_assets/{id}) and returns all its attributes, including
       TRANSFORMATION_DESC (also returned separately as `transformation_desc`).
    2. For every source code snippet attached to the asset, reads the targeted snippet
       (/gov_lineage/v2/source_code_snippets/{id}) first.
    3. If the snippet is missing, empty or cannot be read, falls back to the full source
       (/gov_lineage/v2/source_codes/{id}) and marks it with is_full_source=true.
    An asset can have several snippets (for example a function and the view that calls it), and
    transformation logic and source code are on different assets: column flows carry the
    TRANSFORMATION_DESC attribute, while procedures, functions and the body assets of views and
    procedures (named <name>_BODY, e.g. returnstableintview_BODY) carry the code. A View asset
    itself can come back empty: search for its _BODY asset instead. Assets with neither (plain
    tables and columns) return empty results. The code is returned as a whole; it is not narrowed
    to the lines that produce a single column.

    **CRITICAL REQUIREMENT**: This tool needs a lineage ID (64-character hexadecimal string or UUID).
    Obtain the lineage ID from search_lineage_assets or get_lineage_id first if you don't have it.

    Typical workflow:
        User: "What is the logic that calculates the <column_name> column?"
        1. Call search_lineage_assets(name_query="<column_name>") to find the asset
        2. Extract the lineage ID from the result
        3. Call get_lineage_source_code(lineage_id="<id>") to get the transformation logic
        4. Explain the returned code to the user in plain language

    Returns:
        - lineage_id, asset_name, asset_type: the queried asset
        - attributes: all attributes of the asset by name
        - transformation_desc: the TRANSFORMATION_DESC attribute, when the asset has one
        - snippets: source code snippets attached to the asset (check snippets[].source_code).
          start_position/end_position show where the snippet sits in the full source when known.
        - failed_snippet_ids: snippets that could not be read because the lineage service failed.
          success is false only when every snippet failed.
        - source_code: full source code, only when the given ID is a snippet or source code ID
get_metadata_enrichment_job_statustool Use this tool when you need to monitor a given job's status in a given project.NetworkCredentialsSensitive pathsread-only (declared)
Use this tool when you need to monitor a given job's status in a given project.

                This tool checks the job status, it accepts:
                - job_id: the job id of the job to check
                - project: the project id or project name
                Return: The current job run status and the job run/asset ID.
get_my_workflow_inbox_taskstool Use this tool when you need to retrieve tasks from workflow task inbox for the current user.NetworkCredentialsSensitive pathsread-only (declared)
Use this tool when you need to retrieve tasks from workflow task inbox for the current user.

    This tool fetches tasks assigned to you or tasks you are candidates for in governance workflows.
    It supports cursor-based pagination (page_size, page_token), urgency filtering ('overdue', 'at_risk', 'all'),
    due date filtering (due_before, due_after), and sorting ('due_date', 'latest', 'oldest', 'priority').
    Every response includes a semantic summary outlining category counts and navigation state.

    Sorting options:
    - 'due_date' (default): soonest due date first; tasks without a due date appear last.
    - 'priority': urgency-based ordering (overdue > at-risk > claimed > unclaimed), done client-side.
    - 'latest': newest tasks first (by creation date).
    - 'oldest': oldest tasks first (by creation date).

    Use format='json' for raw task data or format='table' (default) for formatted output.
    If you find markdown text in the result show it to the user.
    ALWAYS render the result as table if called with format='table' parameter.

    Make sure to use a request json object for the parameters.
    Returns: The list of workflow tasks assigned to the current user, total count, pagination tokens, semantic summary, and optionally a formatted markdown table for display.
get_policy_metricstool Use this tool to retrieve and aggregate DPS (Data Privacy and Security) policyNetworkCredentialsSensitive pathsread-only (declared)
Use this tool to retrieve and aggregate DPS (Data Privacy and Security) policy
    enforcement metrics for a specified time period.
    You must specify what type of metrics to retrieve (metrics_type) and how to aggregate
    them (aggregation_type). Optional filters let you scope the results to a specific
    policy, rule, user, governance type, outcome, or other dimensions.
    Example: 'Show me enforcement counts grouped by policy for 2024'
    In this case metrics_type is 'enforcements' and aggregation_type is 'policies'.
    Returns: A list of metric records, each containing an aggregate dimension value and
    its corresponding enforcement count, plus the total number of records returned.
get_semantic_modeltool Use this tool when you need to find schema and assets to answer a question and return list of retrieved assets.NetworkCredentialsSensitive pathsread-only (declared)
Use this tool when you need to find schema and assets to answer a question and return list of retrieved assets.
                       This tool takes in a user's search prompt (query) as required parameter.
                       Optionally the user can also provide container info: container and container type, connection id or name, asset ids,
                       data source definition asset ids, document library ids.
                       The tool then returns a list of assets that have been found.
                       Example: How many customers are using euros as their currency in Accounts catalog?
                       In this case, query is "How many customers are using euros as their currency in Accounts catalog?" and container_info is [{"container_id_or_name": "Accounts", "container_type": "catalog"}], and connection_ids_or_names is None and asset_ids is None and data_source_definition_id_or_name is None and document_library_ids is None.
                       Example: In TestProject and Commercials with CustDB and Birdb connections, are customers who report late orders through support more likely to churn?
                       In this case, query is "are customers who report late orders through support more likely to churn?", container_info is [{"container_id_or_name": "TestProject"},{"container_id_or_name": "Commercials"}] and connection_ids_or_names is ["CustDB", "Birdb"] and asset_ids is None and data_source_definition_id_or_name is None and document_library_ids is None.
                       
                       IMPORTANT CONSTRAINTS:
                       - query cannot be empty
                       - ONLY ONE parameter out of connection_ids_or_names, asset_ids, data_source_definition_id_or_name, document_library_ids can be non-None
                       - container_info should be in the format: [{"container_id_or_name": "string", "container_type": "string"}, {"container_id_or_name": "string", "container_type": "string"}, ...] where container_id_or_name is the name or id
                         of the container and container_type is either "project" or "catalog". "container_type" is an optional key with default value "project".
                         Example: [{'container_id_or_name': 'testCatalog', 'container_type': 'catalog'}, {'container_id_or_name': 'testProject'}]
                       - schema_names parameter must be provided with exactly one of connection_ids_or_names or data_source_definition_id_or_name (not both, not standalone)
                       - optional parameters should be set to None if not provided
                       - Invalid values will result in errors
                       Query API Reference: https://api.dataplatform.cloud.ibm.com/semantic_automation/v1/swagger-ui/index.html
                       Returns: The list of container IDs searched, relevant schema assets with their metadata (tables, columns, relationships), and the total count of assets found matching the user's query.
glossary_curatortool Curate, define, enrich, translate, and classify IKC glossary terms at scale via parallel sub-agents.NetworkCredentialsSensitive pathsdestructive (declared)
Curate, define, enrich, translate, and classify IKC glossary terms at scale via parallel sub-agents.

Use this tool when a user wants to:
- generate or improve IKC glossary term definitions
- translate glossary term names and definitions into another language
- classify glossary terms by a data privacy regulation (e.g. GDPR, CCPA)
- check the status of an ongoing curation session
- complete or finalise a curation session

IMPORTANT: If no curate-glossary skill is active, this description is the complete guide — do not look for, read, or recreate a SKILL file. A missing or deleted SKILL file is expected on this path. If a curate-glossary skill IS active, follow the skill instructions instead of this description.

## Run sequence — one question per turn, wait for the answer before asking the next
1. Ask: "Which category would you like to curate?" Call list_glossary_categories. Resolve to category_identifier. Confirm with user. STOP — wait for answer.
2. Ask: "Which project?" Call list_containers. Resolve to project_identifier. Confirm with user. NEVER skip this step even if the user provided a category — project_identifier is always required. STOP — wait for answer.
3. Ask: "Which mode: definition, translation, or classification?" STOP — wait for answer.
4. Ask each mode param as a separate question (see Mode params below). Ask one param at a time. STOP after each question — wait for the answer before asking the next. Do not call start_session until every required mode param is collected.
5. Recommended: call start_session run_type='preview'. Show chunk 0 result. Ask user to confirm before full run.
6. Call start_session run_type='full'. Poll session_status until status=ready_for_review.
7. Call complete_session. DESTRUCTIVE — imports directly into the catalog.

One tool, six operations — set 'operation' to select:

**start_session** — extract terms from a category and partition into chunks.
  Required: project_identifier (ALWAYS ask the user for the project name if not already known — never assume or skip),
            start.category_identifier (UUID or category name),
            start.mode ('translation' | 'classification' | 'definition'),
            start.<mode>_prompt — the curation instruction for the subagents (see Mode params below for the required field name and preset text per mode)
  Optional: start.run_type ('preview'|'full', default 'preview') — preview: chunk 0 sample only; full: all chunks + enables complete_session
  After a preview completes: display the curated content returned in the response to the user before asking whether to proceed with a full run.

**get_chunk_prompt** — (sub-agent) fetch the full prompt for one chunk.
  Required: project_identifier, session_id, chunk_index

**submit_chunk** — (sub-agent) save curated CSV. Idempotent.
  Required: project_identifier, session_id, chunk_index, sub_agent_id, curated_terms_csv

**session_status** — poll progress; returns completed_chunks and pending_chunks.
  Required: project_identifier, session_id
  Optional: chunk_index — returns diagnostic detail for that chunk (pre_curated_rows, post_curated_rows, respawns)
  Note: when all chunks complete on a full run, status transitions to ready_for_review and a review CSV is produced.

**complete_session** — import curated terms. Full sessions only (ready_for_review required).
  Required: project_identifier, session_id

**list_sessions** — list all sessions with status and progress.
  Required: project_identifier
  Optional: status_filter ('all'|'in_progress'|'completed'|'import_failed'|'completed_with_blocked_chunks'|'stale_session', default 'all')
            run_type_filter ('all'|'preview'|'full', default 'all')

## Mode params — assemble before calling start_session

**definition**
  start.definition_scope (required) — ALWAYS ask the user explicitly: "Should I write definitions for all terms, or only terms with blank descriptions?" Set to 'all' or 'blanks_only' based on their answer. Do not assume or default — wait for the user's answer.
  start.definition_prompt (required) — set to:
  "Write a new Description for each row based solely on the term Name and Part Of Terms when populated.
  Ignore any existing content in the Description column entirely.
  Do not begin a definition with the term name or a verb — open with a noun phrase.
  Write exactly 1 sentence per term. State the core meaning directly — no use cases, no qualifications unless essential to distinguish the term from something similar.
  Keep all other columns unchanged."

**translation**
  start.target_language (required) — ask the user which language to translate into.
  start.translation_prompt (required) — set to (replace {target_language}):
  "Translate the Name and Description columns of each row into {target_language}.
  Detect the source language of each row independently — the glossary may contain a mix of languages.
  If a row is already written in {target_language}, leave it unchanged.
  Every translated field must be written ENTIRELY in {target_language} — no bilingual output.
  If the Description field is empty in the source row, leave it empty — do not generate or invent a description.
  Translate the full meaning; do not shorten, summarize, or omit sentences.
  Preserve technical terms and proper nouns unchanged.
  Keep Artifact Type, Category, and all other columns unchanged."

**classification**
  Step 1: Ask: "Which regulation would you like to classify under? (e.g. GDPR, CCPA)" STOP — wait for answer.
  Step 2: Ask: "Which IKC label names should be used? The defaults are: Personal Information, Sensitive Personal Information, Unclassified. Please confirm these or provide your own." STOP — wait for the user to explicitly confirm or provide custom labels before proceeding.
  Step 3: Assemble start.classification_prompt using the confirmed {regulation} and {label_list}:
  "Classify each term under {regulation} by updating its Classifications column.
  Use the term Name, Description, and Part Of Terms together.
  Choose the best-fit label from: {label_list}.
  Use ONLY the exact label strings listed. Leave Classifications empty if no label fits.
  Keep all other columns unchanged."
  After the session, display: AI-generated classifications — validate with compliance/legal before use.
import_glossary_from_csvtool Use this tool when you need to import business glossary terms and categories from CSV files.NetworkCredentialsSensitive pathsdestructive (declared)
Use this tool when you need to import business glossary terms and categories from CSV files.

Wrapper that accepts parameters directly.

This tool accepts CSV content following IBM watsonx.data intelligence (https://dataplatform.cloud.ibm.com/docs/content/wsj/governance/csv-import.html) format and either validates or imports glossary artifacts.

**Supported Artifact Types:**
- glossary_term: Business terms with definitions, examples, and relationships
- category: Organizational categories for grouping terms

**CSV Format Requirements:**

Required columns (marked with *):
- Name*: Name of the artifact
- Artifact Type*: Type ('glossary_term' or 'category')
- Category*: Parent category path for terms (defaults to "[uncategorized]" if not provided). Optional for categories (empty for top-level)

Optional columns for Terms - Basic Information:
- Description: Detailed description
- Tags: Tags associated with the term
- Business Start: Business start date
- Business End: Business end date

Optional columns for Terms - Relationships:
- Classifications: Classifications assigned to the term
- Data Classes: Data classes associated with the term
- Related Terms: Comma-separated related term names
- Synonyms: Alternative names
- Abbreviations: Abbreviations for the term
- Secondary Categories: Additional categories beyond the primary one

Optional columns for Terms - Governance:
- Stewards: User stewards responsible for the term
- Steward Groups: Group stewards responsible for the term

Optional columns for Terms - Advanced:
- Rating: Rating value for the term
- System Business Reference: System business reference information
- Extended Attribute Groups (DQ Constraints): Data quality constraints
- Custom Attributes: Any custom attribute columns (prefixed with custom_)

Optional columns for Terms - Modification Details:
- Creator: Who created the term
- Created At: When the term was created
- Modifier: Who last modified the term
- Modified At: When the term was last modified

Optional columns for Categories - Basic Information:
- Category: Parent category path (empty for top-level, or "Parent >> Child" for nested)
- Description: Detailed description
- Tags: Tags associated with the category
- Business Start: Business start date
- Business End: Business end date

Optional columns for Categories - Governance:
- Classifications: Classifications assigned to the category
- Stewards: User stewards responsible for the category
- Steward Groups: Group stewards responsible for the category

Optional columns for Categories - Advanced:
- Reporting Authorized: Whether reporting is authorized
- Custom Attributes: Any custom attribute columns (prefixed with custom_)

Optional columns for Categories - Modification Details:
- Creator: Who created the category
- Created At: When the category was created
- Modifier: Who last modified the category
- Modified At: When the category was last modified

**Example CSV:**
```
Name,Artifact Type,Category,Description,Related Terms,Synonyms
Credit Risk,glossary_term,Risk Management,The potential for financial loss,"Probability of Default,Loss Given Default",Default Risk
Risk Management,category,,Category for risk-related terms,,
```

**Validation Mode:**
Set validate_only=true to check CSV format without importing. Returns detailed error messages with row numbers.

**Import Mode:**
Set validate_only=false to import artifacts. Creates categories first, then terms, establishing all relationships.

**Error Handling:**
Returns structured errors with:
- Row number (1-based, excluding header)
- Column name where error occurred
- Error message
- Problematic value

Returns: Import/validation status, counts of created and updated categories and terms, any validation errors, and optional process tracking information.
This enables LLMs to generate properly formatted CSVs and validate user-provided CSVs before import.
import_glossary_statustool Check the status of a glossary CSV import process.NetworkCredentialsSensitive pathsread-only (declared)
Check the status of a glossary CSV import process.

Returns:
- Current status of the import
- Counts of created/modified artifacts
- Any errors that occurred

Status values:
- SUCCEEDED: Import completed successfully
- COMPLETED: Import completed (alternative success state)
- FAILED: Import failed with errors
- ERROR: Import encountered an error
- TIMEOUT: Import timed out
- IN_PROGRESS: Import still running
import_remote_assets_to_data_product_catalogtool Use this tool when you import remote assets from catalogs or projects to the DPH (Data Product Hub) catalog. This tool validates assets, checks for duplicates, NetworkCredentialsSensitive pathsdestructive (declared)
Use this tool when you import remote assets from catalogs or projects to the DPH (Data Product Hub) catalog. This tool validates assets, checks for duplicates, copies them to DPH catalog, creates revisions, and sets up part assets with relationships. Returns: A success message, the list of target_asset_ids in the DPH catalog (ready for data product creation), and the total count of imported assets.Use this tool BEFORE creating a data product to prepare the assets.
list_business_termstool Use this tool when you need to find business terms that are part of governance workflows, especially when working with draft/unpublished business terms or when NetworkCredentialsSensitive pathsread-only (declared)
Use this tool when you need to find business terms that are part of governance workflows, especially when working with draft/unpublished business terms or when you need the artifact_id for workflow operations.
list_business_terms returns a paginated list of business terms as objects of a data governance workflow with the artifact_id included.
Always define the draft parameter: if the text refers to future approvals set it true, otherwise false.
Use list_business_terms ONLY for requests about unpublished, draft business terms or for workflow related requests, otherwise use search_governance_artifacts.
If you find markdown text in the result show it to the user.
ALWAYS use a request json object to encapsulate the parameters.
Supports cursor-based pagination via page_size and page_token. Every response includes next_page_token / prev_page_token and a semantic_summary.
Returns: The list of business terms matching the search criteria, total count, pagination tokens, semantic summary, name-to-artifact-ID mapping, and optionally a formatted markdown table for display.
list_business_terms_by_categorytool Use this tool when you need to find business terms that belong to a specific category.NetworkCredentialsSensitive pathsread-only (declared)
Use this tool when you need to find business terms that belong to a specific category.
Accepts a human-readable category name (e.g. "Risk Management"), resolves it to the
correct category UUID, and returns all business terms whose primary category matches.

When a description is provided, uses BM25 similarity to rank all terms in the category
by how closely their description matches the given text, then returns the top_n most
similar terms (default 5). When omitted, all terms in the category are returned.

Use this tool instead of list_business_terms when the user asks to:
- "show all terms in category X"
- "list business terms for the <category> category"
- "find terms under <category> similar to <description>"
- "which terms in <category> are about <topic>"

If the category name is ambiguous or not found, the tool will suggest using
list_glossary_categories to see available category names.

Returns: The list of business terms in the category (all, or top_n ranked by description
similarity), total count, resolved category name and ID, name-to-artifact-ID mapping,
and optionally a formatted markdown table.
list_connection_pathstool Use this tool when you need to list available schema/table paths for a connection.NetworkCredentialsSensitive pathsread-only (declared)
Use this tool when you need to list available schema/table paths for a connection.
    
    ⚠️ CALL THIS TOOL FIRST when:
    - User mentions "first N schemas" (e.g., "first 7 schemas")
    - User does NOT explicitly provide schema names
    - You need to discover what schemas/tables are available
    
    Use the 'limit' parameter to control how many schemas to retrieve:
    - For "first 7 schemas", set limit=7
    - For "first 10 schemas", set limit=10
    - Default is 10 if not specified
    
    After calling this tool, use the returned schema list as the 'scope' parameter
    when calling create_or_update_metadata_import.
    
    Returns: Response containing list of schema/table paths and count.
list_containerstool Use this tool when you need to list all available containers - catalogs, projects or spaces.NetworkCredentialsSensitive pathsread-only (declared)
Use this tool when you need to list all available containers - catalogs, projects or spaces.
    
    This tool finds all containers (catalogs, projects or spaces) that are available to the current user.
    
    IMPORTANT CONSTRAINTS:
    - container_type supports flexible formats: "catalog", "project", "space", "all"
    - Also supports combinations: "catalog,project", "projects and catalogs", "catalogs, projects", etc.
    - Handles both singular and plural forms
    - Defaults to "all" if not specified
    Returns: List of containers with their IDs, names, types, and URLs
list_data_classestool Use this tool when you need to find data classes that are part of governance workflows, especially when working with draft/unpublished data classes or when you NetworkCredentialsSensitive pathsread-only (declared)
Use this tool when you need to find data classes that are part of governance workflows, especially when working with draft/unpublished data classes or when you need the artifact_id for workflow operations.
list_data_classes returns a paginated list of data classes as objects of a data governance workflow pertaining to the search term
with the artifact_id included. Always define the draft parameter: if the text refers to future approvals set it true, otherwise false.
Use list_data_classes ONLY for requests about unpublished, draft data classes or for workflow related requests, otherwise use search_governance_artifacts.
If you find markdown text in the result show it to the user.
ALWAYS use a request json object to encapsulate the parameters.
Supports cursor-based pagination via page_size and page_token. Every response includes next_page_token / prev_page_token and a semantic_summary.
Returns: The list of data classes matching the search criteria, total count, pagination tokens, semantic summary, name-to-artifact-ID mapping, and optionally a formatted markdown table for display.
list_data_product_business_domainstool Use this tool if user is not sure of the business domain name or if the user asks for the list of business domains.NetworkCredentialsSensitive pathsread-only (declared)
Use this tool if user is not sure of the business domain name or if the user asks for the list of business domains.
    This tool gets all business domains listed in the system.
    Example: What are the domains available?
    Call: list_data_product_business_domains with keyword as None.
    Optionally, user can provide a keyword to search for business domains. In this case, call the tool with the keyword.
    Example: What are the domains available for customer data?
    Call: list_data_product_business_domains with keyword as "customer".
    Returns: A list of business domains. (The unique identifier of the domain, The name of the business domain, The description of the business domain)
list_data_product_contract_templatestool Use this tool when you need to view available contract templates before attaching one to a data product draft.NetworkCredentialsSensitive pathsread-only (declared)
Use this tool when you need to view available contract templates before attaching one to a data product draft.
    This tool gets all contract templates defined in the system.
    This is sometimes called before calling `attach_contract_template_to_data_product` tool.
    Example 1: Add contract1 template to the draft
         - This will first call `list_data_product_contract_templates` to get the list of contract templates (if contract template ID is not known) and passes the contract template ID of contract1 to the next tool `attach_contract_template_to_data_product`.
    Example 2: What are my contract templates?
    Return: A list of contract templates, where each template contains: The ID of the contract template, The name of the contract template
list_data_product_delivery_methodstool Use this tool when you need to find delivery methods available for a data asset.FilesNetworkCredentialsSensitive pathsread-only (declared)
Use this tool when you need to find delivery methods available for a data asset.
    Finds delivery methods for data asset (data_asset_id) in container_type (ID: container_id).
    This is called before `add_delivery_methods_to_data_product()` to find the delivery methods available for the given data asset.
    Example: 'Find delivery methods for customer asset in the data product draft' - This gets the container type ('catalog' or 'project') where this asset is in, the ID of the container, and the data asset ID.
    If you are not sure about the container ID, use the `list_containers` tool to find it out.
    If you are not sure about the data asset ID of the requested data asset, use the `search_asset` tool to find it out.
    Prompt user to choose delivery methods from the list of available delivery methods.

    **Not for subscriptions:** this lists every delivery method compatible with the asset's connection, which is
    what a publisher chooses from when authoring a draft. To subscribe to a published data product, use the
    delivery methods enabled for each part, returned by `get_data_product_details` (parts_out[].delivery_methods).

    **URL assets (ibm_url_definition):** These have no underlying connection. This tool automatically
    detects them and returns the 'Open URL' delivery method directly — no connection lookup is needed.

    Return: A list of available delivery methods for the data asset, including their IDs, names, and descriptions.
list_data_quality_rulestool Use this tool when you need to find data quality rules in the given project. If data quality rule name is not provided, then return all the data quality rules fread-only (declared)
Use this tool when you need to find data quality rules in the given project. If data quality rule name is not provided, then return all the data quality rules from this project.

Do NOT use for running/executing rules (use run_data_quality_rule instead).
Do NOT use for creating, updating, or deleting rules.

Returns:A list of objects, each containing the rule ID, project ID, UI URL, and name. If no data quality rules are found, the tool returns an empty list with a message.

Raises:
    ToolProcessFailedError: If the data quality rule find fails.
    ExternalServiceError: If the data quality rule find service request fails.
list_draft_artifactstool List draft workflow glossary artifacts.NetworkCredentialsSensitive pathsread-only (declared)
List draft workflow glossary artifacts.

**When to use this tool:**
- When you need to see all draft business terms and/or data classes
- When you want an overview of artifacts currently in workflow
- When you need to find which artifacts are pending approval

**Example:**
To list all draft artifacts (both business terms and data classes):
- artifact_type: "all"
- max_results: 50
- format: "table"

To list only draft business terms:
- artifact_type: "glossary_term"
- max_results: 50
- format: "table"

**Returns:**
A ListDraftArtifactsResponse containing:
- artifacts: List of DraftArtifactOverview objects with complete details for each draft
- total_count: Number of draft artifacts returned
- formatted_output: Markdown table showing Name, Type, Modified By, and Link (when format="table")

The table displays user-friendly information (with shortened URLs as clickable links) while the JSON
response includes all technical details (artifact IDs, version IDs, workflow IDs, states, timestamps).
list_glossary_categoriestool Use this tool when you need to retrieve the available business glossary categories from IBM Data Intelligence.NetworkCredentialsSensitive pathsread-only (declared)
Use this tool when you need to retrieve the available business glossary categories from IBM Data Intelligence.
                    Returns a flat list of category names and their IDs that can be used to scope governance workflows, metadata enrichment jobs, or term assignments.
                    The tool accepts an optional category_contains parameter to filter results:
                    - To look up a category by UUID, pass the full UUID string directly as category_contains (e.g. category_contains='01dbeeb5-e085-4f27-b5ab-84b3d74cc086').
                    - To search by name, pass a substring (case-insensitive) as category_contains (e.g. category_contains='revenue').
                    - If no filter is provided, all categories are returned (up to 50).
                    Present the list to the user and ask them to select one or more before proceeding with any downstream operation.
                    Return: A list of categories and the category IDs. ALWAYS include ALL fields in your response: name and category_id.
list_lineage_versionstool Use this tool when you need to fetch versions within a given date range so users can compare them.NetworkCredentialsSensitive pathsread-only (declared)
Use this tool when you need to fetch versions within a given date range so users can compare them.
    Data returned by this tool is used by the lineage_comparison tool and get_lineage_graph tool.

    Returns: A list of lineage versions that are available between the two dates.

    Raises:
        ExternalServiceError: If the API request fails (status code != 200)
        ToolProcessFailedError: If no entities are found for the given IDs
list_metadata_enrichment_asset_jobstool Lists all metadata enrichment jobs for a given metadata enrichment asset.NetworkCredentialsSensitive pathsdestructive (declared)
Lists all metadata enrichment jobs for a given metadata enrichment asset.
    The tool retrieves the list of all the available jobs for a given metadata enrichment asset.
    The user should provide the MDE name or its UUID and the project name or its UUID.
    The tool returns a list of job details: id, name, description, schedule_info, objectives, categories, ... or an empty list if no job is defined.
list_user_task_approval_datatool Use this tool when you need to see the approval history, approvers, and workflow status for a specific artifact identified by artifact_id.NetworkCredentialsSensitive pathsread-only (declared)
Use this tool when you need to see the approval history, approvers, and workflow status for a specific artifact identified by artifact_id.
list_user_task_approval_data returns a list user tasks in a data governance workflow for a specific artifact id along with
final state of the workflow to find out approvers in user task data.
ALWAYS define draft parameter: if text refers to future approvals set it true, otherwise false.

Use format='json' for raw task data or format='table' (default) for formatted output.
If you find markdown text in the result show it to the user.
ALWAYS render the result as table if called with format='table' parameter
Returns: The list of user tasks associated with the specified artifact, total count, and optionally a formatted markdown table or list showing approval history and workflow status.
list_workflowstool Use this tool when you need to retrieve workflows initiated by current user.NetworkCredentialsSensitive pathsread-only (declared)
Use this tool when you need to retrieve workflows initiated by current user.

    This tool fetches workflow instances that you have created/initiated, with two modes:
    - Light mode (deep_dive=False): Returns basic workflow information for quick overview. If called in light mode, ask the user whether he would like to see the details.
    - Deep dive mode (deep_dive=True): Returns comprehensive analysis with task details, activity tracking, and metrics
    If you find markdown text in the result show it to the user.

    This is different from get_my_workflow_inbox_tasks which shows tasks assigned to you by others.

    Make sure to use a request json object for the parameters.
pause_resume_or_cancel_mdi_job_runtool Pause, resume, or cancel a metadata import (MDI) job run.NetworkCredentialsSensitive pathsdestructive (declared)
Pause, resume, or cancel a metadata import (MDI) job run.

    Use this single tool to control the lifecycle of an active metadata import job.
    Pass the desired 'action' parameter to specify the operation:

    - action='pause'  — Temporarily pause a Running job. Can be resumed later.
                        Only Running jobs can be paused.
    - action='resume' — Continue a previously paused job.
                        Only Paused jobs can be resumed.
    - action='cancel' — Permanently stop a Running, Paused, or Queued job.
                        A canceled job cannot be resumed.

    If no job_run_id is provided, the tool automatically targets the latest
    eligible job run for the requested action.

    PREREQUISITES:
    - The metadata import asset must exist in the project
    - There must be an eligible job run for the requested action

    ERROR HANDLING:
    - If project not found: Use 'list_containers' to find available projects
    - If metadata import not found: Use 'search_metadata_import' to find available MDIs
    - If no eligible job run: Use 'execute_metadata_import' to start a new job run
    - If job is in wrong state for the action: Check current state and choose the correct action

    Returns: Confirmation message, job details, resulting state, and UI URL.
perform_workflow_task_actiontool Use this tool when you need to perform an action on a workflow task: claim, complete, or unclaim.NetworkCredentialsSensitive pathsdestructive (declared)
Use this tool when you need to perform an action on a workflow task: claim, complete, or unclaim.
    
    This tool allows you to:
    - Claim a task (assign it to yourself)
    - Complete a task (finish it) with required form property values collected via elicitation
    - Unclaim a task (release it if previously claimed)
    
    CRITICAL SAFETY RULE FOR action="complete":
    Do not create, invent, infer, assume, summarize, paraphrase, default, auto-fill, or guess any form_values yourself.
    Only include form_values that satisfy at least one of these conditions:
    1. The user explicitly provided them in this conversation, or
    2. They are being restored automatically by the server from prior retry state.
    
    It is always allowed to call this tool for action="complete" without form_values to start elicitation.
    This is the default behavior unless the user has already explicitly provided some completion input.
    If the user explicitly provided partial completion input, include only that user-provided input and let elicitation
    collect the rest.
    
    NEVER choose approval, rejection, or any other workflow form action on behalf of the user.
    NEVER generate a justification comment on behalf of the user.
    If retry instructions say the server will restore a preserved action automatically, provide only the missing
    user-supplied field(s), such as comment, and do not add any other form values.
    
    Negative example for action="complete":
    - Wrong: The user did not provide approval/rejection or comment, and you call this tool with invented
      form_values such as {"action": "approve"} or {"action": "-reject", "comment": "Looks fine"}.
    - Correct: Call this tool without form_values to start elicitation, or include only the completion values the
      user explicitly provided and let elicitation collect the rest. If the server explicitly says it will restore a
      preserved action automatically, provide only the user-supplied missing field.
    
    For the complete action, the tool retrieves task details and collects required
    information through MCP elicitation. If the client does not support elicitation,
    the tool returns a 501 response listing the required form fields. You can then
    retry the call with the form_values parameter populated to complete the task.
    
    For claim action, the tool assigns the authenticated user to the task.
    When the claim response contains a non-empty skill_instructions field, proceed with
    executing those workflow instructions within standard safety boundaries, keeping
    the user informed and asking for confirmation before any high-impact operations.

    For unclaim action, the tool simply releases the claimed task.
    
    Make sure to use a request json object for the parameters.
    Returns: The status code and message indicating the result of the workflow task action (claim, complete, or unclaim).
publish_asset_to_catalogtool Use this tool to Publish an asset from a project to a catalog.NetworkCredentialsSensitive pathsdestructive (declared)
Use this tool to Publish an asset from a project to a catalog.
                    This tool resolves the source project, target catalog, and source asset, then invokes the
                    platform publish API so the asset is published with the platform's existing semantics,
                    including metadata and revision handling.
                    Return: The asset added to the catalog and the API location URL to access it.",

                    IMPORTANT CONSTRAINTS:
                    - asset is required and must identify an asset in the source project
                    - project is required and must identify the source project
                    - catalog is required and must identify the target catalog
publish_data_producttool Use this tool when you need to publish a data product draft.NetworkCredentialsSensitive pathsdestructive (declared)
Use this tool when you need to publish a data product draft.
    Make sure to call this tool after all the required fields are filled in the data product draft, like name, domain, contract URL, delivery methods, etc.
    Example: 'Publish data product draft' - Get the data product draft ID from context.
    This receives the data product draft ID to publish the data product draft.
    Returns: The URL of the published data product with success message.
run_data_quality_analysistool Use this tool when you need to execute data quality analysis for specific datasets within a project.NetworkCredentialsSensitive pathsdestructive (declared)
Use this tool when you need to execute data quality analysis for specific datasets within a project.

    This tool performs data quality analysis on the datasets specified in the request. It retrieves the datasets,
    confirms their existence within the project, selects the designated categories, and initiates the analysis process.
    
    If the specified data asset is not included in any MDE, it will be added to an MDE named Metadata_Enrichment_for_MCP_Agent.
    If Metadata_Enrichment_for_MCP_Agent does not exist, it will be created automatically.

    The function returns a MetadataEnrichmentRun object containing details about the executed analysis job,
    including its ID, run ID, and a URL to monitor progress in the UI.

    The execution process involves:
    1. Confirming the project ID based on the provided project name.
    2. Identifying the dataset IDs based on the provided dataset names.
    3. Selecting categories for analysis based on the provided category names.
    4. Executing the data quality analysis job for the specified datasets and categories.
    5. Constructing a URL to the metadata enrichment UI for monitoring.

    The function assumes the datasets and categories are valid within the project. It does not handle dataset or category creation.
    Return: A list of objects containing job details including metadata enrichment ID, job ID, job run ID, project ID, and a UI URL to monitor the data quality analysis progress.
run_data_quality_ruletool Executes a specific data quality rule and returns details about the execution. Use when the user wants to re-run a rule.destructive (declared)
Executes a specific data quality rule and returns details about the execution. Use when the user wants to re-run a rule.
    Do NOT use when the user only wants to view rule. Do NOT use for creating, updating, or deleting rules. Do NOT call this tool for describe data quality rules.
    Do NOT use when required parameters (project_id, rule_id) are missing.
    
    Wrapper that accepts direct parameters instead of a request object.
    
    Returns:
        An object containing complete information about the data quality rule:
            - data_quality_rule_id: The ID of the data quality rule
            - project_id: The ID of the project
            - data_quality_rule_ui_url: URL to view the data quality rule in the UI
            - data_quality_rule_name: The name of the data quality rule
    
    Raises:
        ToolProcessFailedError: If the data quality rule run fails.
        ExternalServiceError: If the data quality rule service request fails.
run_gs_querytool Use this tool to execute a GS (Global Search) formatted query directly against the global search index.NetworkCredentialsSensitive pathsread-only (declared)
Use this tool to execute a GS (Global Search) formatted query directly against the global search index.
    The query is an Elasticsearch DSL body passed as the request body. Results are capped at 10000 documents.
    Use this tool when you need fine-grained control over the search query, such as filtering by specific fields,
    combining boolean clauses, or running a query that has already been formulated in GS/ES DSL syntax.

    IMPORTANT — when using this tool, prefer gs_query over natural_language_query:
    For simple keywords, phrases, or complex filters passed to this tool, always construct and pass gs_query
    directly using the gs_user_query form shown in the examples below.
    Only use natural_language_query as a last resort when you are completely unable to express the search
    as an Elasticsearch DSL — for example, when the user's intent involves multi-step reasoning that cannot
    be directly mapped to ES DSL fields.
    gs_query always takes precedence when both are supplied.

    Asset count by type workflow (e.g. 'how many assets', 'asset count by type', 'breakdown by type'):
    Step 1 — call find_container to resolve the catalog or project name to its ID.
    Step 2 — call this tool with EXACTLY this gs_query structure (do not change field names):
      IMPORTANT: always include the must_not data_asset_column exclusion —
      For a catalog: {\"query\":{\"bool\":{\"filter\":[{\"term\":{\"entity.assets.catalog_id\":\"<id>\"}}],\"must_not\":[{\"term\":{\"metadata.artifact_type\":\"data_asset_column\"}}]}},\"size\":0,\"aggs\":{\"asset_count_by_type\":{\"terms\":{\"field\":\"metadata.artifact_type\",\"size\":50}}}}
      For a project: {\"query\":{\"bool\":{\"filter\":[{\"term\":{\"entity.assets.project_id\":\"<id>\"}}],\"must_not\":[{\"term\":{\"metadata.artifact_type\":\"data_asset_column\"}}]}},\"size\":0,\"aggs\":{\"asset_count_by_type\":{\"terms\":{\"field\":\"metadata.artifact_type\",\"size\":50}}}}
      Set auth_scope to \"catalog\" or \"project\" accordingly.

    Query forms supported:
    1. Standard ES DSL — e.g. match_all, match, bool, term, range.
    2. GS 'gs_user_query' — full-text search with optional field restriction and NLQ analysis.
       - 'search_fields': restricts search to the listed fields; omit to search all configured fields.
       - 'nlq_analyzer_enabled': ignores stop-words and prioritises common phrases.
       - 'nested': controls nested-document matching.
    3. GS semantic / AI search — set 'semantic_search_enabled': true inside gs_user_query.
       - 'semantic_search_enabled' defaults to false; options under 'semantic_search_options'
         are only effective when it is true.
       - 'semantic_search_expansion_exclusions': suppresses specific expansions returned by a
         previous call's 'semantic_search_expansions' response field.
       - 'semantic_search_expansions' in the response is always empty for lexical (non-semantic) search.

    Note: response fields such as 'custom_attributes' apply only to assets, and 'categories'
    only to artifacts — not all fields are populated for every result type.

    Examples:
        - Match-all: {\"query\":{\"match_all\":{}}}
        - Lexical GS search with field restriction and NLQ:
          {\"query\":{\"gs_user_query\":{\"search_string\":\"the quick red fox\",\"search_fields\":[\"metadata.name\",\"metadata.description\"],\"nlq_analyzer_enabled\":true,\"nested\":false}}}
        - Semantic / AI search:
          {\"query\":{\"gs_user_query\":{\"search_string\":\"bank\",\"semantic_search_enabled\":true,\"semantic_search_options\":{\"semantic_search_expansion_exclusions\":{\"bank\":[\"repository\"]}}}}}
        - Simple keyword search (preferred form — always use this, not natural_language_query):
          {\"query\":{\"gs_user_query\":{\"search_string\":\"rugby\",\"nlq_analyzer_enabled\":true,\"nested\":false}}}
        - natural_language_query is ONLY a fallback when the intent cannot be expressed as ES DSL.

    Returns: Structured response with size (hit count), typed rows
    (each containing provider_type_id, tenant_id, metadata, artifact_id, entity with CAMS asset
    fields, custom_attributes, semantic_search_result, _score), aggregations, and
    semantic_search_expansions (non-empty only for semantic search).
run_metadata_enrichment_asset_for_selected_assetstool Use this tool when you need to execute a metadata enrichment asset for selected datasets within a specified project.NetworkCredentialsSensitive pathsdestructive (declared)
Use this tool when you need to execute a metadata enrichment asset for selected datasets within a specified project.

    This tool initiates the execution of a pre-configured metadata enrichment asset, applying it to multiple datasets.
    It retrieves the asset's details, confirms its existence within the project, and starts the enrichment job for the specified datasets.
    The function returns a MetadataEnrichmentRun object containing information about the executed job,
    including its ID, run ID, and a URL to monitor its progress in the UI.
    
    The execution process involves:
    1. Confirming the project ID based on the provided project name.
    2. Retrieving the metadata enrichment asset ID using its name within the project.
    3. Confirming the UUIDs of the datasets to be enriched, matching them exactly within the project.
    4. Executing the metadata enrichment job with the selected datasets.
    5. Constructing a URL to the metadata enrichment UI for monitoring.
    
    The function assumes the metadata enrichment asset is already defined and valid within the project,
    and the datasets specified exist. It does not handle asset creation or validation of dataset names beyond exact matching.
    Return: Job execution details including metadata enrichment ID, job ID, job run ID, project ID, and a UI URL to monitor the enrichment progress.
run_metadata_enrichment_jobtool Use this tool when you need to execute a metadata enrichment asset job within a specified project for a specified metadata enrichment asset (MDE).NetworkCredentialsSensitive pathsdestructive (declared)
Use this tool when you need to execute a metadata enrichment asset job within a specified project for a specified metadata enrichment asset (MDE).

    This tool initiates the execution of a pre-configured metadata enrichment asset job. It retrieves the MDE asset's details,
    confirms its existence within the project, confirm or retrives the MDE asset job ID and starts the enrichment job. The function returns a MetadataEnrichmentRun
    object containing information about the executed job, including its ID, run ID, and a URL to monitor its progress in the UI.
    
    If the user does not provide a job name, use the tool 'list_metadata_enrichment_asset_jobs' to list all the available jobs for the selected MDE and surface them back to the user to choose one.

    The execution process involves:
    1. Confirming the project ID based on the provided project name.
    2. Retrieving the metadata enrichment asset ID using its name within the project.
    3. Validating or retriving the job ID.
    4. Executing the metadata enrichment job.
    5. Constructing a URL to the metadata enrichment UI for monitoring.

    The function assumes the metadata enrichment asset is already defined and valid within the project.
    It does not handle asset creation.
    Return: Job execution details including metadata enrichment ID, job ID, job run ID, project ID, and a UI URL to monitor the enrichment progress for all configured datasets.
run_metadata_expansiontool Use this tool when you need to execute metadata expansion for specific datasets within a project.NetworkCredentialsSensitive pathsdestructive (declared)
Use this tool when you need to execute metadata expansion for specific datasets within a project.
    
    This tool performs metadata expansion on the datasets specified in the request. It retrieves the datasets,
    confirms their existence within the project, selects the designated categories, and initiates the expansion process.
    
    If the specified data asset is not included in any MDE, it will be added to an MDE named Metadata_Enrichment_for_MCP_Agent.
    If Metadata_Enrichment_for_MCP_Agent does not exist, it will be created automatically.
    
    The function returns a MetadataEnrichmentRun object containing details about the executed expansion job,
    including its ID, run ID, and a URL to monitor progress in the UI.
    
    The execution process involves:
    1. Confirming the project ID based on the provided project name.
    2. Identifying the dataset IDs based on the provided dataset names.
    3. Selecting categories for expansion based on the provided category names.
    4. Executing the metadata expansion job for the specified datasets and categories.
    5. Constructing a URL to the metadata enrichment UI for monitoring.
    
    The function assumes the datasets and categories are valid within the project. It does not handle dataset or category creation.
    The metadata expansion objective includes profiling the data and expanding semantically using predefined rules or external knowledge bases.
    Return: A list of objects containing job details including metadata enrichment ID, job ID, job run ID, project ID, and a UI URL to monitor the semantic metadata expansion progress.
run_metadata_importtool Use this tool when you need to execute a metadata import job in a project.NetworkCredentialsSensitive pathsdestructive (declared)
Use this tool when you need to execute a metadata import job in a project.

    ERROR HANDLING:
    - If project not found: Use 'list_containers' to find available projects or verify the project name
    - If metadata import asset not found: Use 'create_or_update_metadata_import' to create the asset first
    Returns: Job ID, run ID, state, and monitoring URL.
run_metadata_relationship_analysistool Use this tool when you need to start a relationship analysis for a metadata enrichment area (MDE).NetworkCredentialsSensitive pathsdestructive (declared)
Use this tool when you need to start a relationship analysis for a metadata enrichment area (MDE).

    This tool initiates relationship analysis on datasets within a metadata enrichment area.
    It supports various analysis types including primary key (PK) and foreign key (FK) analysis
    at both shallow and deep levels, as well as overlap analysis.

    Analysis Types:
    - pk_deep: Deep primary key analysis
    - fk_shallow: Shallow foreign key analysis
    - fk_deep: Deep foreign key analysis
    - overlap: Overlap analysis between datasets

    The tool can analyze either all datasets in the MDE area or specific datasets.
    Optional configuration parameters allow fine-tuning of the analysis behavior.

    The execution process involves:
    1. Confirming the project ID based on the provided project name.
    2. Finding the metadata enrichment area ID based on the MDE area name.
    3. Optionally confirming dataset IDs if specific datasets are provided.
    4. Building the analysis configuration with optional parameters.
    5. Executing the relationship analysis via the API.

    Returns: A response containing the job run ID and status of the analysis.
run_reporting_select_querytool Use this tool when you need to execute a user-provided SQL SELECT query against a tenant-specific reporting database. This tool enforces read-only access (only NetworkCredentialsSensitive pathsread-only (declared)
Use this tool when you need to execute a user-provided SQL SELECT query against a tenant-specific reporting database. This tool enforces read-only access (only SELECT statements) and includes basic query validation for safety.
  Query API Reference: https://api.dataplatform.cloud.ibm.com/v3/reporting/apidoc/explorer/
  Return: The execution result with query rows on success, or an error message with remediation steps on failure.
run_term_generationtool Use this tool when you need to execute term generation on an existing metadata enrichment asset within a specified project.NetworkCredentialsSensitive pathsdestructive (declared)
Use this tool when you need to execute term generation on an existing metadata enrichment asset within a specified project.

    This tool executes term generation on a metadata enrichment asset (MDE), running for all data assets and columns associated with the MDE.
    It supports both legacy MDEs and new MDE v3 multi-job architecture.

    **MODES OF OPERATION:**

    **Mode 1: List MDEs (no metadata_enrichment_name provided)**
    - Requires: project_name
    - Lists all MDEs in the project that have data assets
    - Returns: MetadataEnrichmentResult with MDE details (name, data assets, URLs)
    - User should select ONE MDE from the list and re-run the tool
    - DO NOT offer to run on multiple MDEs simultaneously
    - **PRESENTATION**: Always format MDE listing as a markdown table with columns: MDE Name, Data Assets Count, Missing Terms, MDE URL

    **Mode 2: Execute on Legacy MDE**
    - Requires: project_name, metadata_enrichment_name
    - Detects legacy MDE (no "version": "v3" field)
    - Automatically extracts target category from MDE configuration (if configured)
    - Validates category exists in glossary
    - Executes term generation on all data assets with the configured category
    - Returns: TermGenerationResult with count of draft terms generated and category URL
    - NOTE: For legacy MDEs, the target category is pre-configured in the MDE asset settings.
      The tool automatically uses this category - DO NOT call list_glossary_categories
      or prompt user to select a category for legacy MDEs.
    - **PRESENTATION**: Always format results as a markdown table showing: MDE Name, Project, Draft Terms Generated, Target Category (with URL if available), Task Inbox URL, MDE URL

    **Mode 3: Execute on MDE v3 (Direct Mode)**
    - Requires: project_name, metadata_enrichment_name
    - Optional: job_name OR category_name (user provides target)
    - Detects MDE v3 (has "version": "v3" field)
    - If job_name provided: validates job exists and has target category configured
    - If category_name provided: validates category exists in glossary
    - Executes term generation with specified target category
    - Returns: TermGenerationResult with count of draft terms and category URL
    - **PRESENTATION**: Always format results as a markdown table showing: MDE Name, Project, Draft Terms Generated, Target Category (with URL), Task Inbox URL, MDE URL

    **Mode 4: Execute on MDE v3 (Interactive Mode)**
    - Requires: project_name, metadata_enrichment_name
    - No job_name or category_name provided
    - Lists all jobs in the MDE that have target categories configured
    - Returns: TermGenerationJobSelectionResult with job options
    - User should select ONE job from available_jobs OR provide a custom category_name
    - DO NOT offer to run on multiple jobs simultaneously
    - ALWAYS present the option to provide a custom category_name as an alternative
    - **PRESENTATION**: Always format job listing as a markdown table with columns: Job Name, Target Category

    **PARAMETERS:**
    - project_name (required): Name or UUID of the project
    - metadata_enrichment_name (optional): Name or UUID of the MDE
    - job_name (optional, v3 only): Name or UUID of the enrichment job to use
    - category_name (optional, v3 only): Name or UUID of the target glossary category

    **CRITICAL CONSTRAINTS:**
    - Only ONE MDE can be processed per tool execution
    - Only ONE job can be selected per tool execution
    - DO NOT create options to run on "all" MDEs or "all" jobs
    - ALWAYS present custom category option when listing jobs
    - Only MDEs with data assets are shown/processed (empty MDEs are automatically filtered out)
    - For MDE v3, term generation requires a target category to be specified
    - Job selection is only available for jobs that have target categories configured
    - Term names are LLM-generated and may vary between runs
    - The tool returns a delta count (new terms generated), not total terms
    
    **PRESENTATION REQUIREMENTS:**
    - ALWAYS use markdown tables for all results (MDE listings, job listings, execution results)
    - Include clickable URLs in table cells where applicable
    - Keep table formatting clean and aligned
    - Use clear, descriptive column headers
search_assettool Use this tool when you need to find data assets by name, description, or semantic search across catalogs and projects.NetworkCredentialsSensitive pathsread-only (declared)
Use this tool when you need to find data assets by name, description, or semantic search across catalogs and projects.
                       Understand user's request about searching data assets and return list of retrieved assets.
                       This tool takes a user's search prompt as input and may take container type: project or catalog. Default container type to catalog.
                       It then returns list of asset that has been found.
                       
                       IMPORTANT CONSTRAINTS:
                       - search_prompt cannot be empty
                       - container_type must be one of: "catalog", "project"
                       - Invalid values will result in errors
                       PRESENTATION RULES: When displaying results, render a compact table with exactly three columns: asset name (as a hyperlink, do NOT create a separate link column), workspace name, and description. Never surface asset IDs, workspace IDs, asset_type, or any additional_metadata fields unless the user explicitly asks for them. Only add extra columns when the user's request specifically calls for that data (e.g. "show me assets modified last week" → add a modified_on column). If a column value is the same for every row in the result set (e.g. all assets are from the same project), omit that column entirely to avoid redundant output.
                       Return: A list of objects, each containing the asset name (linked to the asset URL), workspace name, and description.
search_connectiontool Use this tool when you need to find database connections across containers, with optional filtering by name, type, or creator.NetworkCredentialsSensitive pathsread-only (declared)
Use this tool when you need to find database connections across containers, with optional filtering by name, type, or creator.
                    Understand user's request about searching connections and return a list of
                    retrieved connections. Users can choose to filter the results based on
                    the optional input parameters: container, connection name,
                    data source type, and creator. If no filters are provided, then all available
                    connections are retrieved.
                    Example: Find all connections.
                    In this case, all input parameters will be None.
                    Example: Find connections in catalog test.
                    In this case, container parameter will be 'test' and container_type will be 'catalog'.
                    Example: Find bird connection in catalog test.
                    In this case, connection_name parameter will be 'bird', container parameter will be 'test' and container_type will be 'catalog'.
                    Example: Find connections with data source postgresql and created by user123 in catalog test.
                    In this case, datasource_type parameter will be 'postgresql', creator parameter will be 'user123', container parameter will be 'test' and container_type will be 'catalog'.

                    IMPORTANT CONSTRAINTS:
                    - container_type needs to be provided if container is provided
                    - container_type must be one of: "catalog", "project", or "all"
                    - if no container_type is provided, it defaults to "all"
                    - container and container_type must be provided if one or more of connection_name, datasource_type, or creator is provided
                    - Invalid values will result in errors
                    Return: A list of objects, each containing connection details including ID, name, URL, creation time, creator ID, datasource type information, and container details.
search_data_product_subscriptionstool Use this tool when you need to search and filter data product subscriptions (asset lists) from IBM Cloud Data Product Hub.NetworkCredentialsSensitive pathsread-only (declared)
Use this tool when you need to search and filter data product subscriptions (asset lists) from IBM Cloud Data Product Hub.
    
    This tool searches asset lists of type "order" which represent data product subscriptions.
    Returns subscription METADATA including ID, state, name, and owner information.
    
    **IMPORTANT**: This tool returns subscription metadata only. To see the actual items/content
    being delivered in a subscription, you would need to make additional API calls with the subscription ID.
    
    Each subscription contains:
    - Subscription ID (required for getting subscription content)
    - Subscription state (e.g., succeeded, delivered, failed)
    - Name and description
    - Access control information
    
    The filters type=="order" and asset.container.id=="<your-default-catalog>" are automatically
    appended to all queries. Results are always scoped to your default DPH catalog — cross-catalog
    queries are not supported by this tool.
    
    **CRITICAL: Finding Subscriptions for a Specific Data Product**
    
    When get_data_product_details returns data product information, it includes multiple IDs:
    - `id` (top-level): The DATA PRODUCT VERSION ID
      Example: "6d80d7d4-ca55-4fb0-8b70-bb799a2881dd@b34d014d-82d1-4374-9de2-4478e350a5f6"
      The part BEFORE the @ symbol is the asset ID: "6d80d7d4-ca55-4fb0-8b70-bb799a2881dd"
    - `asset.id`: The asset ID (same as the part before @ in the top-level id)
      Example: "6d80d7d4-ca55-4fb0-8b70-bb799a2881dd"
    
    To find subscriptions for a data product:
    1. Extract the asset ID from get_data_product_details response:
       - Use `asset.id` field directly, OR
       - Take the part BEFORE the @ symbol from the top-level `id` field
    2. Query subscriptions with: asset.id=="<asset_id_here>"
    
    **CORRECT Example:**
    - Data product details shows: `"asset": {"id": "6d80d7d4-ca55-4fb0-8b70-bb799a2881dd"}`
    - Query to use: `asset.id=="6d80d7d4-ca55-4fb0-8b70-bb799a2881dd"`
    
    **WRONG Example (DO NOT DO THIS):**
    - Using catalog ID: `asset.id=="b34d014d-82d1-4374-9de2-4478e350a5f6"` ❌
    - This will return NO results because catalog ID is not the asset ID!
    
    Features:
    - Query and filter asset lists using CEL (Common Expression Language)
    - Pagination support
    - Sort by various fields (created_at, last_updated_at)
    
    CEL Query Examples:
    - name=="My data product name" - Find subscriptions by name
    - asset.id=="6d80d7d4-ca55-4fb0-8b70-bb799a2881dd" - Find subscriptions for a specific data product
    - asset.id=="6d80d7d4-ca55-4fb0-8b70-bb799a2881dd"&&created_at>="2025-10-08T23:00:00Z" - Filter by product and date
    - state=="succeeded" - Find successfully delivered subscriptions
    - created_at>="2024-01-01"&&state=="delivered" - Combine multiple conditions
    - access_control.owner=="IBMid-123456" - Filter by owner
    
    Returns:
    - List of subscriptions with metadata (ID, state, name, owner)
    - Pagination information (next, first links)
    - Total count of results
search_data_productstool Use this tool when you need to search for data products in the Data Product Hub with flexible filtering by name, domain, state, and creation date.NetworkCredentialsSensitive pathsread-only (declared)
Use this tool when you need to search for data products in the Data Product Hub with flexible filtering by name, domain, state, and creation date.
    Please note that the date filter is only for creation date. If the query is about a different date not related to product creation, please do not provide creation dates.

    This tool searches the Data Product Hub catalog and returns matching data products. Multiple filters can be
    applied simultaneously to refine results (e.g., find products in a specific domain created within a date range).
    
    State Filter:
    - "draft": Returns only unpublished/draft data products
    - "published": Returns only published data products
    - None (default): Returns both draft and published data products

    Contract Test Fields (searchable):
    - contract_test_status: The result of the last contract test run. Typical values are "Queued", "Failed", or "Completed". Note: "Completed" means the contract test passed successfully.
    - contract_test_last_run_at: ISO 8601 timestamp of when the contract test was last executed.
    Both fields are returned on each data product and are included in full-text search, so queries such as
    "find data products with a Failed contract test" will match on contract_test_status.
    
    Date filters are inclusive and can be used independently or together. When only one date is provided,
    it creates an open-ended filter (e.g., only created_date_after finds all products from that date onwards).

    CRITICAL - Natural Language Date Parsing (only for creation date filters):
    This tool ONLY accepts dates in YYYY-MM-DD format. When users provide natural language dates,
    convert them to YYYY-MM-DD before calling this tool using these rules:
    
    Temporal Logic (assume current date: February 11, 2026):
    1. NEVER return future dates - always use most recent PAST occurrence
    2. "today" → 2026-02-11, "yesterday" → 2026-02-10
    3. "last week" → created_date_after="2026-02-04", created_date_before="2026-02-11" (7 days)
    4. "past month" → created_date_after="2026-01-12", created_date_before="2026-02-11" (30 days)
    5. "this year" → created_date_after="2026-01-01", created_date_before="2026-02-11"
    6. Day only: "5th" → 2026-02-05 (current month if not passed), "15th" → 2026-01-15 (previous month if passed)
    7. Month+Day: "Dec 15th" → 2025-12-15 (December 2026 would be future, use 2025)
    8. Month only: "December" or "in December" → 2025-12-01 to 2025-12-31 (December 2026 would be future, use 2025)
    9. Month only (already passed this year): "January" → 2026-01-01 to 2026-01-31 (January 2026 is in the past)
    10. Explicit year: "March 5th 2025" → 2025-03-05
    11. Leap years: "Feb 29th" → use most recent leap year (2024-02-29)

    Examples:
        # Basic search
        search_data_products(product_search_query="Customer")
        search_data_products()  # All products (default "*")
        
        # Domain filtering
        search_data_products(domain="Finance")
        
        # State filtering
        search_data_products(state_filter="draft")  # Only drafts
        search_data_products(state_filter="published")  # Only published
        
        # Date filtering (ISO format)
        search_data_products(created_date_after="2026-01-01", created_date_before="2026-01-31")
        
        # Natural language conversions (convert before calling):
        # User: "products from yesterday" →
        search_data_products(created_date_after="2026-02-10", created_date_before="2026-02-10")
        
        # User: "products from last week" →
        search_data_products(created_date_after="2026-02-04", created_date_before="2026-02-11")
        
        # User: "products created in December" (Dec 2026 would be future, use Dec 2025) →
        search_data_products(created_date_after="2025-12-01", created_date_before="2025-12-31")
        
        # User: "products created in January" (Jan 2026 already passed, use Jan 2026) →
        search_data_products(created_date_after="2026-01-01", created_date_before="2026-01-31")
        
        # User: "products from 15th December" →
        search_data_products(created_date_after="2025-12-15", created_date_before="2025-12-15")
        
        # Combined filters
        search_data_products(product_search_query="Sales", domain="Finance", created_date_after="2026-01-01", state_filter="published")
    Returns: A comprehensive list of data products matching the search criteria, with detailed information about each product including its versioning, state, domain, and associated assets.
search_data_protection_rulestool Use this tool when you need to search all data protection rules to return data protection rules that match the given search query.NetworkCredentialsSensitive pathsread-only (declared)
Use this tool when you need to search all data protection rules to return data protection rules that match the given search query.
    Example: 'Find all data protection rules with Deny name.'
    In this case, search_data_protection_rules_query is 'Deny', and this tool returns all data protection rules that have Deny in their name or description.
    Example: 'Show me all data protection rules'
    In this case, search_data_protection_rules_query is '*'.
    Return: List of data protection rules matching the search query, with detailed information about each rule including its name, description, last modification date, and a direct URL to access it and total count.
search_data_source_definitiontool Use this tool when you need to find data source definitions (DSDs) by name, type, endpoint, or physical collection.NetworkCredentialsSensitive pathsread-only (declared)
Use this tool when you need to find data source definitions (DSDs) by name, type, endpoint, or physical collection.
                    Understand user's request about searching data source definitions aka DSD
                    and return a list of retrieved DSDs. Users can choose to filter the
                    results based on the optional input parameters: name, data source type,
                    hostname, port, or physical collection. If no filters are provided, then
                    all available DSDs are retrieved.
                    Example: Find all dsds.
                    In this case, all input parameters will be None.
                    Example: Find DSDs with datasource type postgresql.
                    In this case, datasource_type parameter will be 'postgresql', and hostname, port, physical_collection will be None.
                    Example: Find dsds with endpoint localhost:0000 and database db1.
                    In this case, hostname parameter will be 'localhost', port parameter will be '0000', physical_collection parameter will be 'db1' and datasource_type parameter will be None.
                    Example: Find data source definitons with hostname someendpoint and bucket testbucket.
                    In this case, hostname parameter will be 'someendpoint', physical_collection parameter will be 'testbucket', and port and datasource_type parameters will be None.
                    Example: Find dsd azure.
                    In this case, name parameter will be 'azure' and all other parameters will be None.
                    Example: Find dsd named c3 with datasource type postgresql.
                    In this case, name parameter will be 'c3', datasource_type parameter will be 'postgresql', and hostname, port, physical_collection will be None.

                    IMPORTANT CONSTRAINTS:
                    - All possible combinations of input parameters include:
                        - Only name
                        - Only data source type
                        - Only hostname
                        - Only physical collection (database name, bucket name, or project id)
                        - Data source type + name
                        - Physical collection + name
                        - Hostname + port
                        - Hostname + port + name
                        - Hostname + port + physical collection
                        - Hostname + port + physical collection + name
                    - Invalid values will result in errors
                    Return: A list of objects, each containing data source definition details including ID, name, creation time, creator ID, datasource type information, and URL.
search_governance_artifactstool Use this tool when you need to search for existing governance artifacts by correct names in IBM Knowledge Catalog.NetworkCredentialsSensitive pathsread-only (declared)
Use this tool when you need to search for existing governance artifacts by correct names in IBM Knowledge Catalog.
    This tool searches for all 6 governance artifact types: classifications, data classes, glossary terms, policies, governance rules, and reference data.
    
    Examples:
        - "Find all classifications related to Personally Identifiable Information data"
        - "Look up glossary terms about customer information"
        - "Look up business terms about account"
        - "Search for data classes social security data"
        - "Check if we already have a classification for sensitive personal data"
        - "Search for policies about data retention"
        - "Look up governance rules about access control"
        - "Search for reference data about country codes"
    Returns: List of matching governance artifacts with count and status message.
search_lineage_assetstool Use this tool when you need to search for assets in the Lineage system based on name and optional filters.NetworkCredentialsSensitive pathsread-only (declared)
Use this tool when you need to search for assets in the Lineage system based on name and optional filters.
    
    This tool finds lineage assets matching the provided name query, with filtering
    by technology name, asset type, and Data Source Definition (DSD). Results are sorted by relevance, with exact matches first.
    Use filters only if user mentions them. Try to find the best match for filters.
    Do not shorten the results. Returns an empty list if no query or filters are given.
    Method can return an empty list if no assets where found or if user has input no data.
    If user did not specify a filter do not send 'null' as string - use None or '' instead.
    
    **REQUIRED FIRST STEP**: Searches for assets by name and returns their lineage IDs.
    
    **CRITICAL**: This tool MUST be called before get_lineage_graph when you have:
    - Asset names (e.g., "customer_table", "sales_data")
    - Partial asset names or search patterns
    - Any non-hexadecimal identifier
    
    This tool converts human-readable asset names into lineage IDs required by get_lineage_graph.
    Two ID formats may be returned depending on the deployment:
    - 64-character hexadecimal string (legacy CPD format)
    - UUID format (SaaS format), e.g. "ffffffff-bbbb-dddd-cccc-aaaaaaaaaaaa"
    Results include the lineage ID in the 'id' field of each asset.
    User can ask to compare the state of the asset between two versions returned by list_lineage_versions - use
    the dates fields then. Otherwise the dates field should be none.
    
    Workflow:
    1. Call this tool with asset name → Get lineage ID from results
    2. Pass the lineage ID to get_lineage_graph → Get lineage graph
    
    Returns: Search results containing:
            - lineage_assets: List of matching assets with properties:
                * id: **lineage ID** (use this for get_lineage_graph — either 64-char hex or UUID format)
                * name: Display name of the asset
                * type: Asset type classification
                * tags: Associated tags
                * identity_key: Resource identity key with parent hierarchy
                * parent_name: Name of the parent asset
                * parent_type: Type of the parent asset
            - response_is_complete: Boolean indicating whether all results are included
    
    Raises:
        ExternalServiceError: When the API request fails (non-200 status code)
        ToolProcessFailedError: When the response is missing expected data
    
    Notes:
        - Returns an empty list if no query or filters are provided
        - Returns an empty list if no matching assets are found
        - Use None or empty string for unspecified optional filters (not "null" string)
        - Apply filters only when explicitly mentioned by the user
        - **Extract the 'id' field from results to use with get_lineage_graph**
        - If user wants related assets call get_lineage_graph after this tool
search_metadata_importtool Use this tool when you need to search for the available metadata import.NetworkCredentialsSensitive pathsread-only (declared)
Use this tool when you need to search for the available metadata import.

    This tool is mainly used when a user want to create or update a metadata enrichment (MDE) and does not provide an asset or want to use a metadata import (MDI).
    This tool can search for all the available metadata imports (MDI) or search a metadata imports by name
    - The user must provide a project name or the project ID
    - Optional: the user can provide the metadata import name to search a specific MDI

    This tool supports wildcard search

    Return: The result in a table in MD format.
search_user_groups_rolestool Use this tool when you need to search and retrieve users, user groups, or user roles in watsonx.data intelligence.NetworkCredentialsSensitive pathsread-only (declared)
Use this tool when you need to search and retrieve users, user groups, or user roles in watsonx.data intelligence.
    
    This tool enables AI agents to quickly find the right identity record by specifying the search type
    (user, group, or role) and an optional query. It uses intelligent fuzzy matching to find the best 
    matches and returns results with confidence scores and match metadata.
    
    Search Types:
    - "user": Search for individual users by name, email, username, or user ID
    - "group": Search for user groups by group name or group ID
    - "role": Search for user roles by role name (CP4D only)
    
    Features:
    - Intelligent fuzzy matching with confidence scores
    - List all items when no query is provided
    - Works in both SaaS and CP4D environments (roles search is CP4D only)
    - RBAC enforcement (only returns identities caller is permitted to see)
    
    Use Cases:
        Users:
        - "Find user jacob" → search_type="user", query="jacob"
        - "Search for user with email [email protected]" → search_type="user", query="[email protected]"
        - "List all users" → search_type="user", query=None
        
        Groups:
        - "Find group marketing" → search_type="group", query="marketing"
        - "Search for analysts group" → search_type="group", query="analysts"
        - "List all groups" → search_type="group", query=None
        
        Roles (CP4D only):
        - "Show me all user roles" → search_type="role", query=None
        - "Find administrator roles" → search_type="role", query="admin"
    
    Examples:
        - "Add Jacob to Project X" → search_type="user", query="jacob", then use user_id
        - "Give marketing analysts read access" → search_type="group", query="marketing", then use group_id
        - "Apply data protection rule to [email protected]" → search_type="user", query="[email protected]"
        - "What roles can I assign?" → search_type="role", query=None (CP4D only)
    Returns: The search type, total and returned counts, list of matching results (users, groups, or roles with their IDs and metadata), a status message, and the original query.
set_validates_data_quality_of_relationtool Use this tool when you need to establish a relationship between a data quality rule and a column in a data asset within a project. This relationship is used to destructive (declared)
Use this tool when you need to establish a relationship between a data quality rule and a column in a data asset within a project. This relationship is used to report the data quality score for the specified column using the logic defined in the data quality rule. The tool returns details of the data quality rule, including its ID, project ID, UI URL, and name.

Returns: The rule ID, project ID, UI URL, and name of the data quality rule.

Raises:
    ToolProcessFailedError: If the data quality rule relation set operation fails.
    ExternalServiceError: If the data quality rule service request fails.
update_asset_metadatatool Update metadata for assets in either catalog or project including asset name, display name, description, privacy, format, tags, business terms, classifications NetworkCredentialsSensitive pathsdestructive (declared)
Update metadata for assets in either catalog or project including asset name, display name, description, privacy, format, tags, business terms, classifications and related items.

**WORKFLOW**
This tool accepts BOTH names and UUIDs for assets, containers, and governance artifacts. You can directly provide:
- Asset name OR UUID
- Container name OR UUID
- Business term/classification names OR global_ids
- Related item names OR UUIDs

The tool will automatically resolve names to IDs internally.

**Example User Request (Catalog):**
"For asset claims in catalog DATA PRODUCT CATALOG, update description to 'SAMPLE TESTING', privacy to Private, and tags to 'DATAPRODUCT'"

**Workflow (Catalog):**
Call: update_asset_metadata(asset_id_or_name="claims", container_id_or_name="DATA PRODUCT CATALOG", container_type="catalog", description="SAMPLE TESTING", privacy=16, tags=["DATAPRODUCT"])

**Example User Request (Project):**
"For asset customer_data in project Analytics Project, update description to 'Analytic project' and add tags 'Analytics'"

**Workflow (Project):**
Call: update_asset_metadata(asset_id_or_name="customer_data", container_id_or_name="Analytics", container_type="project", description="Analytic project", tags=["Analytics"])

**related_items** — List of related items (assets, artifacts, or columns) to ADD/connect to this asset. Each item requires:
- item_type: 'asset', 'artifact', or 'column' (REQUIRED)
- target_id_or_name: Name or ID of the target item (REQUIRED)
  - For assets: asset name or UUID
  - For artifacts: business term/classification name or global_id
  - For columns: column name
- artifact_type: 'glossary_term' or 'classification' (optional, for artifacts only)
- target_asset_id_or_name: Asset name or UUID containing the column (REQUIRED for columns only)
- target_container_id_or_name: Target's container name or UUID (REQUIRED for assets and columns, NOT for artifacts)
  - IMPORTANT: Target container TYPE (catalog/project) is inherited from source asset's container_type
  - Target container ID/NAME MUST be DIFFERENT from source container (never use source container here)
  - Example: Source in "Catalog A" can connect to target in "Catalog B" (both catalogs, different IDs)
  - If container info is missing, use dynamic_query_search to find target and ask user to select
- relationship_name: Relationship type (optional, defaults to 'accesses'). ONLY set this if the user explicitly specifies a relationship type. If the user does not mention a relationship, omit this field entirely and let the default 'accesses' apply.

Examples:
- Asset (no relationship specified): {"item_type": "asset", "target_id_or_name": "customer_data", "target_container_id_or_name": "Target Catalog"}
- Artifact (business term, no relationship specified): {"item_type": "artifact", "target_id_or_name": "Customer ID", "artifact_type": "glossary_term"}
- Artifact (classification, no relationship specified): {"item_type": "artifact", "target_id_or_name": "Sensitive Data", "artifact_type": "classification"}
- Artifact (user said consists_of): {"item_type": "artifact", "target_id_or_name": "Customer ID", "artifact_type": "glossary_term", "relationship_name": "consists_of"}
- Column: {"item_type": "column", "target_id_or_name": "account_id", "target_asset_id_or_name": "account", "target_container_id_or_name": "Target Catalog", "relationship_name": "asset-column1"}

{RELATED_ITEMS_GUIDE}

**IMPORTANT CONSTRAINTS:**
- At least one of new_asset_name, display_name, description, privacy, format, tags, business_terms, classifications, or related_items must be provided
- For privacy field, only values 0 or 16 are valid

Text the model reads (103)

Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.

func_to_register tool
copy_connection tool
Use this tool when you need to create a new connection from an existing connection,
                    in other words, copying a connection, or using an existing connection in a different
                    container, and returning the details of the new connection.
                    Users are required to provide the identifier of the existing connection to be copied
                    and the identifier of the target container for the connection to be copied to. If the
                    users do not provide a source catalog, platform assets catalog is assumed as the
                    source catalog. If the users do not provide a target container type, project is assumed 
                    as the target container type.
                    Example: Create a new connection in AgentTest project from birddb connection in MCPTest.
                    In this case, connection_name is birddb, source_catalog is MCPTest, target_container is AgentTest, and target_container_type is project.
                    Example: Copy connection employee to WorkInfo.
                    In this case, connection_name is employee, target_container is WorkInfo, target_container_type is project, source_catalog is None.
                    Example: Create a connection from aws-jobs in workflows catalog.
                    In this case, connection_name is aws-jobs, target_container is workflows, target_container_type is catalog, source_catalog is None.
                    Example: Copy connection test-connection in Test catalog to AgentIssue project.
                    In this case, connection_name is test-connection, source_catalog is Test, target_container is AgentIssue, and target_container_type is project.
                    Example: I want to use the BirdDB connection in AgentTest project.
                    In this case, connection_name is BirdDB, target_container is AgentTest, target_container_type is project, source_catalog is None.

                    IMPORTANT CONSTRAINTS:
                    - connection_name must be provided
                    - target_container must be provided
                    - target_container_type if not provided defaults to "project"
                    - connection to be copied can only exist in a catalog
                    Return: * id: Unique identifier of the newly created connection * name: Name of the newly created connection * create_time: Timestamp when the connection was created or copied * creator_id: Identifier of the user who copied the connection. 
                    
create_data_source_definition tool

                Use this tool to create a new data source definition (DSD) in the platform assets catalog.
                Example: Create a new DSD named postgresql_dev_db1 with datasource type postgresql with host c-01.private.us-south.link.satellite.cloud.ibm.com,  port number 33962 and database Bird.
                In this case, name parameter will be 'postgresql_dev_db1', datasource_type parameter will be 'postgresql', hostname parameter will be 'c-01.private.us-south.link.satellite.cloud.ibm.com', port parameter will be '33962', physical_collection parameter will be 'Bird', and all other parameters will be None.
                Example: Create a Apache Impala data source definition called test_dsd with endpoint localhost:0000 and database db1.
                In this case, name parameter will be 'test_dsd', datasource_type parameter will be 'Apache Impala', hostname parameter will be 'localhost', port parameter will be '0000', physical_collection parameter will be 'db1', and all other parameters will be None.
                Example: Create a new Amazon S3 dsd. Name it amazon_s3_dsd and set its IP 12.34.56.789, port 443 and bucket testbucket. Tag it with 'Amazon S3' and 'testing'.
                In this case, name parameter will be 'amazon_s3_dsd', datasource_type parameter will be 'Amazon S3', hostname parameter will be '12.34.56.789', port parameter will be '443', physical_collection parameter will be 'testbucket', tags parameter will be ['Amazon S3', 'testing'].
                IMPORTANT CONSTRAINT:
                - name must be provided
                - datasource_type must be provided
                - hostname must be provided
                - port must be provided
                Return: * dsd_id: Unique identifier of the newly created data source definition * name: Name of the newly created data source definition * datasource_type_name: Name of the data source type * endpoint: dictionary containing information of the data source definition's endpoints. * url: URL of the newly created data source definition.
                
add_delivery_methods_to_data_product tool
Use this tool when you need to add delivery methods selected by user to a data product draft. DO NOT make up delivery methods, use the corresponding ID values for the delivery methods selected by the user.
    This is called after `list_data_product_delivery_methods()` to add the delivery methods selected by the user to the data product draft.
    Example: Adding two delivery methods to an asset in the draft.
        'Add flight and download delivery methods to customer asset in the data product draft'- This gets the data product draft ID from context, data asset name (in this case, customer), the delivery method IDs from context matching the delivery methods selected by the user from the previous tool call.
    Return: A success message indicating that the delivery methods were added to the data asset in the data product draft. If multiple assets with the same name exist, the message will indicate that delivery methods were added to all matching assets.
    
attach_business_domain_to_data_product tool
Use this tool when you need to attach the given business domain to a data product draft.
    The business domain given should be a valid business domain in the system or else this returns the list of business domains available to choose from.
    Return: A success message confirming that the business domain has been attached to the data product draft, including the domain name and data product draft ID.
    
attach_url_contract_to_data_product tool
Use this tool when you need to attach the given URL contract to a data product draft.
    Return: A success message confirming that the URL contract has been attached to the data product draft, including the contract URL and data product draft ID.
    
list_data_product_contract_templates tool
Use this tool when you need to view available contract templates before attaching one to a data product draft.
    This tool gets all contract templates defined in the system.
    This is sometimes called before calling `attach_contract_template_to_data_product` tool.
    Example 1: Add contract1 template to the draft
         - This will first call `list_data_product_contract_templates` to get the list of contract templates (if contract template ID is not known) and passes the contract template ID of contract1 to the next tool `attach_contract_template_to_data_product`.
    Example 2: What are my contract templates?
    Return: A list of contract templates, where each template contains: The ID of the contract template, The name of the contract template
    
attach_contract_template_to_data_product tool
Use this tool when you need to attach a predefined contract template to a data product draft, either with default values or customized terms.
    This tool attaches the selected contract template to data product draft.
    Call `list_data_product_contract_templates` tool before calling this tool, if you don't know the ID of the contract template.
    Also, it is a good idea to list all contract templates to user so the user can choose from the list.
    
    The tool works in two steps:
    1. First call: Do NOT provide contract_terms parameter (or set to None). This fetches and displays the contract template's default values to the user for review.
    2. Second call: Provide contract_terms parameter:
       - To use template defaults as-is: set contract_terms={} (empty dict)
       - To customize: set contract_terms with user's custom values following the exact schema structure from first call
    
    IMPORTANT: contract_terms must follow the exact nested structure shown in the first call's output.
    The first call displays the complete schema with all available fields.
    
    Example workflow:
         - Call `list_data_product_contract_templates` to get the list of contract templates.
         - Call this tool WITHOUT contract_terms parameter to see the default values and complete schema (first call)
         - User reviews the schema structure and decides:
           * To use defaults: call again with contract_terms={} (empty dict).
           * To customize: call again with contract_terms following the exact schema structure.
    
    Example customizations (must match schema structure):
         - Update description limitations: {"description": {"limitations": "unlimited"}}
         - Add SLA with properties: {"sla": [{"properties": [{"property": "property1", "value": "value1"}, {"property": "property2", "value": "value2"}]}]}
         - Add custom properties: {"custom_properties": [{"property": "refresh", "value": "daily"}, {"key": "relevancy", "value": "new"}]}
         - Update overview name: {"overview": {"name": "My Custom Contract"}}
         - Combine multiple: {"description": {"limitations": "unlimited"}, "custom_properties": [{"property": "refresh", "value": "daily"}]}
   
    The deep_merge preserves all template defaults while applying your customizations.
    Returns: The message indicating the success of the operation or displaying contract terms for review.
    
create_attach_custom_data_product_contract tool
Use this tool when you need to create a custom contract from scratch and attaches it to a data product draft.
    Unlike the template-based tool, this does not use any predefined template. Instead, it allows
    users to create a completely custom contract by providing their own values.
    
    The tool works in two steps:
    1. First call: Do NOT provide contract_terms parameter (or set to None). This displays the empty contract schema to show all available fields.
    2. Second call: Provide contract_terms parameter with user's custom values to create and attach the contract.
    
    IMPORTANT: contract_terms must follow the exact nested structure shown in the first call's output.
    The first call displays the complete schema with all available fields.
    
    Example workflow:
         - Call this tool WITHOUT contract_terms parameter to see the empty schema
         - User reviews the schema structure
         - Call this tool again WITH contract_terms={...} containing values (following the exact schema structure)
         - The contract is created and attached to the data product draft
    
    Note: Not all fields are mandatory. Users only need to provide values for the fields they want to include.
    Empty dict is not allowed - custom contracts must have at least some values.
    Returns: The message indicating the success of the operation or displaying the schema for review.
    
create_data_product_subscription tool
Use this tool to subscribe to a data product on IBM Cloud Data Product Hub.

**PREREQUISITES — always call this first:**
`get_data_product_details` — get the data product version ID, the list of parts (parts_out[].asset.id),
and the delivery methods ENABLED for each part (parts_out[].delivery_methods, with id and name).
Only use a delivery method listed there for that part — each part can have a different set.
Do NOT use `list_data_product_delivery_methods` for subscriptions: it lists every method compatible with
the asset's connection (used when authoring a draft), not the ones enabled on the published product.

**Choosing the right state:**

Use state='submitted' (default) when all parts share the same delivery method type and you
have all required connection details — the subscription is finalized in one call.

Use state='draft' when:
- The data product has parts that use DIFFERENT delivery method types
  (e.g. Part 1 uses 'Use Flight service', Part 2 uses 'Watsonx.data-ingest')
- You want the user to review before finalizing

Draft flow for mixed delivery methods:
  1. create_data_product_subscription(state='draft')          → get subscription_id
  2. add_items_to_data_product_subscription(subscription_id, items=[...])  ← repeat per delivery method type
  3. submit_data_product_subscription(subscription_id)        → finalize

**Items — delivery_method_name discriminates required fields:**

Each item in `items` must have a `delivery_method_name` matching one of the SUPPORTED methods:
- 'Use Flight service'   → IBM Flight service data access; no consumer input needed; add query_values for parameterized query assets
- 'Open URL'             → URL asset parts (ibm_url_definition type); no consumer input needed
- 'Download'             → file download; no consumer input needed
- 'Download Data Extract'→ format only (ask the user: avro, csv, delimited, excel, json, parquet, orc, sav, xml).
    No target connection needed — the API writes to the catalog-level default output connection automatically.
- 'Watsonx.data-ingest'  → wxd_catalog/schema/table + target_connection_id + source_connection_id (pre-existing CAMS connections)
    Ask the user only for: storage connection NAME, watsonx.data connector (connection) NAME, catalog, schema, table.
    Then call `search_connection` for each name to get the connection ID and its container_id
    (use these for the *_connection_id, *_connection_container_id and *_connection_container_type fields). Never ask the user for IDs.
    Always search in the catalog that holds the data product: call `search_connection` with
    container=<parts_out[].asset.container.id from get_data_product_details>, container_type='catalog',
    connection_name=<name>. The name filter requires container + container_type, and the same name can
    exist in other catalogs — only use the connection from the data product's catalog.

**NOT SUPPORTED via this tool (require raw credentials — unsafe in chat):**
'WatsonxData-DirectAccess', 'Snowflake-DirectAccess', 'Azure-Databricks-DirectAccess',
'AWS-Databricks-DirectAccess', 'AWS-Glue-Catalog-DirectAccess'
→ Direct the user to subscribe via the IBM Data Product Hub UI for these delivery methods.

**IMPORTANT — response state mapping:**
After a state='submitted' request, the server returns state='received' — this is correct, not an error.
After a state='draft' request, the server returns state='draft'.

Returns: subscription_id (save this for add_items / submit / remove_item tools), state, and subscription metadata.
create_update_data_product_from_asset_in_container tool
Use this tool when you need to create or update a data product draft using pre-imported DPH catalog assets.
    
    IMPORTANT: This tool expects target_asset_ids from the import_remote_assets_to_data_product_catalog tool.
    It does NOT import assets - use import_remote_assets_to_data_product_catalog first to prepare assets.
    If any asset import fails during import_remote_assets_to_data_product_catalog tool call, DO NOT call this tool.
    
    Workflow:
    1. Call import_remote_assets_to_data_product_catalog to import and prepare assets
    2. Use the returned target_asset_ids with this tool to create/update the data product
    
    Example 1 - Create a data product draft with imported assets:
        target_asset_ids=["dph-asset-id-1", "dph-asset-id-2"]
        name="Customer Analytics Data Product"
        description="Consolidated customer data for analytics"
        
    Example 2 - Add assets to an existing data product draft:
        target_asset_ids=["dph-asset-id-3"]
        existing_data_product_draft_id="existing-draft-id-123"
    Returns: This tool returns detailed information about the created or updated data product draft, including its unique identifier, associated contract terms ID, and a direct URL to access the draft.
    
create_or_update_url_data_product tool
Use this tool when you need to create a data product draft from a URL or updates an existing draft to add a URL asset to it.
    It strictly follows the following rules:
    - FIRST: Search all data products to check if the URL already exists in any data product's parts_out.
    - If duplicates are found AND force=False: STOP immediately and return error with duplicate information.
    - If duplicates are found AND force=True: Proceed with creation despite duplicates.
    - If no duplicates found: Proceed with creation.
    
    Example 1 - Create a URL data product draft:
        'Create a URL data product with <name>, <url>,.....'
    Example 2 - Add a URL asset to an existing data product draft:
        In this case, request.existing_data_product_draft_id is NOT null/None.
        Identifies the data product draft by request.existing_data_product_draft_id and adds the URL asset to the data product draft.
        'Add a URL asset to data product draft <url>,.....'
    Returns: This tool returns detailed information about the created or updated URL-based data product draft, including its unique identifier, associated contract terms ID, and a direct URL to access the draft.
    
list_data_product_delivery_methods tool
Use this tool when you need to find delivery methods available for a data asset.
    Finds delivery methods for data asset (data_asset_id) in container_type (ID: container_id).
    This is called before `add_delivery_methods_to_data_product()` to find the delivery methods available for the given data asset.
    Example: 'Find delivery methods for customer asset in the data product draft' - This gets the container type ('catalog' or 'project') where this asset is in, the ID of the container, and the data asset ID.
    If you are not sure about the container ID, use the `list_containers` tool to find it out.
    If you are not sure about the data asset ID of the requested data asset, use the `search_asset` tool to find it out.
    Prompt user to choose delivery methods from the list of available delivery methods.

    **Not for subscriptions:** this lists every delivery method compatible with the asset's connection, which is
    what a publisher chooses from when authoring a draft. To subscribe to a published data product, use the
    delivery methods enabled for each part, returned by `get_data_product_details` (parts_out[].delivery_methods).

    **URL assets (ibm_url_definition):** These have no underlying connection. This tool automatically
    detects them and returns the 'Open URL' delivery method directly — no connection lookup is needed.

    Return: A list of available delivery methods for the data asset, including their IDs, names, and descriptions.
    
list_data_product_business_domains tool
Use this tool if user is not sure of the business domain name or if the user asks for the list of business domains.
    This tool gets all business domains listed in the system.
    Example: What are the domains available?
    Call: list_data_product_business_domains with keyword as None.
    Optionally, user can provide a keyword to search for business domains. In this case, call the tool with the keyword.
    Example: What are the domains available for customer data?
    Call: list_data_product_business_domains with keyword as "customer".
    Returns: A list of business domains. (The unique identifier of the domain, The name of the business domain, The description of the business domain)
    
get_data_product_contract tool
Use this tool when you need to retrieve data contract for the specified data product, whether it's in draft or published (available) state.
    Example: 'Get me data contract for <data product name>'
    This tool should receive data product version ID of the specified data product as input from context. Ask for the data product state from the user.
    Returns: This tool returns the data contract of the data product.
    
get_data_contract_test_results tool
Use this tool when you need to retrieve data contract test results for the specified data product, whether it's in draft or published (available) state.
    Example: 'Get me data contract test results for <data product name>'
    This tool should receive data product version ID of the specified data product as input from context. Ask for the data product state from the user.
    Returns: This tool returns the contract test details including status, last tested time, test summary, and other metadata.
    
get_data_product_details tool
Use this tool when you need comprehensive metadata and details about a specific data product, including schema, subscriptions, and column information.
    Retrieve comprehensive information about IBM Cloud Data Product Hub data products.
    
    This tool provides detailed metadata about data products including:
    
    **get_data_product_details**: Retrieves complete metadata including:
       - Release information (version, state, description)
       - Parts/assets with names, descriptions, and enriched column schemas
       - Per-part delivery_methods (id + name): the delivery methods ENABLED by the publisher for that part.
         For a published data product, a subscription may ONLY use these methods for each part.
       - Primary key information (both at part level and column level)
       - Subscription details (only successful subscriptions with 'succeeded' state - failed deliveries are excluded)
    
    **Column Schema Details** - Each column includes:
       - Basic schema: name, data_type, length, nullable, native_type
       - Primary key flag: is_primary_key (true if column is part of primary key)
       - Column metadata (column_info object):
         * Data classification: data_class_name, data_class_confidence
         * Semantic naming: semantic_name, semantic_name_confidence, semantic_name_status
         * Descriptions: column_description, semantic_description with confidence and status
    
    **Primary Keys**:
       - Part-level: primary_keys array shows all primary key combinations (supports composite keys)
       - Column-level: is_primary_key flag on individual columns for easy identification
    
    **Required Input**: Provide either data_product_version_id OR data_product_name.
    
    **Subscription Details** (only successful subscriptions returned):
       - Only includes subscriptions with 'succeeded' state - failed subscription deliveries are not returned
       - For data_asset types: Returns 'flight_asset_id' and optionally 'flight_client_url' for data extraction
       - For ibm_url_definition types: Returns 'url' for accessing external resources
       - Each subscribed asset includes 'name' and either 'flight_asset_id' or 'url'
       - If no successful subscriptions exist, the list will be empty
    
    **Usage Tips**:
       - Rich column metadata helps understand data semantics and quality before querying
       - Primary key information is essential for joins and data relationships
       - Data classification and confidence scores indicate data sensitivity and reliability
       - flight_asset_id from subscription details enables data extraction via Flight API
       - url from subscription details provides direct access to external data sources
     Returns: Comprehensive data product metadata including release information, enriched asset schemas with column details and primary keys, and subscription details with flight_asset_id or URLs for successful subscriptions.
    
get_data_product_subscription_details tool
Use this tool when you have a subscription ID and want to see: - What data products are being delivered - The delivery status of each item - How to access the delivered data (flight descriptors)
    Retrieve the actual content (items) being delivered in a specific data product subscription.
    
    **IMPORTANT**: This tool requires a subscription ID. To find subscription IDs, first use
    the search_data_product_subscriptions tool.
    
    This tool retrieves all items from a specific subscription (asset list) by its ID.
    Each item represents a subscribed data product with detailed delivery information:
    - Asset IDs and catalog information
    - Delivery method details (e.g., Use Flight service)
    - Data product delivery state (e.g., succeeded, failed, in_progress)
    - Output assets (flight descriptors for accessing data)
    - Copy text for accessing the data
    
    Features:
    - Retrieve all items from a subscription
    - Detailed delivery state for each item
    - Access information (flight descriptors, copy text)
    
    **Workflow**: 
    1. Use search_data_product_subscriptions to find subscriptions
    2. Use this tool with the subscription ID to get the delivered items
    
    **Example Use Case**:
    After finding a subscription with ID "abc-123-def", use this tool to see:
    - Which data assets are being delivered
    - The delivery state of each asset
    - Flight descriptors or URLs to access the data

    Returns: List of items in the subscription with delivery details, total count of items, and the subscription ID that was queried
    
import_remote_assets_to_data_product_catalog tool
Use this tool when you import remote assets from catalogs or projects to the DPH (Data Product Hub) catalog. This tool validates assets, checks for duplicates, copies them to DPH catalog, creates revisions, and sets up part assets with relationships. Returns: A success message, the list of target_asset_ids in the DPH catalog (ready for data product creation), and the total count of imported assets.Use this tool BEFORE creating a data product to prepare the assets.
publish_data_product tool
Use this tool when you need to publish a data product draft.
    Make sure to call this tool after all the required fields are filled in the data product draft, like name, domain, contract URL, delivery methods, etc.
    Example: 'Publish data product draft' - Get the data product draft ID from context.
    This receives the data product draft ID to publish the data product draft.
    Returns: The URL of the published data product with success message.
    
search_data_product_subscriptions tool
Use this tool when you need to search and filter data product subscriptions (asset lists) from IBM Cloud Data Product Hub.
    
    This tool searches asset lists of type "order" which represent data product subscriptions.
    Returns subscription METADATA including ID, state, name, and owner information.
    
    **IMPORTANT**: This tool returns subscription metadata only. To see the actual items/content
    being delivered in a subscription, you would need to make additional API calls with the subscription ID.
    
    Each subscription contains:
    - Subscription ID (required for getting subscription content)
    - Subscription state (e.g., succeeded, delivered, failed)
    - Name and description
    - Access control information
    
    The filters type=="order" and asset.container.id=="<your-default-catalog>" are automatically
    appended to all queries. Results are always scoped to your default DPH catalog — cross-catalog
    queries are not supported by this tool.
    
    **CRITICAL: Finding Subscriptions for a Specific Data Product**
    
    When get_data_product_details returns data product information, it includes multiple IDs:
    - `id` (top-level): The DATA PRODUCT VERSION ID
      Example: "6d80d7d4-ca55-4fb0-8b70-bb799a2881dd@b34d014d-82d1-4374-9de2-4478e350a5f6"
      The part BEFORE the @ symbol is the asset ID: "6d80d7d4-ca55-4fb0-8b70-bb799a2881dd"
    - `asset.id`: The asset ID (same as the part before @ in the top-level id)
      Example: "6d80d7d4-ca55-4fb0-8b70-bb799a2881dd"
    
    To find subscriptions for a data product:
    1. Extract the asset ID from get_data_product_details response:
       - Use `asset.id` field directly, OR
       - Take the part BEFORE the @ symbol from the top-level `id` field
    2. Query subscriptions with: asset.id=="<asset_id_here>"
    
    **CORRECT Example:**
    - Data product details shows: `"asset": {"id": "6d80d7d4-ca55-4fb0-8b70-bb799a2881dd"}`
    - Query to use: `asset.id=="6d80d7d4-ca55-4fb0-8b70-bb799a2881dd"`
    
    **WRONG Example (DO NOT DO THIS):**
    - Using catalog ID: `asset.id=="b34d014d-82d1-4374-9de2-4478e350a5f6"` ❌
    - This will return NO results because catalog ID is not the asset ID!
    
    Features:
    - Query and filter asset lists using CEL (Common Expression Language)
    - Pagination support
    - Sort by various fields (created_at, last_updated_at)
    
    CEL Query Examples:
    - name=="My data product name" - Find subscriptions by name
    - asset.id=="6d80d7d4-ca55-4fb0-8b70-bb799a2881dd" - Find subscriptions for a specific data product
    - asset.id=="6d80d7d4-ca55-4fb0-8b70-bb799a2881dd"&&created_at>="2025-10-08T23:00:00Z" - Filter by product and date
    - state=="succeeded" - Find successfully delivered subscriptions
    - created_at>="2024-01-01"&&state=="delivered" - Combine multiple conditions
    - access_control.owner=="IBMid-123456" - Filter by owner
    
    Returns:
    - List of subscriptions with metadata (ID, state, name, owner)
    - Pagination information (next, first links)
    - Total count of results
    
search_data_products tool
Use this tool when you need to search for data products in the Data Product Hub with flexible filtering by name, domain, state, and creation date.
    Please note that the date filter is only for creation date. If the query is about a different date not related to product creation, please do not provide creation dates.

    This tool searches the Data Product Hub catalog and returns matching data products. Multiple filters can be
    applied simultaneously to refine results (e.g., find products in a specific domain created within a date range).
    
    State Filter:
    - "draft": Returns only unpublished/draft data products
    - "published": Returns only published data products
    - None (default): Returns both draft and published data products

    Contract Test Fields (searchable):
    - contract_test_status: The result of the last contract test run. Typical values are "Queued", "Failed", or "Completed". Note: "Completed" means the contract test passed successfully.
    - contract_test_last_run_at: ISO 8601 timestamp of when the contract test was last executed.
    Both fields are returned on each data product and are included in full-text search, so queries such as
    "find data products with a Failed contract test" will match on contract_test_status.
    
    Date filters are inclusive and can be used independently or together. When only one date is provided,
    it creates an open-ended filter (e.g., only created_date_after finds all products from that date onwards).

    CRITICAL - Natural Language Date Parsing (only for creation date filters):
    This tool ONLY accepts dates in YYYY-MM-DD format. When users provide natural language dates,
    convert them to YYYY-MM-DD before calling this tool using these rules:
    
    Temporal Logic (assume current date: February 11, 2026):
    1. NEVER return future dates - always use most recent PAST occurrence
    2. "today" → 2026-02-11, "yesterday" → 2026-02-10
    3. "last week" → created_date_after="2026-02-04", created_date_before="2026-02-11" (7 days)
    4. "past month" → created_date_after="2026-01-12", created_date_before="2026-02-11" (30 days)
    5. "this year" → created_date_after="2026-01-01", created_date_before="2026-02-11"
    6. Day only: "5th" → 2026-02-05 (current month if not passed), "15th" → 2026-01-15 (previous month if passed)
    7. Month+Day: "Dec 15th" → 2025-12-15 (December 2026 would be future, use 2025)
    8. Month only: "December" or "in December" → 2025-12-01 to 2025-12-31 (December 2026 would be future, use 2025)
    9. Month only (already passed this year): "January" → 2026-01-01 to 2026-01-31 (January 2026 is in the past)
    10. Explicit year: "March 5th 2025" → 2025-03-05
    11. Leap years: "Feb 29th" → use most recent leap year (2024-02-29)

    Examples:
        # Basic search
        search_data_products(product_search_query="Customer")
        search_data_products()  # All products (default "*")
        
        # Domain filtering
        search_data_products(domain="Finance")
        
        # State filtering
        search_data_products(state_filter="draft")  # Only drafts
        search_data_products(state_filter="published")  # Only published
        
        # Date filtering (ISO format)
        search_data_products(created_date_after="2026-01-01", created_date_before="2026-01-31")
        
        # Natural language conversions (convert before calling):
        # User: "products from yesterday" →
        search_data_products(created_date_after="2026-02-10", created_date_before="2026-02-10")
        
        # User: "products from last week" →
        search_data_products(created_date_after="2026-02-04", created_date_before="2026-02-11")
        
        # User: "products created in December" (Dec 2026 would be future, use Dec 2025) →
        search_data_products(created_date_after="2025-12-01", created_date_before="2025-12-31")
        
        # User: "products created in January" (Jan 2026 already passed, use Jan 2026) →
        search_data_products(created_date_after="2026-01-01", created_date_before="2026-01-31")
        
        # User: "products from 15th December" →
        search_data_products(created_date_after="2025-12-15", created_date_before="2025-12-15")
        
        # Combined filters
        search_data_products(product_search_query="Sales", domain="Finance", created_date_after="2026-01-01", state_filter="published")
    Returns: A comprehensive list of data products matching the search criteria, with detailed information about each product including its versioning, state, domain, and associated assets.
create_data_protection_rule tool
Use this tool when you need to create a data protection rule from JSON string.

⚠\ufe0f IMPORTANT: Call get_data_protection_rule_schema() FIRST to get the JSON format, valid terms, and examples.

This tool accepts a JSON string defining the rule and creates it in the system.

WORKFLOW:
1. FIRST: Call get_data_protection_rule_schema() to understand the JSON format
2. THEN: Call this tool with preview_only=true (default) to preview the rule
3. FINALLY: After user confirms, call again with preview_only=false to create

Returns: Preview or creation result with rule_id and URL
get_policy_metrics tool

    Use this tool to retrieve and aggregate DPS (Data Privacy and Security) policy
    enforcement metrics for a specified time period.
    You must specify what type of metrics to retrieve (metrics_type) and how to aggregate
    them (aggregation_type). Optional filters let you scope the results to a specific
    policy, rule, user, governance type, outcome, or other dimensions.
    Example: 'Show me enforcement counts grouped by policy for 2024'
    In this case metrics_type is 'enforcements' and aggregation_type is 'policies'.
    Returns: A list of metric records, each containing an aggregate dimension value and
    its corresponding enforcement count, plus the total number of records returned.
    
get_data_protection_rule_schema tool
Use this tool when you need to understand the JSON schema and format requirements before creating a data protection rule.
    Returns: The complete JSON schema, valid terms, examples, and formatting rules for creating data protection rules.
search_governance_artifacts tool
Use this tool when you need to search for existing governance artifacts by correct names in IBM Knowledge Catalog.
    This tool searches for all 6 governance artifact types: classifications, data classes, glossary terms, policies, governance rules, and reference data.
    
    Examples:
        - "Find all classifications related to Personally Identifiable Information data"
        - "Look up glossary terms about customer information"
        - "Look up business terms about account"
        - "Search for data classes social security data"
        - "Check if we already have a classification for sensitive personal data"
        - "Search for policies about data retention"
        - "Look up governance rules about access control"
        - "Search for reference data about country codes"
    Returns: List of matching governance artifacts with count and status message.
    
search_data_protection_rules tool

    Use this tool when you need to search all data protection rules to return data protection rules that match the given search query.
    Example: 'Find all data protection rules with Deny name.'
    In this case, search_data_protection_rules_query is 'Deny', and this tool returns all data protection rules that have Deny in their name or description.
    Example: 'Show me all data protection rules'
    In this case, search_data_protection_rules_query is '*'.
    Return: List of data protection rules matching the search query, with detailed information about each rule including its name, description, last modification date, and a direct URL to access it and total count.
    
create_data_quality_rule tool
Use this tool when you need to create a new data quality rule based on a provided SQL query. This tool allows you to define a data quality rule by specifying a SQL query that will be used to evaluate data quality. The tool returns details of the created data quality rule, including its ID, project ID, UI URL, and name.
Query API Reference: https://cloud.ibm.com/apidocs/knowledge-catalog

Returns: The rule ID, project ID, UI URL, and name of the created data quality rule.

Raises:
    ToolProcessFailedError: If the data quality rule creation fails fails.
    ExternalServiceError: If the data quality rule service request fails.

Note:
    This tool requires confirmation before execution as it creates a new resource.
list_data_quality_rules tool
Use this tool when you need to find data quality rules in the given project. If data quality rule name is not provided, then return all the data quality rules from this project.

Do NOT use for running/executing rules (use run_data_quality_rule instead).
Do NOT use for creating, updating, or deleting rules.

Returns:A list of objects, each containing the rule ID, project ID, UI URL, and name. If no data quality rules are found, the tool returns an empty list with a message.

Raises:
    ToolProcessFailedError: If the data quality rule find fails.
    ExternalServiceError: If the data quality rule find service request fails.
get_data_quality tool
Use this tool when you need to retrieve data quality metrics and information for a specific asset. This tool fetches quality metrics for a data asset, including overall quality score and specific dimensions like consistency, validity, and completeness. This information helps assess the reliability and usability of the data.

You can pass either IDs or names for both asset and container.

REQUIRED: ALL THREE parameters are mandatory. Ask for any missing information:
1. asset_id_or_name - The specific data asset name/ID (e.g., "CustomerTable") - REQUIRED
2. container_id_or_name - The project or catalog name/ID (e.g., "AgentsDemo") - REQUIRED
3. container_type - Either "project" or "catalog" - REQUIRED

When asking for missing information:
- If asset name is missing: Ask "Which asset would you like to check?"
- If container is missing: Ask "Which project or catalog contains this asset?"
- If container type is missing: Ask "Is this in a project or catalog?"
- If user mentions "project" or "catalog", use that value directly

Returns: Quality metrics including overall quality score, consistency score, validity score, completeness score, and a URL to the detailed quality dashboard.

Raises:
    ToolProcessFailedError: If quality metrics cannot be retrieved or the service call fails.
get_data_quality_for_assets tool

Retrieve data quality metrics for multiple assets in bulk. This tool fetches quality metrics for multiple data assets, including overall quality score and specific dimensions like consistency, validity, and completeness. This information helps assess the reliability and usability of the data.

You can pass either IDs or names for both assets and container.

REQUIRED: ALL THREE parameters are mandatory. Ask for any missing information:
1. asset_ids_or_names - List of data asset names/IDs (e.g., ["CustomerTable", "OrdersTable"]) - REQUIRED
2. container_id_or_name - The project or catalog name/ID (e.g., "AgentsDemo") - REQUIRED
3. container_type - Either "project" or "catalog" - REQUIRED

When asking for missing information:
- If asset names are missing: Ask "Which assets would you like to check?"
- If container is missing: Ask "Which project or catalog contains these assets?"
- If container type is missing: Ask "Are these in a project or catalog?"
- If user mentions "project" or "catalog", use that value directly

Returns: Quality metrics for all requested assets including:
- assets: list of per-asset results, each containing asset_id_or_name, overall quality score, scores_by_dimension (e.g. consistency, validity, completeness), and report_url
- total_count: number of assets with quality data returned
- requested_count: number of assets requested
- missing_count: number of assets without quality data

Raises:
    ToolProcessFailedError: If quality metrics cannot be retrieved or the service call fails.
run_data_quality_rule tool
Executes a specific data quality rule and returns details about the execution. Use when the user wants to re-run a rule.
    Do NOT use when the user only wants to view rule. Do NOT use for creating, updating, or deleting rules. Do NOT call this tool for describe data quality rules.
    Do NOT use when required parameters (project_id, rule_id) are missing.
    
    Wrapper that accepts direct parameters instead of a request object.
    
    Returns:
        An object containing complete information about the data quality rule:
            - data_quality_rule_id: The ID of the data quality rule
            - project_id: The ID of the project
            - data_quality_rule_ui_url: URL to view the data quality rule in the UI
            - data_quality_rule_name: The name of the data quality rule
    
    Raises:
        ToolProcessFailedError: If the data quality rule run fails.
        ExternalServiceError: If the data quality rule service request fails.
set_validates_data_quality_of_relation tool
Use this tool when you need to establish a relationship between a data quality rule and a column in a data asset within a project. This relationship is used to report the data quality score for the specified column using the logic defined in the data quality rule. The tool returns details of the data quality rule, including its ID, project ID, UI URL, and name.

Returns: The rule ID, project ID, UI URL, and name of the data quality rule.

Raises:
    ToolProcessFailedError: If the data quality rule relation set operation fails.
    ExternalServiceError: If the data quality rule service request fails.
explain_glossary_artifact tool
Retrieve and explain metadata about a published glossary artifact.

Use this tool for any general glossary lookup — when the user asks to look up, explain, define, or find a glossary artifact. This is the default tool for all glossary artifact questions. Only defer to `get_artifact_details` when the user explicitly asks about a draft or pending-approval artifact.

Supports: glossary terms, classifications, data classes, reference data, policies, and rules.

Returns: artifact details (id, name, type, url), a textual explanation of the artifact's definition and purpose, and a flag indicating whether the description was AI-generated.
get_asset_glossary_artifacts tool
Use this tool when you need to retrieve all business terms and classifications (these are the only two supported types of glossary artifacts) associated with a specific asset.
    When a user requests "get/list glossary items" without specifying asset details, prompt them to provide the following required parameters: asset_id_or_name, container_id_or_name, and container_type.
    
    This tool finds all glossary terms and classification that have been assigned to a particular asset.
    This helps understand the business context and semantic meaning of the asset.
    Return: A formatted string listing all business terms and classifications associated with the specified asset, or a message indicating no glossary artifacts were found for the asset in the container.
get_glossary_csv_schema tool
Get detailed information about the CSV schema for importing glossary artifacts.

Use this tool when you need to:
- Generate a CSV from a document (like a policy or specification)
- Validate CSV format before calling import_glossary_from_csv
- Understand what fields are available for glossary artifacts
- Learn the constraints for each field

The schema includes:
- Required and optional column names
- Column descriptions and purposes
- Allowed values for enumerated fields
- Validation constraints
- Example CSV content
- Best practices for CSV generation

Returns: comprehensive schema information that helps LLMs understand how to:
1. Generate properly formatted CSV content from unstructured documents
2. Validate user-provided CSV files before import
3. Understand constraints and validation rules
import_glossary_from_csv tool
Use this tool when you need to import business glossary terms and categories from CSV files.

Wrapper that accepts parameters directly.

This tool accepts CSV content following IBM watsonx.data intelligence (https://dataplatform.cloud.ibm.com/docs/content/wsj/governance/csv-import.html) format and either validates or imports glossary artifacts.

**Supported Artifact Types:**
- glossary_term: Business terms with definitions, examples, and relationships
- category: Organizational categories for grouping terms

**CSV Format Requirements:**

Required columns (marked with *):
- Name*: Name of the artifact
- Artifact Type*: Type ('glossary_term' or 'category')
- Category*: Parent category path for terms (defaults to "[uncategorized]" if not provided). Optional for categories (empty for top-level)

Optional columns for Terms - Basic Information:
- Description: Detailed description
- Tags: Tags associated with the term
- Business Start: Business start date
- Business End: Business end date

Optional columns for Terms - Relationships:
- Classifications: Classifications assigned to the term
- Data Classes: Data classes associated with the term
- Related Terms: Comma-separated related term names
- Synonyms: Alternative names
- Abbreviations: Abbreviations for the term
- Secondary Categories: Additional categories beyond the primary one

Optional columns for Terms - Governance:
- Stewards: User stewards responsible for the term
- Steward Groups: Group stewards responsible for the term

Optional columns for Terms - Advanced:
- Rating: Rating value for the term
- System Business Reference: System business reference information
- Extended Attribute Groups (DQ Constraints): Data quality constraints
- Custom Attributes: Any custom attribute columns (prefixed with custom_)

Optional columns for Terms - Modification Details:
- Creator: Who created the term
- Created At: When the term was created
- Modifier: Who last modified the term
- Modified At: When the term was last modified

Optional columns for Categories - Basic Information:
- Category: Parent category path (empty for top-level, or "Parent >> Child" for nested)
- Description: Detailed description
- Tags: Tags associated with the category
- Business Start: Business start date
- Business End: Business end date

Optional columns for Categories - Governance:
- Classifications: Classifications assigned to the category
- Stewards: User stewards responsible for the category
- Steward Groups: Group stewards responsible for the category

Optional columns for Categories - Advanced:
- Reporting Authorized: Whether reporting is authorized
- Custom Attributes: Any custom attribute columns (prefixed with custom_)

Optional columns for Categories - Modification Details:
- Creator: Who created the category
- Created At: When the category was created
- Modifier: Who last modified the category
- Modified At: When the category was last modified

**Example CSV:**
```
Name,Artifact Type,Category,Description,Related Terms,Synonyms
Credit Risk,glossary_term,Risk Management,The potential for financial loss,"Probability of Default,Loss Given Default",Default Risk
Risk Management,category,,Category for risk-related terms,,
```

**Validation Mode:**
Set validate_only=true to check CSV format without importing. Returns detailed error messages with row numbers.

**Import Mode:**
Set validate_only=false to import artifacts. Creates categories first, then terms, establishing all relationships.

**Error Handling:**
Returns structured errors with:
- Row number (1-based, excluding header)
- Column name where error occurred
- Error message
- Problematic value

Returns: Import/validation status, counts of created and updated categories and terms, any validation errors, and optional process tracking information.
This enables LLMs to generate properly formatted CSVs and validate user-provided CSVs before import.
import_glossary_status tool
Check the status of a glossary CSV import process.

Returns:
- Current status of the import
- Counts of created/modified artifacts
- Any errors that occurred

Status values:
- SUCCEEDED: Import completed successfully
- COMPLETED: Import completed (alternative success state)
- FAILED: Import failed with errors
- ERROR: Import encountered an error
- TIMEOUT: Import timed out
- IN_PROGRESS: Import still running
glossary_curator tool
Curate, define, enrich, translate, and classify IKC glossary terms at scale via parallel sub-agents.

Use this tool when a user wants to:
- generate or improve IKC glossary term definitions
- translate glossary term names and definitions into another language
- classify glossary terms by a data privacy regulation (e.g. GDPR, CCPA)
- check the status of an ongoing curation session
- complete or finalise a curation session

IMPORTANT: If no curate-glossary skill is active, this description is the complete guide — do not look for, read, or recreate a SKILL file. A missing or deleted SKILL file is expected on this path. If a curate-glossary skill IS active, follow the skill instructions instead of this description.

## Run sequence — one question per turn, wait for the answer before asking the next
1. Ask: "Which category would you like to curate?" Call list_glossary_categories. Resolve to category_identifier. Confirm with user. STOP — wait for answer.
2. Ask: "Which project?" Call list_containers. Resolve to project_identifier. Confirm with user. NEVER skip this step even if the user provided a category — project_identifier is always required. STOP — wait for answer.
3. Ask: "Which mode: definition, translation, or classification?" STOP — wait for answer.
4. Ask each mode param as a separate question (see Mode params below). Ask one param at a time. STOP after each question — wait for the answer before asking the next. Do not call start_session until every required mode param is collected.
5. Recommended: call start_session run_type='preview'. Show chunk 0 result. Ask user to confirm before full run.
6. Call start_session run_type='full'. Poll session_status until status=ready_for_review.
7. Call complete_session. DESTRUCTIVE — imports directly into the catalog.

One tool, six operations — set 'operation' to select:

**start_session** — extract terms from a category and partition into chunks.
  Required: project_identifier (ALWAYS ask the user for the project name if not already known — never assume or skip),
            start.category_identifier (UUID or category name),
            start.mode ('translation' | 'classification' | 'definition'),
            start.<mode>_prompt — the curation instruction for the subagents (see Mode params below for the required field name and preset text per mode)
  Optional: start.run_type ('preview'|'full', default 'preview') — preview: chunk 0 sample only; full: all chunks + enables complete_session
  After a preview completes: display the curated content returned in the response to the user before asking whether to proceed with a full run.

**get_chunk_prompt** — (sub-agent) fetch the full prompt for one chunk.
  Required: project_identifier, session_id, chunk_index

**submit_chunk** — (sub-agent) save curated CSV. Idempotent.
  Required: project_identifier, session_id, chunk_index, sub_agent_id, curated_terms_csv

**session_status** — poll progress; returns completed_chunks and pending_chunks.
  Required: project_identifier, session_id
  Optional: chunk_index — returns diagnostic detail for that chunk (pre_curated_rows, post_curated_rows, respawns)
  Note: when all chunks complete on a full run, status transitions to ready_for_review and a review CSV is produced.

**complete_session** — import curated terms. Full sessions only (ready_for_review required).
  Required: project_identifier, session_id

**list_sessions** — list all sessions with status and progress.
  Required: project_identifier
  Optional: status_filter ('all'|'in_progress'|'completed'|'import_failed'|'completed_with_blocked_chunks'|'stale_session', default 'all')
            run_type_filter ('all'|'preview'|'full', default 'all')

## Mode params — assemble before calling start_session

**definition**
  start.definition_scope (required) — ALWAYS ask the user explicitly: "Should I write definitions for all terms, or only terms with blank descriptions?" Set to 'all' or 'blanks_only' based on their answer. Do not assume or default — wait for the user's answer.
  start.definition_prompt (required) — set to:
  "Write a new Description for each row based solely on the term Name and Part Of Terms when populated.
  Ignore any existing content in the Description column entirely.
  Do not begin a definition with the term name or a verb — open with a noun phrase.
  Write exactly 1 sentence per term. State the core meaning directly — no use cases, no qualifications unless essential to distinguish the term from something similar.
  Keep all other columns unchanged."

**translation**
  start.target_language (required) — ask the user which language to translate into.
  start.translation_prompt (required) — set to (replace {target_language}):
  "Translate the Name and Description columns of each row into {target_language}.
  Detect the source language of each row independently — the glossary may contain a mix of languages.
  If a row is already written in {target_language}, leave it unchanged.
  Every translated field must be written ENTIRELY in {target_language} — no bilingual output.
  If the Description field is empty in the source row, leave it empty — do not generate or invent a description.
  Translate the full meaning; do not shorten, summarize, or omit sentences.
  Preserve technical terms and proper nouns unchanged.
  Keep Artifact Type, Category, and all other columns unchanged."

**classification**
  Step 1: Ask: "Which regulation would you like to classify under? (e.g. GDPR, CCPA)" STOP — wait for answer.
  Step 2: Ask: "Which IKC label names should be used? The defaults are: Personal Information, Sensitive Personal Information, Unclassified. Please confirm these or provide your own." STOP — wait for the user to explicitly confirm or provide custom labels before proceeding.
  Step 3: Assemble start.classification_prompt using the confirmed {regulation} and {label_list}:
  "Classify each term under {regulation} by updating its Classifications column.
  Use the term Name, Description, and Part Of Terms together.
  Choose the best-fit label from: {label_list}.
  Use ONLY the exact label strings listed. Leave Classifications empty if no label fits.
  Keep all other columns unchanged."
  After the session, display: AI-generated classifications — validate with compliance/legal before use.
get_lineage_id tool
Use this tool when you converts asset IDs from container scope into a unique lineage identifier required by other lineage tools.This is an alternative to search_lineage_assets when you already know the exact container and asset IDs. Return: A unique lineage identifier (either a 64-character hexadecimal string or a UUID-format string) that can be used with other lineage tools.
get_lineage_comparison tool
 Use this tool when you need to performs a comparison of assets between two versions. It can be either for singular assets coming from search_lineage_assets
    or for graphs coming from get_lineage_graph. Returns a list of assets with their status and optionally a list of edges with statuses for graphs.
    
    **CRITICAL** - this tool should be used after user used either search_lineage_assets or get_lineage_graph on their own or
    should be called as a last tool when user's request requires usage of combination of tools. The dates for comparison should come from
    list_lineage_versions.

    Example Workflow:
        User: "Compare lineage graph for asset CUSTOMER_TABLE at September 24th 2025 and October 10th 2025"
        1. Call list_lineage_versions(since="2025-09-24Z", until="2025-10-24Z")
        2. Choose first and last versions from the list
        3. Call search_lineage_assets(name_query="customer_table")
        4. Extract lineage ID from results: "75a06535eb329a6b..."
        5. Call get_lineage_graph(lineage_ids="75a06535eb329a6b...", hop_up=50, hop_down=50, dates=["2025-09-24T04:10:12.828Z", "2025-10-23T08:54:02.17Z"])
        6. Extract lineage IDs from the results
        7. Call get_lineage_comparison(
            compared_lineage_assets=["75a06535eb329a6b...","12b06535eb329a6b..."],
            lineage={"initial_asset_ids": ["75a06535eb329a6b..."]},
            base_version="2025-09-24T04:10:12.828Z",
            compared_version="2025-10-23T08:54:02.17Z"
           )
        8. Return results

    Example Workflow2:
        User: "How did lineage asset CUSTOMER_TABLE change between September 24th 2025 and October 10th 2025"
        1. Call list_lineage_versions(since="2025-09-24Z", until="2025-10-24Z")
        2. Choose first and last versions from the list
        3. Call search_lineage_assets(name_query="customer_table", dates=["2025-09-24T04:10:12.828Z", "2025-10-23T08:54:02.17Z"])
        4. Extract lineage ID from results: "75a06535eb329a6b..."
        5. Call get_lineage_comparison(
            compared_lineage_assets=["75a06535eb329a6b..."],
            base_version="2025-09-24T04:10:12.828Z",
            compared_version="2025-10-23T08:54:02.17Z"
           )
        6. Return results

    Returns: A list of lineage assets that are available between the two dates with their statuses.

    Raises:
        ExternalServiceError: If the API request fails (status code != 200)
        ToolProcessFailedError: If no entities are found for the given IDs
    
get_lineage_graph tool
Use this tool when you need to retrieve upstream and downstream lineage graph using lineage IDs.
    
    This tool generates a data lineage graph showing data flow relationships both upstream
    (data sources) and downstream (data consumers) from the specified assets. The graph depth
    in each direction is controlled by the hop parameters.

    If user asks for ultimate target or source or both and the returned asset's id is the same as in query - it is the answer.
    Always return full answer.

    Call this tool to get graph information and/or related assets.
    
    **CRITICAL REQUIREMENT**: This tool ONLY accepts valid lineage IDs. Two formats are supported:
    - 64-character hexadecimal string (legacy CPD format), e.g. "aaaaaaaaaabbbbbbbbbbccccccccccddddddddddeeeeeeeeee11111111112222"
    - UUID format (SaaS format), e.g. "ffffffff-bbbb-dddd-cccc-aaaaaaaaaaaa"
    
    **DO NOT CALL THIS TOOL IF**:
    - You have asset names (e.g., "customer_table") → Call search_lineage_assets first
    - You have short or non-hexadecimal identifiers → Call search_lineage_assets first
    
    **ONLY CALL THIS TOOL IF**:
    - You have a 64-character hexadecimal string like "aaaaaaaaaabbbbbbbbbbccccccccccddddddddddeeeeeeeeee11111111112222"
    - You have a UUID-format lineage ID like "ffffffff-bbbb-dddd-cccc-aaaaaaaaaaaa"
    - You obtained the lineage ID from search_lineage_assets results
    - You obtained the lineage ID from get_lineage_id results
    
    Validation: Before calling this tool, verify each lineage_id matches one of:
    - Either an exactly 64 hexadecimal characters (0-9, a-f)
    - or UUID format: 8-4-4-4-12 hexadecimal characters separated by dashes
    - If validation fails, call search_lineage_assets instead
    
    Returns: Lineage graph containing:
            - lineage_assets: Complete list of assets in the lineage graph with metadata
            - edges_in_view: Connections between assets showing data flow in format - edge from: AssetA, to: AssetB, relation: RelationType
            - url: Direct link to visualize the lineage graph in the UI
    
    Raises:
        ExternalServiceError: When the API request fails (non-200 status code)
        ToolProcessFailedError: When the response is missing expected graph data
        ValidationError: When lineage_ids are not valid lineage ID strings (neither 64-char hex nor UUID format)
    
    Notes:
        - Always provide both hop_up and hop_down parameters. If user provides one of them, the other should be "0"
        - If neither is specified, both hops default to "3"
        - When asked about related assets the value of both hops should be "50"
        - When ultimate source/target matches the query asset ID, that asset is the answer
        - Always include the URL link in your response for user visualization
        - Return complete results without truncation
        - User can ask for ultimate target and/or source. The workflow is the same as asking for lineage graph.
        - Ultimate should be set to "both" only if user asks for ultimate source and target
        - If user is attempting to compare two versions, list_lineage_versions needs to be called first
        - If the list_lineage_versions is called first - pick first and last date from the list
    
    Example Workflow:
        User: "Show me the lineage for customer_table"
        1. Call search_lineage_assets(name_query="customer_table")
        2. Extract lineage ID from results: "75a06535eb329a6b..."
        3. Call get_lineage_graph(lineage_ids="75a06535eb329a6b...")
        User: "Show me the lineage for account_table"
        1. Call search_lineage_assets(name_query="account_table")
        2. Extract lineage ID from results: "75a06535eb329a6b...","85a06535eb329a6b...","95a06535eb329a6b..."
        3. Call get_lineage_graph(lineage_ids=["75a06535eb329a6b...", "85a06535eb329a6b...","95a06535eb329a6b...")
    Example Workflow 2:
        User: "What is the ultimate source and target asset from lineage of lineage asset LOAD_ACCOUNT_TYPES?"
        1. Call search_lineage_assets(name_query="LOAD_ACCOUNT_TYPES")
        2. Extract lineage ID from results: "75a06535eb329a6b..."
        3. Call get_lineage_graph(lineage_ids="75a06535eb329a6b...", ultimate="both")
    Example Workflow 3:
        User: "Find the lineage asset 'PRODUCTS_VIEW_BODY' and fetch the lineage path to 'PRODUCTS_VIEW' asset"
        1. Call search_lineage_assets(name_query="PRODUCTS_VIEW_BODY")
        2. Extract lineage ID from results: "75a06535eb329a6b..."
        3. Call search_lineage_assets(name_query="PRODUCTS_VIEW")
        4. Extract lineage ID from results: "85a06535eb329a6b..."
        5. Call get_lineage_graph(lineage_ids=["75a06535eb329a6b...", "85a06535eb329a6b..."], hop_up=50, hop_down=50, ultimate=None)
        6. Search for PRODUCTS_VIEW in response and return the path from PRODUCTS_VIEW_BODY to the user
    Example Workflow 4:
        User: "Get lineage for LOAD_ACCOUNT_TYPES. What changed between 2024 and 2025?"
        1. Call list_lineage_versions(since="2024Z",until="2025Z")
        2. Extract first and last value from the list
        3. Call search_lineage_assets(name_query="LOAD_ACCOUNT_TYPES")
        4. Extract lineage ID from results: "75a06535eb329a6b..."
        5. Call get_lineage_graph(lineage_ids=["75a06535eb329a6b..."], hop_up=50, hop_down=50, ultimate=None, dates=["2025-10-23T08:54:02.17Z","2025-09-12T06:35:27.115Z"])
    
get_lineage_source_code tool
Use this tool to retrieve the SQL/transformation logic of a lineage asset: the source
    code of a stored procedure, view or function, and the transformation expression of a column flow.

    This tool answers questions like:
    - "What does this stored procedure actually do?"
    - "How is this column derived / what is the transformation logic?"
    - "Show me the SQL behind this view"

    Given a lineage ID it works in this order:
    1. Reads the asset (/gov_lineage/v2/lineage_assets/{id}) and returns all its attributes, including
       TRANSFORMATION_DESC (also returned separately as `transformation_desc`).
    2. For every source code snippet attached to the asset, reads the targeted snippet
       (/gov_lineage/v2/source_code_snippets/{id}) first.
    3. If the snippet is missing, empty or cannot be read, falls back to the full source
       (/gov_lineage/v2/source_codes/{id}) and marks it with is_full_source=true.
    An asset can have several snippets (for example a function and the view that calls it), and
    transformation logic and source code are on different assets: column flows carry the
    TRANSFORMATION_DESC attribute, while procedures, functions and the body assets of views and
    procedures (named <name>_BODY, e.g. returnstableintview_BODY) carry the code. A View asset
    itself can come back empty: search for its _BODY asset instead. Assets with neither (plain
    tables and columns) return empty results. The code is returned as a whole; it is not narrowed
    to the lines that produce a single column.

    **CRITICAL REQUIREMENT**: This tool needs a lineage ID (64-character hexadecimal string or UUID).
    Obtain the lineage ID from search_lineage_assets or get_lineage_id first if you don't have it.

    Typical workflow:
        User: "What is the logic that calculates the <column_name> column?"
        1. Call search_lineage_assets(name_query="<column_name>") to find the asset
        2. Extract the lineage ID from the result
        3. Call get_lineage_source_code(lineage_id="<id>") to get the transformation logic
        4. Explain the returned code to the user in plain language

    Returns:
        - lineage_id, asset_name, asset_type: the queried asset
        - attributes: all attributes of the asset by name
        - transformation_desc: the TRANSFORMATION_DESC attribute, when the asset has one
        - snippets: source code snippets attached to the asset (check snippets[].source_code).
          start_position/end_position show where the snippet sits in the full source when known.
        - failed_snippet_ids: snippets that could not be read because the lineage service failed.
          success is false only when every snippet failed.
        - source_code: full source code, only when the given ID is a snippet or source code ID
    
list_lineage_versions tool
Use this tool when you need to fetch versions within a given date range so users can compare them.
    Data returned by this tool is used by the lineage_comparison tool and get_lineage_graph tool.

    Returns: A list of lineage versions that are available between the two dates.

    Raises:
        ExternalServiceError: If the API request fails (status code != 200)
        ToolProcessFailedError: If no entities are found for the given IDs
    
search_lineage_assets tool
Use this tool when you need to search for assets in the Lineage system based on name and optional filters.
    
    This tool finds lineage assets matching the provided name query, with filtering
    by technology name, asset type, and Data Source Definition (DSD). Results are sorted by relevance, with exact matches first.
    Use filters only if user mentions them. Try to find the best match for filters.
    Do not shorten the results. Returns an empty list if no query or filters are given.
    Method can return an empty list if no assets where found or if user has input no data.
    If user did not specify a filter do not send 'null' as string - use None or '' instead.
    
    **REQUIRED FIRST STEP**: Searches for assets by name and returns their lineage IDs.
    
    **CRITICAL**: This tool MUST be called before get_lineage_graph when you have:
    - Asset names (e.g., "customer_table", "sales_data")
    - Partial asset names or search patterns
    - Any non-hexadecimal identifier
    
    This tool converts human-readable asset names into lineage IDs required by get_lineage_graph.
    Two ID formats may be returned depending on the deployment:
    - 64-character hexadecimal string (legacy CPD format)
    - UUID format (SaaS format), e.g. "ffffffff-bbbb-dddd-cccc-aaaaaaaaaaaa"
    Results include the lineage ID in the 'id' field of each asset.
    User can ask to compare the state of the asset between two versions returned by list_lineage_versions - use
    the dates fields then. Otherwise the dates field should be none.
    
    Workflow:
    1. Call this tool with asset name → Get lineage ID from results
    2. Pass the lineage ID to get_lineage_graph → Get lineage graph
    
    Returns: Search results containing:
            - lineage_assets: List of matching assets with properties:
                * id: **lineage ID** (use this for get_lineage_graph — either 64-char hex or UUID format)
                * name: Display name of the asset
                * type: Asset type classification
                * tags: Associated tags
                * identity_key: Resource identity key with parent hierarchy
                * parent_name: Name of the parent asset
                * parent_type: Type of the parent asset
            - response_is_complete: Boolean indicating whether all results are included
    
    Raises:
        ExternalServiceError: When the API request fails (non-200 status code)
        ToolProcessFailedError: When the response is missing expected data
    
    Notes:
        - Returns an empty list if no query or filters are provided
        - Returns an empty list if no matching assets are found
        - Use None or empty string for unspecified optional filters (not "null" string)
        - Apply filters only when explicitly mentioned by the user
        - **Extract the 'id' field from results to use with get_lineage_graph**
        - If user wants related assets call get_lineage_graph after this tool
    
create_or_update_metadata_enrichment_asset tool
Use this tool when you need to create a new metadata enrichment (MDE) asset or updates an existing one within a specified project.

    **IMPORTANT:** 
    - Do not make assumptions or add any values the user did not provide in his prompt.
    - FOllow the user instructions to the letter.
    
    This tool automatically detects whether to create or update based on whether an MDE with the given name exists

    CREATE MODE (when MDE doesn't exist):
    - Requires: metadata_enrichment_name, dataset_names or metadata_import_names
    - Creates a new metadata enrichment asset with the specified datasets
    - Validates that datasets exist and aren't already assigned to other MDEs
    - Returns DataScopeOperation with details of the newly created asset

    UPDATE MODE (when MDE exists):
    - Requires: metadata_enrichment_name
    - Optional: dataset_names to specify the datasets to be added and dataset_names_to_remove to specify the datasets to be removed
    - Returns MetadataEnrichmentAssetPatchResponse with updated MDE details
    
    The function assumes that the datasets provided are valid and exist.
    It does not handle the creation of datasets or categories if they do not already exist.
    
create_or_update_metadata_enrichment_asset_jobs tool
Creates or updates metadata enrichment jobs within a specified project for a specific Metadata Enrichment (MDE)
    If the job exists by name (using exact match), the tool updates the existing job otherwise it creates a new job.
    
    **IMPORTANT:**
    - The user must select at least one objective
    - The user must provide category_names
    - If the categry_names are not provided use the 'list_glossary_categories' tool to find the list of the available categories.
    - Return the **FULL** list to the user and ask him to choose one or more categories to be used to create or update the MDE.
    - Do not assume or select categories, the user MUST choose.
    
    The objectives is the list of names of objectives used in the enrichment job.
    Supported objectives are 'profile', 'dq_gen_constraints', 'analyze_quality', 'assign_terms',
    'analyze_relationships', 'dq_sla_assessment', 'semantic_expansion', and 'data_search'.
    
execute_advanced_profiling tool
Use this tool when you need to execute advanced profiling on a metadata enrichment asset for selected datasets.

    This tool runs advanced profiling on specified datasets within a metadata enrichment asset.
    Advanced profiling provides detailed analysis including unique value distributions and 
    comprehensive data quality metrics.

    The tool supports four sampling presets:
    - basic: Minimum sample size (1,000 rows, 100 values for classification) - optimized for speed
    - moderate: Balanced approach (10,000 rows, 100 values for classification) - trade-off between speed and accuracy
    - comprehensive: Large sample size (100,000 rows, all values for classification) - optimized for accuracy
    - custom: User-defined sampling configuration via custom_sampling parameter

    The execution process involves:
    1. Confirming the project ID based on the provided project name.
    2. Retrieving the metadata enrichment asset ID using its name.
    3. Looking up dataset IDs from the provided dataset names.
    4. Configuring sampling based on the selected preset or custom configuration.
    5. Executing the advanced profiling job with the specified parameters.
    6. Returning job details and a URL to monitor progress in the UI.

    The function assumes the metadata enrichment asset and datasets exist within the project.
    Return: The job run ID, metadata enrichment asset ID, project ID, UI URL to monitor the profiling job, and an href location to retrieve job run details.
run_data_quality_analysis tool
Use this tool when you need to execute data quality analysis for specific datasets within a project.

    This tool performs data quality analysis on the datasets specified in the request. It retrieves the datasets,
    confirms their existence within the project, selects the designated categories, and initiates the analysis process.
    
    If the specified data asset is not included in any MDE, it will be added to an MDE named Metadata_Enrichment_for_MCP_Agent.
    If Metadata_Enrichment_for_MCP_Agent does not exist, it will be created automatically.

    The function returns a MetadataEnrichmentRun object containing details about the executed analysis job,
    including its ID, run ID, and a URL to monitor progress in the UI.

    The execution process involves:
    1. Confirming the project ID based on the provided project name.
    2. Identifying the dataset IDs based on the provided dataset names.
    3. Selecting categories for analysis based on the provided category names.
    4. Executing the data quality analysis job for the specified datasets and categories.
    5. Constructing a URL to the metadata enrichment UI for monitoring.

    The function assumes the datasets and categories are valid within the project. It does not handle dataset or category creation.
    Return: A list of objects containing job details including metadata enrichment ID, job ID, job run ID, project ID, and a UI URL to monitor the data quality analysis progress.
run_metadata_enrichment_job tool
Use this tool when you need to execute a metadata enrichment asset job within a specified project for a specified metadata enrichment asset (MDE).

    This tool initiates the execution of a pre-configured metadata enrichment asset job. It retrieves the MDE asset's details,
    confirms its existence within the project, confirm or retrives the MDE asset job ID and starts the enrichment job. The function returns a MetadataEnrichmentRun
    object containing information about the executed job, including its ID, run ID, and a URL to monitor its progress in the UI.
    
    If the user does not provide a job name, use the tool 'list_metadata_enrichment_asset_jobs' to list all the available jobs for the selected MDE and surface them back to the user to choose one.

    The execution process involves:
    1. Confirming the project ID based on the provided project name.
    2. Retrieving the metadata enrichment asset ID using its name within the project.
    3. Validating or retriving the job ID.
    4. Executing the metadata enrichment job.
    5. Constructing a URL to the metadata enrichment UI for monitoring.

    The function assumes the metadata enrichment asset is already defined and valid within the project.
    It does not handle asset creation.
    Return: Job execution details including metadata enrichment ID, job ID, job run ID, project ID, and a UI URL to monitor the enrichment progress for all configured datasets.
run_metadata_enrichment_asset_for_selected_assets tool
Use this tool when you need to execute a metadata enrichment asset for selected datasets within a specified project.

    This tool initiates the execution of a pre-configured metadata enrichment asset, applying it to multiple datasets.
    It retrieves the asset's details, confirms its existence within the project, and starts the enrichment job for the specified datasets.
    The function returns a MetadataEnrichmentRun object containing information about the executed job,
    including its ID, run ID, and a URL to monitor its progress in the UI.
    
    The execution process involves:
    1. Confirming the project ID based on the provided project name.
    2. Retrieving the metadata enrichment asset ID using its name within the project.
    3. Confirming the UUIDs of the datasets to be enriched, matching them exactly within the project.
    4. Executing the metadata enrichment job with the selected datasets.
    5. Constructing a URL to the metadata enrichment UI for monitoring.
    
    The function assumes the metadata enrichment asset is already defined and valid within the project,
    and the datasets specified exist. It does not handle asset creation or validation of dataset names beyond exact matching.
    Return: Job execution details including metadata enrichment ID, job ID, job run ID, project ID, and a UI URL to monitor the enrichment progress.
run_metadata_expansion tool
Use this tool when you need to execute metadata expansion for specific datasets within a project.
    
    This tool performs metadata expansion on the datasets specified in the request. It retrieves the datasets,
    confirms their existence within the project, selects the designated categories, and initiates the expansion process.
    
    If the specified data asset is not included in any MDE, it will be added to an MDE named Metadata_Enrichment_for_MCP_Agent.
    If Metadata_Enrichment_for_MCP_Agent does not exist, it will be created automatically.
    
    The function returns a MetadataEnrichmentRun object containing details about the executed expansion job,
    including its ID, run ID, and a URL to monitor progress in the UI.
    
    The execution process involves:
    1. Confirming the project ID based on the provided project name.
    2. Identifying the dataset IDs based on the provided dataset names.
    3. Selecting categories for expansion based on the provided category names.
    4. Executing the metadata expansion job for the specified datasets and categories.
    5. Constructing a URL to the metadata enrichment UI for monitoring.
    
    The function assumes the datasets and categories are valid within the project. It does not handle dataset or category creation.
    The metadata expansion objective includes profiling the data and expanding semantically using predefined rules or external knowledge bases.
    Return: A list of objects containing job details including metadata enrichment ID, job ID, job run ID, project ID, and a UI URL to monitor the semantic metadata expansion progress.
run_term_generation tool
Use this tool when you need to execute term generation on an existing metadata enrichment asset within a specified project.

    This tool executes term generation on a metadata enrichment asset (MDE), running for all data assets and columns associated with the MDE.
    It supports both legacy MDEs and new MDE v3 multi-job architecture.

    **MODES OF OPERATION:**

    **Mode 1: List MDEs (no metadata_enrichment_name provided)**
    - Requires: project_name
    - Lists all MDEs in the project that have data assets
    - Returns: MetadataEnrichmentResult with MDE details (name, data assets, URLs)
    - User should select ONE MDE from the list and re-run the tool
    - DO NOT offer to run on multiple MDEs simultaneously
    - **PRESENTATION**: Always format MDE listing as a markdown table with columns: MDE Name, Data Assets Count, Missing Terms, MDE URL

    **Mode 2: Execute on Legacy MDE**
    - Requires: project_name, metadata_enrichment_name
    - Detects legacy MDE (no "version": "v3" field)
    - Automatically extracts target category from MDE configuration (if configured)
    - Validates category exists in glossary
    - Executes term generation on all data assets with the configured category
    - Returns: TermGenerationResult with count of draft terms generated and category URL
    - NOTE: For legacy MDEs, the target category is pre-configured in the MDE asset settings.
      The tool automatically uses this category - DO NOT call list_glossary_categories
      or prompt user to select a category for legacy MDEs.
    - **PRESENTATION**: Always format results as a markdown table showing: MDE Name, Project, Draft Terms Generated, Target Category (with URL if available), Task Inbox URL, MDE URL

    **Mode 3: Execute on MDE v3 (Direct Mode)**
    - Requires: project_name, metadata_enrichment_name
    - Optional: job_name OR category_name (user provides target)
    - Detects MDE v3 (has "version": "v3" field)
    - If job_name provided: validates job exists and has target category configured
    - If category_name provided: validates category exists in glossary
    - Executes term generation with specified target category
    - Returns: TermGenerationResult with count of draft terms and category URL
    - **PRESENTATION**: Always format results as a markdown table showing: MDE Name, Project, Draft Terms Generated, Target Category (with URL), Task Inbox URL, MDE URL

    **Mode 4: Execute on MDE v3 (Interactive Mode)**
    - Requires: project_name, metadata_enrichment_name
    - No job_name or category_name provided
    - Lists all jobs in the MDE that have target categories configured
    - Returns: TermGenerationJobSelectionResult with job options
    - User should select ONE job from available_jobs OR provide a custom category_name
    - DO NOT offer to run on multiple jobs simultaneously
    - ALWAYS present the option to provide a custom category_name as an alternative
    - **PRESENTATION**: Always format job listing as a markdown table with columns: Job Name, Target Category

    **PARAMETERS:**
    - project_name (required): Name or UUID of the project
    - metadata_enrichment_name (optional): Name or UUID of the MDE
    - job_name (optional, v3 only): Name or UUID of the enrichment job to use
    - category_name (optional, v3 only): Name or UUID of the target glossary category

    **CRITICAL CONSTRAINTS:**
    - Only ONE MDE can be processed per tool execution
    - Only ONE job can be selected per tool execution
    - DO NOT create options to run on "all" MDEs or "all" jobs
    - ALWAYS present custom category option when listing jobs
    - Only MDEs with data assets are shown/processed (empty MDEs are automatically filtered out)
    - For MDE v3, term generation requires a target category to be specified
    - Job selection is only available for jobs that have target categories configured
    - Term names are LLM-generated and may vary between runs
    - The tool returns a delta count (new terms generated), not total terms
    
    **PRESENTATION REQUIREMENTS:**
    - ALWAYS use markdown tables for all results (MDE listings, job listings, execution results)
    - Include clickable URLs in table cells where applicable
    - Keep table formatting clean and aligned
    - Use clear, descriptive column headers
list_metadata_enrichment_asset_jobs tool

    Lists all metadata enrichment jobs for a given metadata enrichment asset.
    The tool retrieves the list of all the available jobs for a given metadata enrichment asset.
    The user should provide the MDE name or its UUID and the project name or its UUID.
    The tool returns a list of job details: id, name, description, schedule_info, objectives, categories, ... or an empty list if no job is defined.
    
get_metadata_enrichment_job_status tool
Use this tool when you need to monitor a given job's status in a given project.

                This tool checks the job status, it accepts:
                - job_id: the job id of the job to check
                - project: the project id or project name
                Return: The current job run status and the job run/asset ID.
                
list_glossary_categories tool
Use this tool when you need to retrieve the available business glossary categories from IBM Data Intelligence.
                    Returns a flat list of category names and their IDs that can be used to scope governance workflows, metadata enrichment jobs, or term assignments.
                    The tool accepts an optional category_contains parameter to filter results:
                    - To look up a category by UUID, pass the full UUID string directly as category_contains (e.g. category_contains='01dbeeb5-e085-4f27-b5ab-84b3d74cc086').
                    - To search by name, pass a substring (case-insensitive) as category_contains (e.g. category_contains='revenue').
                    - If no filter is provided, all categories are returned (up to 50).
                    Present the list to the user and ask them to select one or more before proceeding with any downstream operation.
                    Return: A list of categories and the category IDs. ALWAYS include ALL fields in your response: name and category_id.
run_metadata_relationship_analysis tool
Use this tool when you need to start a relationship analysis for a metadata enrichment area (MDE).

    This tool initiates relationship analysis on datasets within a metadata enrichment area.
    It supports various analysis types including primary key (PK) and foreign key (FK) analysis
    at both shallow and deep levels, as well as overlap analysis.

    Analysis Types:
    - pk_deep: Deep primary key analysis
    - fk_shallow: Shallow foreign key analysis
    - fk_deep: Deep foreign key analysis
    - overlap: Overlap analysis between datasets

    The tool can analyze either all datasets in the MDE area or specific datasets.
    Optional configuration parameters allow fine-tuning of the analysis behavior.

    The execution process involves:
    1. Confirming the project ID based on the provided project name.
    2. Finding the metadata enrichment area ID based on the MDE area name.
    3. Optionally confirming dataset IDs if specific datasets are provided.
    4. Building the analysis configuration with optional parameters.
    5. Executing the relationship analysis via the API.

    Returns: A response containing the job run ID and status of the analysis.
    
bulk_publish_assets tool
Publish multiple data assets in bulk from a metadata import operation.
    
    This tool publishes assets that have been imported via a metadata import to a catalog.
    All parameters are required.
    
    ERROR HANDLING:
    - If project not found: Use 'list_containers' to find available projects
    - If connection not found: Use 'search_connection' to find available connections
    - If catalog not found: Use 'list_containers' to find available catalogs
    - If metadata import not found: Use 'search_metadata_import' to find existing imports
    - If asset not found: Verify asset names exist in the project
    
    Returns: Success message with count of published assets and all relevant IDs.
create_or_update_metadata_import tool
Create a new metadata import (MDI) in a project, or update an existing one. Mode is auto-detected: if metadata_import_name is omitted, a new MDI is created (POST); if metadata_import_name is provided, the existing MDI is updated (PATCH). CREATE mode supports three import types: 'metadata' (discovery only, default), 'lineage' (lineage only), 'lineage_and_discovery' (both). PREREQUISITE for create mode: call list_connection_paths FIRST if schemas are not explicitly provided. connection_name is required in create mode unless is_openlineage=True; ignored in update mode. Optional import_options keys (all bool, default False): exclude_tables, exclude_views, import_incremental_changes_only, include_foreign_key, include_primary_key, include_asset_lifecycle_timestamps, metadata_from_catalog_table_only. Optional reimport_options keys (all bool): update_name (default True), update_description (default True), update_column_descriptions (default True), delete_when_deleted_at_source (default True), delete_when_removed_from_scope (default False). In update mode all keys must be provided when reimport_options or import_options are supplied. ERROR HANDLING: if project not found use list_containers; if metadata import not found use search_metadata_import.
delete_metadata_import tool
Destructive: This tool permanently deletes a metadata import asset. This action cannot be undone.
    
    ERROR HANDLING:
    - If project not found: Use 'list_containers' to find available projects
    - If metadata import not found: Use 'search_metadata_import' to find existing imports
    
    Returns: Success message confirming the deletion.
run_metadata_import tool
Use this tool when you need to execute a metadata import job in a project.

    ERROR HANDLING:
    - If project not found: Use 'list_containers' to find available projects or verify the project name
    - If metadata import asset not found: Use 'create_or_update_metadata_import' to create the asset first
    Returns: Job ID, run ID, state, and monitoring URL.
get_connection_technology_details tool
Use this tool to inspect a connection in a project and determine its
    technology details for metadata import setup. It resolves the connection and
    project, identifies the underlying datasource technology and mapped data
    source definition, and returns import-relevant capabilities such as
    supported imported asset types, lineage scan phases, whether Unified Lineage
    Discovery is used, and whether only manual lineage inputs are supported.
    Call this before creating a metadata import when you need to understand how
    a connection should be configured for discovery or lineage.
list_connection_paths tool
Use this tool when you need to list available schema/table paths for a connection.
    
    ⚠\ufe0f CALL THIS TOOL FIRST when:
    - User mentions "first N schemas" (e.g., "first 7 schemas")
    - User does NOT explicitly provide schema names
    - You need to discover what schemas/tables are available
    
    Use the 'limit' parameter to control how many schemas to retrieve:
    - For "first 7 schemas", set limit=7
    - For "first 10 schemas", set limit=10
    - Default is 10 if not specified
    
    After calling this tool, use the returned schema list as the 'scope' parameter
    when calling create_or_update_metadata_import.
    
    Returns: Response containing list of schema/table paths and count.
    
pause_resume_or_cancel_mdi_job_run tool
Pause, resume, or cancel a metadata import (MDI) job run.

    Use this single tool to control the lifecycle of an active metadata import job.
    Pass the desired 'action' parameter to specify the operation:

    - action='pause'  — Temporarily pause a Running job. Can be resumed later.
                        Only Running jobs can be paused.
    - action='resume' — Continue a previously paused job.
                        Only Paused jobs can be resumed.
    - action='cancel' — Permanently stop a Running, Paused, or Queued job.
                        A canceled job cannot be resumed.

    If no job_run_id is provided, the tool automatically targets the latest
    eligible job run for the requested action.

    PREREQUISITES:
    - The metadata import asset must exist in the project
    - There must be an eligible job run for the requested action

    ERROR HANDLING:
    - If project not found: Use 'list_containers' to find available projects
    - If metadata import not found: Use 'search_metadata_import' to find available MDIs
    - If no eligible job run: Use 'execute_metadata_import' to start a new job run
    - If job is in wrong state for the action: Check current state and choose the correct action

    Returns: Confirmation message, job details, resulting state, and UI URL.
search_metadata_import tool
Use this tool when you need to search for the available metadata import.

    This tool is mainly used when a user want to create or update a metadata enrichment (MDE) and does not provide an asset or want to use a metadata import (MDI).
    This tool can search for all the available metadata imports (MDI) or search a metadata imports by name
    - The user must provide a project name or the project ID
    - Optional: the user can provide the metadata import name to search a specific MDI

    This tool supports wildcard search

    Return: The result in a table in MD format.
    
create_data_profiles tool
Use this tool when you need to create data profiles for datasets in a catalog. Data profiles analyze data structure, quality, and characteristics to help understand data patterns and identify quality issues.

You can pass either dataset UUIDs or dataset names — names are automatically resolved to IDs.
If you are not sure about the dataset ID, pass the dataset name directly.

Returns: CreateDataProfilesResponse with profile ID, status, and UI URL.

Raises:
    ToolProcessFailedError: If profile creation fails.
    ExternalServiceError: If the profiling service request fails.
add_asset_to_project tool
Add a catalog asset to a project by creating a reference. This enables downstream work like SQL asset creation on the catalog asset within the project context. The tool validates that the caller has admin or editor access to the target project. The asset must exist in a catalog. You can provide either the asset ID (UUID) or asset name. When providing an asset name, you must also specify the catalog_id_or_name parameter.

Use this tool when you want to:
- Add an existing catalog asset into a project for downstream work
- Make a catalog asset available in a project context without duplicating the source asset
- Prepare a catalog asset for project-based operations such as SQL asset creation

**SQL View Workflow (primary use case)**
To create a SQL view on top of a catalog table, run these tools in order:
1. Call add_asset_to_project to bring the source table into your project.
2. Call create_asset_from_sql_query, pointing at the same project and the connection that backs the table, with your SELECT statement.

Example of adding an asset and then creating a SQL view:
  add_asset_to_project:
    asset_id_or_name: "sales_orders"
    project_id_or_name: "Analytics Project"
    catalog_id_or_name: "Enterprise Catalog"

  create_asset_from_sql_query:
    sql_query: "SELECT order_id, customer_id, total FROM sales_orders WHERE status = 'shipped'"
    container_id_or_name: "Analytics Project"
    container_type: "project"
    connection_id_or_name: "<connection that backs the table>"
    asset_name: "shipped_orders_view"

Returns:
    AddAssetToProjectResponse: Details of the added asset reference including the asset ID, asset name, target project ID and name, source catalog ID and name, project asset URL, and a success message.

Example request (by name):
    asset_id_or_name: "customer_data"
    project_id_or_name: "Analytics Project"
    catalog_id_or_name: "Enterprise Catalog"

Example request (by ID):
    asset_id_or_name: "550e8400-e29b-41d4-a716-446655440000"
    project_id_or_name: "550e8400-e29b-41d4-a716-446655440001"

Example response:
    asset_id: "550e8400-e29b-41d4-a716-446655440000"
    asset_name: "customer_data"
    project_id: "550e8400-e29b-41d4-a716-446655440001"
    project_name: "Analytics Project"
    catalog_id: "550e8400-e29b-41d4-a716-446655440002"
    catalog_name: "Enterprise Catalog"
    asset_url: "https://<host>/projects/<project_id>/assets/<asset_id>"
    message: "Asset 'customer_data' successfully added to project 'Analytics Project'"

Error cases:
    - Unauthorized: caller has viewer role → "Insufficient permissions. You need 'admin' or 'editor' role on project '<name>' to add assets."
    - Asset not found: asset ID/name does not exist in any accessible catalog → "Asset with ID '<id>' not found in the specified catalog."
    - Project not found: project ID/name does not exist → "Project with ID '<id>' not found or you don't have access to it."
    - Already added: asset with that name already exists in the project → "Asset with name '<name>' already exists in this project. No need to add it again."

Example use cases:
    - Add asset customer_data from Enterprise Catalog to Customer Analytics Project
    - Add asset 550e8400-e29b-41d4-a716-446655440000 to project My Analytics Project
    - Add sales_orders from mcpbvtcatalog to mcpbvtproject
add_or_edit_collaborator tool
Use this tool when you need to add or update one or more collaborators (users or groups) in a project or catalog with specified roles. Intelligently searches for users or access groups using fuzzy matching on names and emails. For new members: Adds them to the container with the specified role. For existing members: Updates their role to the new specified role. Automatically detects whether members are new or existing and handles them appropriately. Supports role assignment (admin, editor, viewer) with 'viewer' as the default role. Supports mixed user and group types - specify type for each collaborator or omit to default to 'user' for all. Works with both projects and catalogs - specify container_type as 'project' or 'catalog' (defaults to 'project'). Return: The container ID and type, a list of successfully added/updated collaborator members with their roles, and a success message.
create_project tool
Use this tool when you need to create a new project with the specified name. A project name is required - if not provided, ask the user for a meaningful name. If a duplicate project name is detected, an error is thrown with a link to the existing project. For storage configuration, the system validates available COS storage instances. When multiple storage instances are found, the user is prompted to specify one by name or CRN before proceeding. Once the user provides the required information, the project is generated with the validated configuration in the given context.Return: The name of the newly created project and the API location URL to access it.
publish_asset_to_catalog tool
Use this tool to Publish an asset from a project to a catalog.
                    This tool resolves the source project, target catalog, and source asset, then invokes the
                    platform publish API so the asset is published with the platform's existing semantics,
                    including metadata and revision handling.
                    Return: The asset added to the catalog and the API location URL to access it.",

                    IMPORTANT CONSTRAINTS:
                    - asset is required and must identify an asset in the source project
                    - project is required and must identify the source project
                    - catalog is required and must identify the target catalog
run_reporting_select_query tool
Use this tool when you need to execute a user-provided SQL SELECT query against a tenant-specific reporting database. This tool enforces read-only access (only SELECT statements) and includes basic query validation for safety.
  Query API Reference: https://api.dataplatform.cloud.ibm.com/v3/reporting/apidoc/explorer/
  Return: The execution result with query rows on success, or an error message with remediation steps on failure.
create_reporting_sql_query tool
Use this tool when you need to generate a SQL query from a natural language input for a given project using a text-to-SQL service for reporting-related use cases. The tool verifies reporting service connectivity, resolves the project ID, and generates the SQL query based on the project context and SQL dialect.
  Query API Reference: https://api.dataplatform.cloud.ibm.com/semantic_automation/v1/swagger-ui/index.html
  Return: The generation result with the project ID, generated SQL query, and SQL dialect used on success, or an error message with remediation steps on failure.
run_gs_query tool
Use this tool to execute a GS (Global Search) formatted query directly against the global search index.
    The query is an Elasticsearch DSL body passed as the request body. Results are capped at 10000 documents.
    Use this tool when you need fine-grained control over the search query, such as filtering by specific fields,
    combining boolean clauses, or running a query that has already been formulated in GS/ES DSL syntax.

    IMPORTANT — when using this tool, prefer gs_query over natural_language_query:
    For simple keywords, phrases, or complex filters passed to this tool, always construct and pass gs_query
    directly using the gs_user_query form shown in the examples below.
    Only use natural_language_query as a last resort when you are completely unable to express the search
    as an Elasticsearch DSL — for example, when the user's intent involves multi-step reasoning that cannot
    be directly mapped to ES DSL fields.
    gs_query always takes precedence when both are supplied.

    Asset count by type workflow (e.g. 'how many assets', 'asset count by type', 'breakdown by type'):
    Step 1 — call find_container to resolve the catalog or project name to its ID.
    Step 2 — call this tool with EXACTLY this gs_query structure (do not change field names):
      IMPORTANT: always include the must_not data_asset_column exclusion —
      For a catalog: {\\"query\\":{\\"bool\\":{\\"filter\\":[{\\"term\\":{\\"entity.assets.catalog_id\\":\\"<id>\\"}}],\\"must_not\\":[{\\"term\\":{\\"metadata.artifact_type\\":\\"data_asset_column\\"}}]}},\\"size\\":0,\\"aggs\\":{\\"asset_count_by_type\\":{\\"terms\\":{\\"field\\":\\"metadata.artifact_type\\",\\"size\\":50}}}}
      For a project: {\\"query\\":{\\"bool\\":{\\"filter\\":[{\\"term\\":{\\"entity.assets.project_id\\":\\"<id>\\"}}],\\"must_not\\":[{\\"term\\":{\\"metadata.artifact_type\\":\\"data_asset_column\\"}}]}},\\"size\\":0,\\"aggs\\":{\\"asset_count_by_type\\":{\\"terms\\":{\\"field\\":\\"metadata.artifact_type\\",\\"size\\":50}}}}
      Set auth_scope to \\"catalog\\" or \\"project\\" accordingly.

    Query forms supported:
    1. Standard ES DSL — e.g. match_all, match, bool, term, range.
    2. GS 'gs_user_query' — full-text search with optional field restriction and NLQ analysis.
       - 'search_fields': restricts search to the listed fields; omit to search all configured fields.
       - 'nlq_analyzer_enabled': ignores stop-words and prioritises common phrases.
       - 'nested': controls nested-document matching.
    3. GS semantic / AI search — set 'semantic_search_enabled': true inside gs_user_query.
       - 'semantic_search_enabled' defaults to false; options under 'semantic_search_options'
         are only effective when it is true.
       - 'semantic_search_expansion_exclusions': suppresses specific expansions returned by a
         previous call's 'semantic_search_expansions' response field.
       - 'semantic_search_expansions' in the response is always empty for lexical (non-semantic) search.

    Note: response fields such as 'custom_attributes' apply only to assets, and 'categories'
    only to artifacts — not all fields are populated for every result type.

    Examples:
        - Match-all: {\\"query\\":{\\"match_all\\":{}}}
        - Lexical GS search with field restriction and NLQ:
          {\\"query\\":{\\"gs_user_query\\":{\\"search_string\\":\\"the quick red fox\\",\\"search_fields\\":[\\"metadata.name\\",\\"metadata.description\\"],\\"nlq_analyzer_enabled\\":true,\\"nested\\":false}}}
        - Semantic / AI search:
          {\\"query\\":{\\"gs_user_query\\":{\\"search_string\\":\\"bank\\",\\"semantic_search_enabled\\":true,\\"semantic_search_options\\":{\\"semantic_search_expansion_exclusions\\":{\\"bank\\":[\\"repository\\"]}}}}}
        - Simple keyword search (preferred form — always use this, not natural_language_query):
          {\\"query\\":{\\"gs_user_query\\":{\\"search_string\\":\\"rugby\\",\\"nlq_analyzer_enabled\\":true,\\"nested\\":false}}}
        - natural_language_query is ONLY a fallback when the intent cannot be expressed as ES DSL.

    Returns: Structured response with size (hit count), typed rows
    (each containing provider_type_id, tenant_id, metadata, artifact_id, entity with CAMS asset
    fields, custom_attributes, semantic_search_result, _score), aggregations, and
    semantic_search_expansions (non-empty only for semantic search).
    
get_container tool
Use this tool when you need to find a specific container (catalog, project or space) by ID or name.
    
    This tool searches for a container using either its UUID or name.
    
    IMPORTANT CONSTRAINTS:
    - container_id_or_name is required and cannot be empty
    - Automatically detects if input is a UUID or name
    - For UUID: performs direct lookup
    - For name: uses fuzzy matching to find closest match
    - container_type must be one of: "catalog", "project", "space"
    Returns: Container details including ID, name, type, and URL
get_asset_details tool
Use this tool when you need comprehensive metadata and details for a specific asset identified by name or UUID.
                    Understand user's request about getting an asset's details / metadata and return the retrieved metadata.
                    Possible details that the user could be looking for include: asset usage, rov, member roles, collaborators, sub-container,
                    asset name, asset description, asset tags, asset type, origin country, resource key, identity key, delete processing state,
                    delete reason, asset rating, total asset ratings, asset creation time, asset owner, asset size, asset version, asset state,
                    asset attributes, revision id, entity information (columns etc.) etc.
                    User could request for all details or specific details.
                    Example: Find details for asset dummy_asset in test catalog.
                    In this case, asset parameter will be 'dummy_asset', catalog parameter will be 'test' and project parameter will be None.
                    Example: Find metadata for asset testdb in agent project.
                    In this case, asset parameter will be 'testdb', catalog parameter will be None, and project parameter will be 'agent'.
                    Example: Find asset attributes of asset dummy_asset in test catalog.
                    In this case, asset parameter will be 'dummy_asset', catalog parameter will be 'test' and project parameter will be None.
                    Example: Find creation time of asset testdb in agent project.
                    In this case, asset parameter will be 'testdb', catalog parameter will be None, and project parameter will be 'agent'.
                       
                    IMPORTANT CONSTRAINTS:
                    - Asset parameter is required, either name or UUID
                    - One of catalog or project parameters is required to be not null, both cannot be null, both cannot be not null
                    - Invalid values will result in errors
                    Return: Comprehensive asset metadata including usage information, ROV details, asset properties (name, description, tags, type), ownership details, creation/update timestamps, ratings, container information, and entity details.
get_asset_details_for_assets tool
Use this tool when you need comprehensive metadata and details for multiple assets at once.

Retrieves: usage, ROV (collaborators/members), asset attributes, creation/update timestamps, owner information, ratings, tags, and entity information (columns, etc.).
Uses the /v2/assets/bulk endpoint — up to 20 assets per API call, automatically batched for larger lists. More efficient than calling get_asset_details repeatedly.
You can pass either IDs or names for both assets and container.

REQUIRED: ALL THREE parameters are mandatory. Ask for any missing information:
- If asset names are missing: Ask "Which assets would you like to get details for?"
- If container is missing: Ask "Which project or catalog contains these assets?"
- If container type is missing: Ask "Are these assets in a project or catalog?"
list_containers tool
Use this tool when you need to list all available containers - catalogs, projects or spaces.
    
    This tool finds all containers (catalogs, projects or spaces) that are available to the current user.
    
    IMPORTANT CONSTRAINTS:
    - container_type supports flexible formats: "catalog", "project", "space", "all"
    - Also supports combinations: "catalog,project", "projects and catalogs", "catalogs, projects", etc.
    - Handles both singular and plural forms
    - Defaults to "all" if not specified
    Returns: List of containers with their IDs, names, types, and URLs
search_asset tool
Use this tool when you need to find data assets by name, description, or semantic search across catalogs and projects.
                       Understand user's request about searching data assets and return list of retrieved assets.
                       This tool takes a user's search prompt as input and may take container type: project or catalog. Default container type to catalog.
                       It then returns list of asset that has been found.
                       
                       IMPORTANT CONSTRAINTS:
                       - search_prompt cannot be empty
                       - container_type must be one of: "catalog", "project"
                       - Invalid values will result in errors
                       PRESENTATION RULES: When displaying results, render a compact table with exactly three columns: asset name (as a hyperlink, do NOT create a separate link column), workspace name, and description. Never surface asset IDs, workspace IDs, asset_type, or any additional_metadata fields unless the user explicitly asks for them. Only add extra columns when the user's request specifically calls for that data (e.g. "show me assets modified last week" → add a modified_on column). If a column value is the same for every row in the result set (e.g. all assets are from the same project), omit that column entirely to avoid redundant output.
                       Return: A list of objects, each containing the asset name (linked to the asset URL), workspace name, and description.
search_connection tool
Use this tool when you need to find database connections across containers, with optional filtering by name, type, or creator.
                    Understand user's request about searching connections and return a list of
                    retrieved connections. Users can choose to filter the results based on
                    the optional input parameters: container, connection name,
                    data source type, and creator. If no filters are provided, then all available
                    connections are retrieved.
                    Example: Find all connections.
                    In this case, all input parameters will be None.
                    Example: Find connections in catalog test.
                    In this case, container parameter will be 'test' and container_type will be 'catalog'.
                    Example: Find bird connection in catalog test.
                    In this case, connection_name parameter will be 'bird', container parameter will be 'test' and container_type will be 'catalog'.
                    Example: Find connections with data source postgresql and created by user123 in catalog test.
                    In this case, datasource_type parameter will be 'postgresql', creator parameter will be 'user123', container parameter will be 'test' and container_type will be 'catalog'.

                    IMPORTANT CONSTRAINTS:
                    - container_type needs to be provided if container is provided
                    - container_type must be one of: "catalog", "project", or "all"
                    - if no container_type is provided, it defaults to "all"
                    - container and container_type must be provided if one or more of connection_name, datasource_type, or creator is provided
                    - Invalid values will result in errors
                    Return: A list of objects, each containing connection details including ID, name, URL, creation time, creator ID, datasource type information, and container details.
search_data_source_definition tool
Use this tool when you need to find data source definitions (DSDs) by name, type, endpoint, or physical collection.
                    Understand user's request about searching data source definitions aka DSD
                    and return a list of retrieved DSDs. Users can choose to filter the
                    results based on the optional input parameters: name, data source type,
                    hostname, port, or physical collection. If no filters are provided, then
                    all available DSDs are retrieved.
                    Example: Find all dsds.
                    In this case, all input parameters will be None.
                    Example: Find DSDs with datasource type postgresql.
                    In this case, datasource_type parameter will be 'postgresql', and hostname, port, physical_collection will be None.
                    Example: Find dsds with endpoint localhost:0000 and database db1.
                    In this case, hostname parameter will be 'localhost', port parameter will be '0000', physical_collection parameter will be 'db1' and datasource_type parameter will be None.
                    Example: Find data source definitons with hostname someendpoint and bucket testbucket.
                    In this case, hostname parameter will be 'someendpoint', physical_collection parameter will be 'testbucket', and port and datasource_type parameters will be None.
                    Example: Find dsd azure.
                    In this case, name parameter will be 'azure' and all other parameters will be None.
                    Example: Find dsd named c3 with datasource type postgresql.
                    In this case, name parameter will be 'c3', datasource_type parameter will be 'postgresql', and hostname, port, physical_collection will be None.

                    IMPORTANT CONSTRAINTS:
                    - All possible combinations of input parameters include:
                        - Only name
                        - Only data source type
                        - Only hostname
                        - Only physical collection (database name, bucket name, or project id)
                        - Data source type + name
                        - Physical collection + name
                        - Hostname + port
                        - Hostname + port + name
                        - Hostname + port + physical collection
                        - Hostname + port + physical collection + name
                    - Invalid values will result in errors
                    Return: A list of objects, each containing data source definition details including ID, name, creation time, creator ID, datasource type information, and URL.
update_asset_metadata tool
Update metadata for assets in either catalog or project including asset name, display name, description, privacy, format, tags, business terms, classifications and related items.

**WORKFLOW**
This tool accepts BOTH names and UUIDs for assets, containers, and governance artifacts. You can directly provide:
- Asset name OR UUID
- Container name OR UUID
- Business term/classification names OR global_ids
- Related item names OR UUIDs

The tool will automatically resolve names to IDs internally.

**Example User Request (Catalog):**
"For asset claims in catalog DATA PRODUCT CATALOG, update description to 'SAMPLE TESTING', privacy to Private, and tags to 'DATAPRODUCT'"

**Workflow (Catalog):**
Call: update_asset_metadata(asset_id_or_name="claims", container_id_or_name="DATA PRODUCT CATALOG", container_type="catalog", description="SAMPLE TESTING", privacy=16, tags=["DATAPRODUCT"])

**Example User Request (Project):**
"For asset customer_data in project Analytics Project, update description to 'Analytic project' and add tags 'Analytics'"

**Workflow (Project):**
Call: update_asset_metadata(asset_id_or_name="customer_data", container_id_or_name="Analytics", container_type="project", description="Analytic project", tags=["Analytics"])

**related_items** — List of related items (assets, artifacts, or columns) to ADD/connect to this asset. Each item requires:
- item_type: 'asset', 'artifact', or 'column' (REQUIRED)
- target_id_or_name: Name or ID of the target item (REQUIRED)
  - For assets: asset name or UUID
  - For artifacts: business term/classification name or global_id
  - For columns: column name
- artifact_type: 'glossary_term' or 'classification' (optional, for artifacts only)
- target_asset_id_or_name: Asset name or UUID containing the column (REQUIRED for columns only)
- target_container_id_or_name: Target's container name or UUID (REQUIRED for assets and columns, NOT for artifacts)
  - IMPORTANT: Target container TYPE (catalog/project) is inherited from source asset's container_type
  - Target container ID/NAME MUST be DIFFERENT from source container (never use source container here)
  - Example: Source in "Catalog A" can connect to target in "Catalog B" (both catalogs, different IDs)
  - If container info is missing, use dynamic_query_search to find target and ask user to select
- relationship_name: Relationship type (optional, defaults to 'accesses'). ONLY set this if the user explicitly specifies a relationship type. If the user does not mention a relationship, omit this field entirely and let the default 'accesses' apply.

Examples:
- Asset (no relationship specified): {"item_type": "asset", "target_id_or_name": "customer_data", "target_container_id_or_name": "Target Catalog"}
- Artifact (business term, no relationship specified): {"item_type": "artifact", "target_id_or_name": "Customer ID", "artifact_type": "glossary_term"}
- Artifact (classification, no relationship specified): {"item_type": "artifact", "target_id_or_name": "Sensitive Data", "artifact_type": "classification"}
- Artifact (user said consists_of): {"item_type": "artifact", "target_id_or_name": "Customer ID", "artifact_type": "glossary_term", "relationship_name": "consists_of"}
- Column: {"item_type": "column", "target_id_or_name": "account_id", "target_asset_id_or_name": "account", "target_container_id_or_name": "Target Catalog", "relationship_name": "asset-column1"}

{RELATED_ITEMS_GUIDE}

**IMPORTANT CONSTRAINTS:**
- At least one of new_asset_name, display_name, description, privacy, format, tags, business_terms, classifications, or related_items must be provided
- For privacy field, only values 0 or 16 are valid
dynamic_query_search tool
check_if_onboarding_job_is_completed tool
Use this tool when you need to check if the onboarding job (running in a project) for enabling Text to SQL is completed.
    Returns: The Text-to-SQL onboarding job is completed or still in progress, with a status message and optional job monitoring URL.
create_asset_from_sql_query tool
Use this tool when you need to create a new asset in the specified project and connection if provided based on the provided SQL query if creation of new asset was made explicitly.
  Query API Reference: https://cloud.ibm.com/apidocs/data-ai-common-core
  Returns: The URL of the newly created data asset in the specified catalog or project.
enable_container_for_text_to_sql tool

                Use this tool when you need to enable the specified project or catalog for Text To SQL.
                Example: Onboard agent-test project → container_id_or_name="agent-test", container_type="project".
                Example: Onboard agent-test catalog with agent-job project → container_id_or_name="agent-test", container_type="catalog", project_id_or_name="agent-job".
                Returns: A message with the UI link to monitor the onboarding job that enables the specified project or catalog for Text-to-SQL functionality.
                
create_sql_query tool
Use this tool when you need to generate the SQL query which addresses the request of the user and utilises the specified container.
  Query API Reference: https://api.dataplatform.cloud.ibm.com/semantic_automation/v1/swagger-ui/index.html
  Returns: The SQL query generated from the natural language question, which can be executed against data assets in the specified project or catalog.
get_semantic_model tool
Use this tool when you need to find schema and assets to answer a question and return list of retrieved assets.
                       This tool takes in a user's search prompt (query) as required parameter.
                       Optionally the user can also provide container info: container and container type, connection id or name, asset ids,
                       data source definition asset ids, document library ids.
                       The tool then returns a list of assets that have been found.
                       Example: How many customers are using euros as their currency in Accounts catalog?
                       In this case, query is "How many customers are using euros as their currency in Accounts catalog?" and container_info is [{"container_id_or_name": "Accounts", "container_type": "catalog"}], and connection_ids_or_names is None and asset_ids is None and data_source_definition_id_or_name is None and document_library_ids is None.
                       Example: In TestProject and Commercials with CustDB and Birdb connections, are customers who report late orders through support more likely to churn?
                       In this case, query is "are customers who report late orders through support more likely to churn?", container_info is [{"container_id_or_name": "TestProject"},{"container_id_or_name": "Commercials"}] and connection_ids_or_names is ["CustDB", "Birdb"] and asset_ids is None and data_source_definition_id_or_name is None and document_library_ids is None.
                       
                       IMPORTANT CONSTRAINTS:
                       - query cannot be empty
                       - ONLY ONE parameter out of connection_ids_or_names, asset_ids, data_source_definition_id_or_name, document_library_ids can be non-None
                       - container_info should be in the format: [{"container_id_or_name": "string", "container_type": "string"}, {"container_id_or_name": "string", "container_type": "string"}, ...] where container_id_or_name is the name or id
                         of the container and container_type is either "project" or "catalog". "container_type" is an optional key with default value "project".
                         Example: [{'container_id_or_name': 'testCatalog', 'container_type': 'catalog'}, {'container_id_or_name': 'testProject'}]
                       - schema_names parameter must be provided with exactly one of connection_ids_or_names or data_source_definition_id_or_name (not both, not standalone)
                       - optional parameters should be set to None if not provided
                       - Invalid values will result in errors
                       Query API Reference: https://api.dataplatform.cloud.ibm.com/semantic_automation/v1/swagger-ui/index.html
                       Returns: The list of container IDs searched, relevant schema assets with their metadata (tables, columns, relationships), and the total count of assets found matching the user's query.
search_user_groups_roles tool

    Use this tool when you need to search and retrieve users, user groups, or user roles in watsonx.data intelligence.
    
    This tool enables AI agents to quickly find the right identity record by specifying the search type
    (user, group, or role) and an optional query. It uses intelligent fuzzy matching to find the best 
    matches and returns results with confidence scores and match metadata.
    
    Search Types:
    - "user": Search for individual users by name, email, username, or user ID
    - "group": Search for user groups by group name or group ID
    - "role": Search for user roles by role name (CP4D only)
    
    Features:
    - Intelligent fuzzy matching with confidence scores
    - List all items when no query is provided
    - Works in both SaaS and CP4D environments (roles search is CP4D only)
    - RBAC enforcement (only returns identities caller is permitted to see)
    
    Use Cases:
        Users:
        - "Find user jacob" → search_type="user", query="jacob"
        - "Search for user with email [email protected]" → search_type="user", query="[email protected]"
        - "List all users" → search_type="user", query=None
        
        Groups:
        - "Find group marketing" → search_type="group", query="marketing"
        - "Search for analysts group" → search_type="group", query="analysts"
        - "List all groups" → search_type="group", query=None
        
        Roles (CP4D only):
        - "Show me all user roles" → search_type="role", query=None
        - "Find administrator roles" → search_type="role", query="admin"
    
    Examples:
        - "Add Jacob to Project X" → search_type="user", query="jacob", then use user_id
        - "Give marketing analysts read access" → search_type="group", query="marketing", then use group_id
        - "Apply data protection rule to [email protected]" → search_type="user", query="[email protected]"
        - "What roles can I assign?" → search_type="role", query=None (CP4D only)
    Returns: The search type, total and returned counts, list of matching results (users, groups, or roles with their IDs and metadata), a status message, and the original query.
    
get_artifact_details tool

Get detailed information about a **draft** workflow glossary artifact (business term or data class).

ONLY call this tool when the user explicitly asks about an artifact that is in DRAFT state — i.e. pending approval, under review, or awaiting publication. Do NOT call this tool for published artifacts or general glossary lookups; use `explain_glossary_artifact` for those.

**When to use this tool:**
- The user explicitly asks about a draft artifact, a pending term, or a term awaiting approval
- You need to compare changes between the latest and a previous draft version
- You need relationships, stewards, or descriptions for a draft artifact

**When NOT to use this tool:**
- The artifact is published, or the user has not indicated it is in draft → call `explain_glossary_artifact` instead
- The user asks to "look up", "explain", or "find" a term without mentioning draft → call `explain_glossary_artifact` instead

**Example:**
To get details for a draft business term named "Customer ID":
- artifact_name: "Customer ID"
- artifact_type: "glossary_term"
- format: "table"

**Multiple matches:**
If two or more artifacts share the same name, the response will contain `multiple_matches`
instead of `artifact_details`. Present the list to the user as numbered options (show
long_description and modified_at so they can distinguish them). Ask whether they want
details for one, several, or all of them, then re-call this tool with:
- `artifact_id` — when the user picks a single entry
- `artifact_ids` — when the user wants several or all entries (pass a list of IDs)

**Returns:**
A GetArtifactDetailsResponse containing:
- artifact_details: Full details for a single artifact
- all_artifact_details: Full details for multiple artifacts (when artifact_ids is supplied)
- multiple_matches: Populated instead of artifact_details when the name is ambiguous
- formatted_output: Markdown table comparing versions (when format="table"); multiple artifacts are separated by "---"

The comparison includes short/long descriptions, relationships, data steward names,
version IDs, states, and a formatted UI URL for both versions.
list_workflows tool

    Use this tool when you need to retrieve workflows initiated by current user.

    This tool fetches workflow instances that you have created/initiated, with two modes:
    - Light mode (deep_dive=False): Returns basic workflow information for quick overview. If called in light mode, ask the user whether he would like to see the details.
    - Deep dive mode (deep_dive=True): Returns comprehensive analysis with task details, activity tracking, and metrics
    If you find markdown text in the result show it to the user.

    This is different from get_my_workflow_inbox_tasks which shows tasks assigned to you by others.

    Make sure to use a request json object for the parameters.
    
get_my_workflow_inbox_tasks tool

    Use this tool when you need to retrieve tasks from workflow task inbox for the current user.

    This tool fetches tasks assigned to you or tasks you are candidates for in governance workflows.
    It supports cursor-based pagination (page_size, page_token), urgency filtering ('overdue', 'at_risk', 'all'),
    due date filtering (due_before, due_after), and sorting ('due_date', 'latest', 'oldest', 'priority').
    Every response includes a semantic summary outlining category counts and navigation state.

    Sorting options:
    - 'due_date' (default): soonest due date first; tasks without a due date appear last.
    - 'priority': urgency-based ordering (overdue > at-risk > claimed > unclaimed), done client-side.
    - 'latest': newest tasks first (by creation date).
    - 'oldest': oldest tasks first (by creation date).

    Use format='json' for raw task data or format='table' (default) for formatted output.
    If you find markdown text in the result show it to the user.
    ALWAYS render the result as table if called with format='table' parameter.

    Make sure to use a request json object for the parameters.
    Returns: The list of workflow tasks assigned to the current user, total count, pagination tokens, semantic summary, and optionally a formatted markdown table for display.
list_business_terms_by_category tool

Use this tool when you need to find business terms that belong to a specific category.
Accepts a human-readable category name (e.g. "Risk Management"), resolves it to the
correct category UUID, and returns all business terms whose primary category matches.

When a description is provided, uses BM25 similarity to rank all terms in the category
by how closely their description matches the given text, then returns the top_n most
similar terms (default 5). When omitted, all terms in the category are returned.

Use this tool instead of list_business_terms when the user asks to:
- "show all terms in category X"
- "list business terms for the <category> category"
- "find terms under <category> similar to <description>"
- "which terms in <category> are about <topic>"

If the category name is ambiguous or not found, the tool will suggest using
list_glossary_categories to see available category names.

Returns: The list of business terms in the category (all, or top_n ranked by description
similarity), total count, resolved category name and ID, name-to-artifact-ID mapping,
and optionally a formatted markdown table.
list_business_terms tool

Use this tool when you need to find business terms that are part of governance workflows, especially when working with draft/unpublished business terms or when you need the artifact_id for workflow operations.
list_business_terms returns a paginated list of business terms as objects of a data governance workflow with the artifact_id included.
Always define the draft parameter: if the text refers to future approvals set it true, otherwise false.
Use list_business_terms ONLY for requests about unpublished, draft business terms or for workflow related requests, otherwise use search_governance_artifacts.
If you find markdown text in the result show it to the user.
ALWAYS use a request json object to encapsulate the parameters.
Supports cursor-based pagination via page_size and page_token. Every response includes next_page_token / prev_page_token and a semantic_summary.
Returns: The list of business terms matching the search criteria, total count, pagination tokens, semantic summary, name-to-artifact-ID mapping, and optionally a formatted markdown table for display.
list_data_classes tool

Use this tool when you need to find data classes that are part of governance workflows, especially when working with draft/unpublished data classes or when you need the artifact_id for workflow operations.
list_data_classes returns a paginated list of data classes as objects of a data governance workflow pertaining to the search term
with the artifact_id included. Always define the draft parameter: if the text refers to future approvals set it true, otherwise false.
Use list_data_classes ONLY for requests about unpublished, draft data classes or for workflow related requests, otherwise use search_governance_artifacts.
If you find markdown text in the result show it to the user.
ALWAYS use a request json object to encapsulate the parameters.
Supports cursor-based pagination via page_size and page_token. Every response includes next_page_token / prev_page_token and a semantic_summary.
Returns: The list of data classes matching the search criteria, total count, pagination tokens, semantic summary, name-to-artifact-ID mapping, and optionally a formatted markdown table for display.
list_draft_artifacts tool

List draft workflow glossary artifacts.

**When to use this tool:**
- When you need to see all draft business terms and/or data classes
- When you want an overview of artifacts currently in workflow
- When you need to find which artifacts are pending approval

**Example:**
To list all draft artifacts (both business terms and data classes):
- artifact_type: "all"
- max_results: 50
- format: "table"

To list only draft business terms:
- artifact_type: "glossary_term"
- max_results: 50
- format: "table"

**Returns:**
A ListDraftArtifactsResponse containing:
- artifacts: List of DraftArtifactOverview objects with complete details for each draft
- total_count: Number of draft artifacts returned
- formatted_output: Markdown table showing Name, Type, Modified By, and Link (when format="table")

The table displays user-friendly information (with shortened URLs as clickable links) while the JSON
response includes all technical details (artifact IDs, version IDs, workflow IDs, states, timestamps).
list_user_task_approval_data tool

Use this tool when you need to see the approval history, approvers, and workflow status for a specific artifact identified by artifact_id.
list_user_task_approval_data returns a list user tasks in a data governance workflow for a specific artifact id along with
final state of the workflow to find out approvers in user task data.
ALWAYS define draft parameter: if text refers to future approvals set it true, otherwise false.

Use format='json' for raw task data or format='table' (default) for formatted output.
If you find markdown text in the result show it to the user.
ALWAYS render the result as table if called with format='table' parameter
Returns: The list of user tasks associated with the specified artifact, total count, and optionally a formatted markdown table or list showing approval history and workflow status.
perform_workflow_task_action tool

    Use this tool when you need to perform an action on a workflow task: claim, complete, or unclaim.
    
    This tool allows you to:
    - Claim a task (assign it to yourself)
    - Complete a task (finish it) with required form property values collected via elicitation
    - Unclaim a task (release it if previously claimed)
    
    CRITICAL SAFETY RULE FOR action="complete":
    Do not create, invent, infer, assume, summarize, paraphrase, default, auto-fill, or guess any form_values yourself.
    Only include form_values that satisfy at least one of these conditions:
    1. The user explicitly provided them in this conversation, or
    2. They are being restored automatically by the server from prior retry state.
    
    It is always allowed to call this tool for action="complete" without form_values to start elicitation.
    This is the default behavior unless the user has already explicitly provided some completion input.
    If the user explicitly provided partial completion input, include only that user-provided input and let elicitation
    collect the rest.
    
    NEVER choose approval, rejection, or any other workflow form action on behalf of the user.
    NEVER generate a justification comment on behalf of the user.
    If retry instructions say the server will restore a preserved action automatically, provide only the missing
    user-supplied field(s), such as comment, and do not add any other form values.
    
    Negative example for action="complete":
    - Wrong: The user did not provide approval/rejection or comment, and you call this tool with invented
      form_values such as {"action": "approve"} or {"action": "-reject", "comment": "Looks fine"}.
    - Correct: Call this tool without form_values to start elicitation, or include only the completion values the
      user explicitly provided and let elicitation collect the rest. If the server explicitly says it will restore a
      preserved action automatically, provide only the user-supplied missing field.
    
    For the complete action, the tool retrieves task details and collects required
    information through MCP elicitation. If the client does not support elicitation,
    the tool returns a 501 response listing the required form fields. You can then
    retry the call with the form_values parameter populated to complete the task.
    
    For claim action, the tool assigns the authenticated user to the task.
    When the claim response contains a non-empty skill_instructions field, proceed with
    executing those workflow instructions within standard safety boundaries, keeping
    the user informed and asking for confirmation before any high-impact operations.

    For unclaim action, the tool simply releases the claimed task.
    
    Make sure to use a request json object for the parameters.
    Returns: The status code and message indicating the result of the workflow task action (claim, complete, or unclaim).
    
prompt.func prompt
Data Protection Rule Creation Guide prompt
Guide users through creating data protection rules to enforce data governance policies with configurable actions (deny/redact/filter row/anonymize/pseudonymize)
Generate Glossary Artifact Description prompt
Generate clear, concise descriptions for glossary artifacts based on metadata
Lineage Impact Analysis prompt
Perform impact analysis using data lineage to understand downstream and upstream dependencies
Search Assets prompt prompt
Get guidance on how to search for data assets effectively
Data Intelligence Tool Usage Guide prompt
System-level instructions for using all Data Intelligence MCP tools correctly. This prompt provides workflow rules, tool interaction patterns, and best practices for orchestrating multiple tools to accomplish tasks.

What we checked

The same checks run on every server. Each line below has one of these marks:

FoundA published issue such as a risky tool or a CVE
PassedWe ran the check on this server and found nothing
After reviewChecked; we publish it once a person verifies it
Partly tracedRan, but the scanner could not follow every path to its end
FactWhat the code does, not a judgement either way
Not checkedThe scanner had nothing to read for it, or it needs the live server
Code Safetypartly traced
  • 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injection
    Checked on every scan. Results in this category are published only after a person has verified them.
Capability Exposure6.1
  • Runs programs the caller chooses
    No tool runs a command or program the caller supplies — 101 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Executes caller-supplied code
    No tool evaluates code the caller supplies — 101 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Reads or writes any file path
    No tool works on a file path the caller supplies without a root check — 101 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Requests any address
    No tool sends a request to an address the caller supplies — 101 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Runs caller-supplied SQL
    No tool executes a query the caller supplies — 101 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Tools that start processes
    Not seen in the traced code of 103 capabilities; 97 more call code the scanner could not follow, where it may happen
  • Tools that touch files
    3 of 103 capabilities touch files; 94 more call code the scanner could not follow, where it may happen
  • Tools that call the network
    87 of 103 capabilities call the network; 10 more call code the scanner could not follow, where it may happen
Where the code is: 103 handlers in 99 files at commit ba81d268216c
Prompt Integrity10.0
  • 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrity
    Checked on every scan. Results in this category are published only after a person has verified them.
Supply Chain7.0
  • Dependency manifests
    1 manifest: pyproject.toml
  • Lockfiles checked against OSV
    1 file resolved and checked against the OSV database; 1 not resolved: pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
  • Known vulnerabilities in production dependencies MEDIUM
    1 production package with known advisories
  • Known vulnerabilities in other dependencies
    No package used only for development, tests or examples has a known advisory
  • MCP SDK version
    fastmcp >=4.1.2
Secrets & Credentials10.0
  • 3 checks: credential harvesting, undeclared credential access, credentials sent over the network
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tools that read credentials
    87 of 103 capabilities read credentials; 10 more call code the scanner could not follow, where it may happen
  • Authentication declared
    Not checked: needs the live server's tools/list (a remote server declares how clients authenticate)
Behavior Transparency10.0
  • 3 checks: undeclared network access, undeclared file access, undeclared process execution
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tool descriptions present
    Every tool has a description the model and the user can read (1 only in code no tool reaches)
  • Statically known names
    Every tool's name could be read from the code
  • Input schemas
    Not checked: needs the live server's tools/list (every tool declares an input schema)
  • Destructive tools annotated
    Not checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)

Dependencies with known vulnerabilities (1 in production)

Dependency ranges were not resolved against a lockfile, so the score is capped at 7.

PackageInstalledWorstAdvisoriesFixed in
opentelemetry-apiPyPI 1.45.1 MEDIUM 1 advisory 1.45.2
  • MEDIUMGHSA-mf5v-w3w3-f6cg CVE-2026-126360OpenTelemetry Python API: Denial of service through quadratic-time traceparent parsing

Past security advisories

Vulnerabilities published for this server itself, from the GitHub Advisory Database.

No security advisories have been published for this server in the GitHub Advisory Database.

How it runs

Where it runsOn your machine, started by your MCP client from this repository or its package
Transportstdio
Sign-innot checked needs the live server
MCP SDKfastmcp >=4.1.2
Servers in the code1 (WXDI MCP Server)

The project's own security

Security policynone no SECURITY.md in the repository: report issues privately through GitHub if it is enabled
Past advisoriesnone in the GitHub Advisory Database
Last push2026-11-14
Signed releasesnot checked yet

Where it is published

Listed in3 catalogs (github_search, glama, mcp_toplist)
LicenseApache-2.0
Created2025-09-22

Attack map

How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.

Request a scan or an audit

Tell us about your server. We reply within 5 working days.

What do you need? *

We use these details only to answer you.