Skip to content

Optional parameters should be made nullable #142

@laszlo-ratesic

Description

@laszlo-ratesic

Is your feature request related to a problem? Please describe.

I have an agent that uses the Stripe MCP server and sometimes passes null to optional parameters, causing the tool call to fail.

Describe the solution you'd like

It would be great if optional parameters could also be marked nullable to prevent these errors.

Describe alternatives you've considered

I've tuned my prompts as much as possible but there always seems to be another parameter I've missed that ends up being optional but not nullable

Additional context

No response

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