Skip to main content
Glama

Structured Workflow MCP

by kingdomseed

refactor_workflow

Initiate a structured refactoring process to enhance code quality while preserving functionality, specifying target files, scope, and constraints for precise improvements.

Instructions

Start a structured refactoring workflow to improve existing code without changing functionality

Input Schema

NameRequiredDescriptionDefault
contextNoAdditional context (optional)
taskYesDescription of what you want to refactor

Input Schema (JSON Schema)

{ "properties": { "context": { "description": "Additional context (optional)", "properties": { "constraints": { "description": "Any constraints or requirements", "items": { "type": "string" }, "type": "array" }, "scope": { "description": "The scope of the refactoring", "enum": [ "file", "directory", "project" ], "type": "string" }, "targetFiles": { "description": "Specific files to refactor", "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "task": { "description": "Description of what you want to refactor", "type": "string" } }, "required": [ "task" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kingdomseed/structured-workflow-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server