feat: add assessment tools (get, create, edit)#99
Open
bobby-smedley wants to merge 1 commit into
Open
Conversation
MieszkoWasniowski
approved these changes
Jul 14, 2026
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.
🎯 What does this PR do?
Adds three MCP tools for Assessments — the questionnaires you conduct in the Assessments application (DPIA, PIA, EU AI Act, …).
Why new tools instead of extending
edit_asset: assessments aren't catalog assets. They're not addressable by a catalog UUID, they live behind a different API (assessments.public.v2), and their shape (questions/answers/status) has nothing to do with attributes/relations. So they get their own tools — the same way lineage, classification, and data contracts do.edit_assetis untouched.The tools (each takes a name or UUID):
get_assessment— read one, or filter by name/status/template/asset/date range (paginated).create_assessment— conduct a new one from a template (template given by name or UUID). No prepare step: the create response returns the questions to fill in.edit_assessment— set answers + status/name/owner/assignees/visibility, applied as one atomic PATCH (all-or-nothing). Supported answer types: TEXT, HTML, EXPRESSION, NUMBER, BOOLEAN, DATE, ITEMS. ASSETS/USERORGROUPS/ATTACHMENTS return a clear "not yet supported" error (follow-up).All requests go through the existing shared client (relative paths, shared host + auth), so no new auth wiring.
Testing: verified live end-to-end against a dev instance — create, name lookup, filtered reads, and edits (scalar, ITEMS, and filling blank questions) all work. One known env issue, not from this code: moving an assessment to
SUBMITTEDreturns a backend500on that instance, so that transition couldn't be exercised there. Unit tests cover the answer-type coercion and the output-schema shape.✅ Checklist