Skip to content

MCP E2E: validate every tool answer against its own output schema #1415

Closed

Description

@DrunkOnJava

From #1414. The release review of 0.15.0 found four output fields of rvt-rs-mcp that the server leaves out when empty but its output schema listed as required. A client that validates structuredContent against the tool's outputSchema would have rejected every list_elements row. rvt-mcp/tests/mcp_stdio.rs checks only that an outputSchema exists and that the contract is committed, so the Einhoven E2E passed with the defect.

Done when: the stdio E2E validates the real structuredContent of every tool call it makes against that tool's outputSchema, with a JSON Schema validator (CI already uses Python jsonschema at ci.yml, or a Rust validator in the test). A field the schema requires but an answer omits then fails CI. The validated answers are kept as the job's artifact.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:cipriority:P2type:feature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions