Skip to content

[FEAT] Add argument for removing adding response info to tool descriptions #212

@jack5github

Description

@jack5github

Is your feature request related to a problem? Please describe.
Response documentation is automatically added to my tool descriptions when using this package. This has the potential to overload the models I use with irrelevant and repetitive information.

Describe the solution you'd like
Add an argument to the FastApiMCP class initialisation that disables this automatic behaviour.

Describe alternatives you've considered
Using the standard MCP package's server component on its own proves to be too much of a challenge given my FastAPI-compatible code.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions