Skip to content

Description is not required field of Tool #158

@abcsnowwolf

Description

@abcsnowwolf

Describe the bug
Description is not a required field of Tool. Some framework such as fastmcp will not carry this field when there is no description for a tool when return list tools request. This will result in an error called TypeMismatchError, but the semantics of this error are rather vague, making it difficult to pinpoint the problem.

To Reproduce
respond list tools request without description field.

Expected behavior
We should allow description field to be absent from the response of the list tools request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions