Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
kapustor opened this issue Mar 19, 2025 · 0 comments

Comments

@kapustor
Copy link
Contributor

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

kapustor added a commit to kapustor/mcp-clickhouse that referenced this issue Mar 21, 2025
iskakaushik pushed a commit that referenced this issue Mar 21, 2025
jovezhong pushed a commit to jovezhong/mcp-timeplus that referenced this issue Apr 5, 2025
jovezhong added a commit to jovezhong/mcp-timeplus that referenced this issue Apr 5, 2025
* feat: Add query timeout and thread pool for SELECT queries (ClickHouse#20)

* add action to publish to pypi (ClickHouse#19)

* add client_name with mcp_clickhouse (ClickHouse#21)

* Add descriptions for tools required by Bedrock (ClickHouse#23)

Addresses ClickHouse#22

* 0.1.5

* fix: prevent BrokenResourceError by returning structured responses for query errors (ClickHouse#26)

fixes ClickHouse#25

* Update README.md - Added link to the Youtube overview (ClickHouse#27)

* fix cherry pick issue and add desc

* Update publish.yml

* change mcp client name

---------

Co-authored-by: Kaushik Iska <[email protected]>
Co-authored-by: Philip Dubé <[email protected]>
Co-authored-by: Mikhail Shustov <[email protected]>
Co-authored-by: Dmitry Pavlov <[email protected]>
Co-authored-by: Philip Dubé <[email protected]>
Co-authored-by: Ryadh DAHIMENE <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant