Skip to content

[Question]: Tool discovery - find / count arguments shape #342

@simplecommerce

Description

@simplecommerce

I am doing some tests with GPT 4.1 in VSCode and have noticed an issue.
I asked it to give me the list of available tools for the MCP Client and then to provide me the shape of the arguments for the find and count tools and this is what it returns.

Image

For some reason, it doesn't seem to see the filter/query argument.

This gives me an issue when I ask is to retrieve documents because it never passes the right filter/query.

I was able to get over this problem by telling it specifically:

When using `find`, always pass the `filter` argument.
When using `count`, always pass the `query` argument.

I was wondering if this is normal behavior?

Sorry if I am unclear.

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