Skip to content

feature: Propagate error information from nemo check #19

@evaline-ju

Description

@evaline-ju

Feature Description

In #17 a plugin was added to interface with the "nemo check server" (server that provides /v1/guardrails/checks). When the nemo check rails indicate a request/response should be blocked (status = blocked instead of status = success), information on what checks are run will be included in rails_status and included as result.metadata. We want to make sure this information can be provided in the final MCP error provided by the adapter and that any other useful "violation" details from the plugin are surfaced in the MCP error.

Proposed Solution

  • Put rails_status information on MCP error.data
  • Make sure MCP error code is reflective of the violation
  • Make sure error.message reflects the violation.reason and violation.description

Want to contribute?

  • I would like to work on this issue.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions