Skip to content

(mcp) Support more filter operators and multiple order bys #8717

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

le-michael
Copy link

Description

Updated the filtering and order by schema in the query collection tool to improve LLM flexibility for constructing queries.

The new schema is closer to how we represent filters and order bys in the proto schema. However, recursive types are not support in zod so we can't have nested composite filters or recursive values.

Scenarios Tested

  1. Basic greater_than query.
  2. Query using the new in function, array value type, and multiple ordering.
  3. Converting the query in scenario 2 into an equivalent query that represents the in operator as multiple equal operators in a disjunction.

Sample Commands

Screencast.From.2025-06-06.01-46-36.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant