Add consolidated manage_serving_endpoint tool (CRUD, logs, metrics, permissions)#413
Closed
jralfonsog wants to merge 4 commits intodatabricks-solutions:mainfrom
Closed
Add consolidated manage_serving_endpoint tool (CRUD, logs, metrics, permissions)#413jralfonsog wants to merge 4 commits intodatabricks-solutions:mainfrom
jralfonsog wants to merge 4 commits intodatabricks-solutions:mainfrom
Conversation
…rmissions Add 8 new functions to databricks_tools_core.serving: create, update, delete endpoints; build/server logs; metrics export with Prometheus parsing; get/update permissions. All functions follow existing patterns with typed SDK exceptions, Google-style docstrings, and Dict returns. Co-authored-by: Isaac
Add manage_serving_endpoint(action=...) with 8 actions: create, update, delete, get_build_logs, get_server_logs, export_metrics, get_permissions, update_permissions. Keeps upstream's 3 read-only tools unchanged. Includes manifest tracking, identity tagging, and idempotent create. Co-authored-by: Isaac
Add 20 core lib tests (CRUD, logs, metrics, permissions, Prometheus parsing) and 15 MCP tool tests covering all 8 actions including validation, idempotency, manifest tracking, and case insensitivity. Co-authored-by: Isaac
Add manage_serving_endpoint action table and workflow examples for create, update, debug (build/server logs), and permissions management. Co-authored-by: Isaac
76db503 to
f848a00
Compare
This was referenced Apr 6, 2026
Collaborator
|
Thank you for the contribution! While we don't think this content aligns with what we're looking for at this time — we're actively monitoring tool and skill bloat, and require use of our testing framework for contributions to be merged — we appreciate you opening these PRs! While I can't see your name on GitHub, if you're at Databricks feel free to reach out on Slack. 👍 |
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.
Summary
manage_serving_endpoint(action=...)— 8 actions covering the full endpoint lifecycledatabricks-model-servingwith consolidated tool examplesConsolidation (replaces PRs #414, #415, #416)
Previously 8 separate tools across 4 PRs. Now 1 tool with 8 actions for token efficiency:
createupdatedeleteget_build_logsget_server_logsexport_metricsget_permissionsupdate_permissionsExisting upstream tools (
get_serving_endpoint_status,query_serving_endpoint,list_serving_endpoints) unchanged.Includes
get_default_tags,with_description_footer) on createtrack_resource,remove_resource) on create/deletecreated: false)Test plan
This pull request was AI-assisted by Isaac.