Skip to content

AWS Bedrock agents don't work without tool description: add tool description #22

Closed
@kapustor

Description

@kapustor

If we take a look at the tools in any UI, other tools have descriptions. For example, Github MCP server or Filesystem server. However, our tools are lacking description:

Image

As AWS bedrock agent requires description, currently we cannot use Bedrock with ClickHouse MCP:

2025-03-19 21:12:37 error: [handleAbortError] AI response error; aborting request: 3 validation errors detected: Value '' at 'toolConfig.tools.9.member.toolSpec.description' failed to satisfy constraint: Member must have length greater than or equal to 1; Value '' at 'toolConfig.tools.10.member.toolSpec.description' failed to satisfy constraint: Member must have length greater than or equal to 1; Value '' at 'toolConfig.tools.11.member.toolSpec.description' failed to satisfy constraint: Member must have length greater than or equal to 1
2025-03-19 21:14:17 error: [api/server/controllers/agents/client.js #sendCompletion] Unhandled error type 1 validation error detected: Value '' at 'toolConfig.tools.9.member.toolSpec.description' failed to satisfy constraint: Member must have length greater than or equal to 1
2025-03-19 21:14:17 error: [handleAbortError] AI response error; aborting request: 1 validation error detected: Value '' at 'toolConfig.tools.9.member.toolSpec.description' failed to satisfy constraint: Member must have length greater than or equal to 1

We need to add at least some description.

cc @iskakaushik

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