Skip to content

[BUG] The query parameter '$orderBy' is not supported with '$search' in outlook MCP Find email tool #19132

@xiaohui-hiwintech

Description

@xiaohui-hiwintech

Describe the bug
In the Outlook MCP’s “Find Email” tool, the $search parameter and the $orderBy parameter cannot be used at the same time; otherwise, an error will occur. We should add this constraint to the tool description, because the LLM makes this mistake almost every time.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://pipedream.com/connect/demo?app=microsoft_outlook&component=microsoft_outlook-find-email
  2. Select outlook app and Find email action
  3. Connect your outlook account
  4. Fill in the values of $search and $orderBy
  5. you can see the error
Image

Additional context
$search parameter and the $filter parameter also cannot be used at the same time; we need to add this constraint to the tool description as well.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtriagedFor maintainers: This issue has been triaged by a Pipedream employee

Type

Projects

Status

Ready for PR Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions