Skip to content

feat: per-tool package restructure + 4 new MCP tools + routing support#50

Merged
bobby-smedley merged 12 commits intomainfrom
bot/main
Apr 13, 2026
Merged

feat: per-tool package restructure + 4 new MCP tools + routing support#50
bobby-smedley merged 12 commits intomainfrom
bot/main

Conversation

@bobby-smedley
Copy link
Copy Markdown
Contributor

🎯 What does this PR do?

Merges the bot/main branch into main, bringing a major restructuring of the tools architecture and 4 new factory-generated MCP tools.

Per-tool package restructure

  • Moves all 12 existing MCP tools from a flat pkg/tools/ package into self-contained sub-packages (pkg/tools/<tool_name>/), each with its own Input/Output types and NewTool constructor
  • Extracts shared test helpers into pkg/tools/testutil/
  • Updates registration to import all sub-packages — enables the factory pipeline to generate isolated tool packages without needing the full Chip codebase

New MCP tools (factory-generated)

Other changes

56 files changed across pkg/tools/, pkg/clients/, and registration.

✅ Checklist

  • My code follows the style guidelines of this project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation (if needed).
  • My commit messages follow the Conventional Commits standard.

connor-savage and others added 11 commits February 20, 2026 23:03
Move each of the 12 MCP tools from a flat pkg/tools/ package into
self-contained sub-packages (pkg/tools/<tool_name>/). This enables
the factory pipeline to generate isolated tool packages without
needing access to the full Chip codebase.

Changes:
- Each tool now lives in its own package with Input/Output types
  and a NewTool constructor (namespace replaces prefixes)
- Shared test helpers extracted to pkg/tools/testutil/
- Registration file updated to import all sub-packages
- All tests pass, build clean, vet clean
- Rename sub-packages to match main's tool names:
  ask_dad -> discover_data_assets
  ask_glossary -> discover_business_glossary
  find_data_classification_matches -> search_data_classification_matches
  keyword_search -> search_asset_keyword
- Port get_asset_details responsibilities feature to sub-package style
- Convert 10 new tools from main to sub-packages:
  get_business_term_data, get_column_semantics, get_lineage_downstream,
  get_lineage_entity, get_lineage_transformation, get_lineage_upstream,
  get_measure_data, get_table_semantics, search_lineage_entities,
  search_lineage_transformations
- Add new clients: lineage, dgc_relation, dgc_responsibility
- Update register.go with all 22 tools
@bobby-smedley bobby-smedley requested a review from a team as a code owner April 8, 2026 15:44
@svc-snyk-github-jira
Copy link
Copy Markdown

svc-snyk-github-jira commented Apr 8, 2026

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

#51)

* fix: correct DefinitionAttributeTypeID

* fix: rename relation/attribute type constants to match DGC and fix broken UUIDs

* fix: update hardcoded DefinitionAttributeTypeID in add_business_term test
@bobby-smedley bobby-smedley merged commit b56bf1b into main Apr 13, 2026
1 check passed
@bobby-smedley bobby-smedley deleted the bot/main branch April 13, 2026 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants