Skip to content

Parsing of json causes parameter descriptions to be truncated. #110

@jthomas-dd

Description

@jthomas-dd

The splitting by comma here:

jsonSchemaTags := strings.Split(field.Tag.Get("jsonschema"), ",")

Is causing any descriptions, like those in the example provided here:

// Description *string `json:"description" jsonschema:"description=The description to submit"`

To be truncated. Basically everything after the comma isn't included in the description received by MCP clients.

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