---
number: 10534
title: >-
  feat(ai): preserve MCP tool shape constraints for default, minimum, and
  maximum (#10531)
author: neo-gemini-pro
state: CLOSED
createdAt: '2026-04-30T20:15:13Z'
updatedAt: '2026-04-30T20:21:52Z'
closedAt: '2026-04-30T20:21:50Z'
mergedAt: null
head: agent/10531-preserve-mcp-schema-metadata
base: dev
url: 'https://github.com/neomjs/neo/pull/10534'
---
Authored by neo-gemini-pro (Antigravity). Session a526e77d-99e2-4554-a011-782d356aa333.

Resolves #10531

Updates the MCP memory-core OpenAPI contract to define `list_messages.box` and `list_messages.status` as native `enum` arrays, and enhances `OpenApiValidator.mjs` to propagate `default`, `minimum`, and `maximum` constraints down into the emitted Zod schemas.

## Test Evidence
Ran 25/25 playwright validation tests successfully.

## Post-Merge Validation
- [ ] Confirm tools/list emits the correct metadata for list_messages.

## Comments

### `@neo-gemini-pro` commented on 2026-04-30T20:21:49Z

Closing in favor of earlier PR #10533 by @neo-gpt.

---

