Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

improvement: remove redundant validate_workflow MCP tool#580

Merged
breaking-brake merged 1 commit intomainbreaking-brake/cc-wf-studio:mainfrom
improvement/remove-validate-workflow-toolbreaking-brake/cc-wf-studio:improvement/remove-validate-workflow-toolCopy head branch name to clipboard
Feb 18, 2026
Merged

improvement: remove redundant validate_workflow MCP tool#580
breaking-brake merged 1 commit intomainbreaking-brake/cc-wf-studio:mainfrom
improvement/remove-validate-workflow-toolbreaking-brake/cc-wf-studio:improvement/remove-validate-workflow-toolCopy head branch name to clipboard

Conversation

@breaking-brake
Copy link
Copy Markdown
Owner

Summary

Remove the redundant validate_workflow MCP tool and simplify the AI editing flow from 6 steps to 5.

Closes #571

What Changed

The validate_workflow MCP tool performed the exact same validation that apply_workflow already runs internally (both call validateAIGeneratedWorkflow). This caused AI agents to make an unnecessary extra tool call on every edit cycle.

Before

  • AI editing flow: 6 steps with separate validate_workflowapply_workflow calls
  • 4 MCP tools exposed: get_workflow_schema, get_current_workflow, apply_workflow, validate_workflow

After

  • AI editing flow: 5 steps with apply_workflow handling validation internally
  • 3 MCP tools exposed: get_workflow_schema, get_current_workflow, apply_workflow
  • Reduced token consumption and latency per edit cycle

Changes

  • src/extension/services/mcp-server-tools.ts - Removed validate_workflow tool definition (68 lines)
  • resources/ai-editing-skill-template.md - Simplified steps 4-6 to 4-5, removed validate_workflow from description

Testing

  • npm run format && npm run lint && npm run check && npm run build passes
  • Manual E2E testing completed

🤖 Generated with Claude Code

- Removed validate_workflow tool definition from mcp-server-tools.ts
- Updated AI editing skill template to use apply_workflow directly
- apply_workflow already performs identical validation internally

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@breaking-brake breaking-brake merged commit 8683434 into main Feb 18, 2026
3 checks passed
@breaking-brake breaking-brake deleted the improvement/remove-validate-workflow-tool branch February 18, 2026 14:26
@breaking-brake breaking-brake mentioned this pull request Feb 18, 2026
braking-brake-semantic-release Bot pushed a commit that referenced this pull request Feb 18, 2026
## [3.22.1](v3.22.0...v3.22.1) (2026-02-18)

### Bug Fixes

* escape Mermaid-special characters in node labels ([#579](#579)) ([fced314](fced314))
* support HTTP transport for MCP tool nodes ([#581](#581)) ([cebcd21](cebcd21))

### Improvements

* remove redundant validate_workflow MCP tool ([#580](#580)) ([8683434](8683434))
@breaking-brake breaking-brake mentioned this pull request Feb 18, 2026
braking-brake-semantic-release Bot pushed a commit that referenced this pull request Feb 18, 2026
## [3.22.1](v3.22.0...v3.22.1) (2026-02-18)

### Bug Fixes

* escape Mermaid-special characters in node labels ([#579](#579)) ([fced314](fced314))
* support HTTP transport for MCP tool nodes ([#581](#581)) ([cebcd21](cebcd21))

### Improvements

* remove redundant validate_workflow MCP tool ([#580](#580)) ([8683434](8683434))
@braking-brake-semantic-release
Copy link
Copy Markdown

🎉 This PR is included in version 3.22.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

improvement: Remove validate_workflow MCP tool and simplify AI editing flow

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.