Skip to content

The _ConvertTimestamps tool fails validation with the error #17

@chuangshizhiqiang

Description

@chuangshizhiqiang

Bug Report

Description

The _ConvertTimestamps tool fails validation with the error:

Environment

  • MCP Server: alibabacloud-dataworks-mcp-server
  • Region: cn-internal
  • Error occurs during tool validation phase

Expected Behavior

All tool parameters should conform to MCP protocol requirements, specifically array-type parameters must include an items property defining the array element schema.

Actual Behavior

The _ConvertTimestamps tool definition contains array-type parameters without the required items property, causing validation failure.

Suggested Fix

Update the tool definition to include proper items schema for array parameters:

{
  "type": "array",
  "items": {
    "type": "string"  // or appropriate type
  }
}

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