Skip to content

fix: MCP工具描述/可发现性不足:创建集合工具未被调用#635

Open
binggg wants to merge 2 commits intomainfrom
automation/attribution-issue-mo8yjrtw-ai79l8-mcp
Open

fix: MCP工具描述/可发现性不足:创建集合工具未被调用#635
binggg wants to merge 2 commits intomainfrom
automation/attribution-issue-mo8yjrtw-ai79l8-mcp

Conversation

@binggg
Copy link
Copy Markdown
Member

@binggg binggg commented Apr 28, 2026

Attribution issue

  • issueId: issue_mo8yjrtw_ai79l8
  • category: tool
  • canonicalTitle: MCP工具描述/可发现性不足:创建集合工具未被调用
  • representativeRun: atomic-js-cloudbase-db-create-collection/2026-04-21T18-28-19-gcqxjb

Automation summary

  • root_cause: The MCP tool writeNoSqlDatabaseStructure had a title "修改 NoSQL 数据库结构" (Modify NoSQL database structure) that focused on "modifying" rather than "creating". When users asked to "create a database collection", the AI agent couldn't discover this tool because the title and description didn't clearly signal that it handles collection creation. The tool was never called, resulting in a "400 invalid parameter value" error from an unrelated attempt.
  • changes: Updated the tool title from "修改 NoSQL 数据库结构" to "创建并管理 NoSQL 数据库集合" (Create and manage NoSQL database collections) and enhanced the description to explicitly mention "创建新集合" (create new collections) and guide users to use action=createCollection when creating collections. The change is in mcp/src/tools/databaseNoSQL.ts:501-503.
  • validation:
  • All 15 NoSQL database tool tests passed
  • All 10 skill quality regression tests passed (build-skills-repo, build-compat-config, skill-quality-standards)
  • No cross-file references needed updating (the tool name writeNoSqlDatabaseStructure remains unchanged)
  • follow_up: None. This is a Layer 1 (skill/tool description) fix that improves tool discoverability

Changed files

  • mcp/src/tools/databaseNoSQL.ts

@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@binggg
Copy link
Copy Markdown
Member Author

binggg commented Apr 28, 2026

Attribution post-PR evaluation

  • visibility: internal identifiers, run ids, and private links are intentionally omitted
  • attempt: 1
  • eval_scope: primary_only
  • overall: PASSED
  • summary: all planned evaluation cases passed
  • updated_at: 2026-04-28T18:42:02.549Z

Cases

  • [PASSED] — primary — evaluation passed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant