refactor(mcp): 16 → 5 tool aggregati (dataset, query, pipeline, source, contract) - #474
Draft
Gabrymi93 wants to merge 1 commit into
Draft
refactor(mcp): 16 → 5 tool aggregati (dataset, query, pipeline, source, contract)#474Gabrymi93 wants to merge 1 commit into
Gabrymi93 wants to merge 1 commit into
Conversation
…e, contract) Sostituisce i 16 tool flat con 5 tool CLI-like, ognuno con param action che fa da dispatch. Riduce la complessita' per gli agenti AI da 16 nomi da ricordare a 5 pattern uniformi. - toolkit_dataset: find, overview, status, preflight, schema-diff - toolkit_query: run (SQL), preview (URL CSV/TSV) - toolkit_pipeline: contract, runs, registry_list/show, graph - toolkit_source: probe, ckan, links, sparql - toolkit_contract: backward compat Test: 34/34, ruff clean.
Gabrymi93
marked this pull request as draft
August 17, 2026 17:43
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sostituisce i 16 tool flat con 5 tool CLI-like
Ogni tool ha un parametro
actionche fa da dispatch, riducendo la complessita' per gli agenti AI da 16 nomi da ricordare a 5 pattern uniformi.Nuovi tool
toolkit_datasetaction+ query/slug/config_pathtoolkit_queryaction+ datasets/sql o urltoolkit_pipelineaction+ layer/config_path/repotoolkit_sourceaction+ url/endpoint/querytoolkit_contractEsempi
Metriche
Note
toolkit_contractmantenuto per backward compat*_ops.pynon sono cambiate — solo il layer MCP inserver.pymode="sql"pertoolkit_query(catalog mode lo richiede)