Skip to main content
Glama
kevinlin

Spec-driven Development MCP Server

by kevinlin

spec_coding_tasks_confirmed

Confirm task planning completion and transition to code execution phase in spec-driven development workflows.

Instructions

Confirm the completion of task planning and proceed to the execution phase

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYesSession identifier
feature_nameYesFeature name

Implementation Reference

  • The main handler function that executes the tool's logic: logs confirmation, returns a markdown message indicating task planning completion, workflow progress, and prompts to call the next tool 'spec_coding_execute_start'.
    export async function tasksConfirmed(
      params: TasksConfirmedParams
    ): Promise<string> {
      const { session_id, feature_name } = params;
      console.error(`[MCP] Tasks confirmed for feature: ${feature_name}`);
      
      return `# āœ… Task Planning Completed
    
    ## Generated Tasks Document:
    šŸ“„ "docs/specs/${feature_name}/tasks.md"
    
    The tasks document contains a detailed list of development tasks, each with clear descriptions, acceptance criteria, and execution order.
    
    ---
    
    ## Next Stage: Task Execution (5/5)
    
    ### Workflow Progress:
    - [x] 1. Goal Collection āœ…
    - [x] 2. Requirements Gathering āœ…
    - [x] 3. Design Document āœ…
    - [x] 4. **Task Planning** āœ…
    - [ ] 5. **Task Execution** ← Final Stage
    
    Now please call \`spec_coding_execute_start\` to begin the task execution stage.
    
    **Session Information**:
    - Session ID: \`${session_id}\`
    - Feature Name: \`${feature_name}\`
    - Requirements: āœ… Completed
    - Design: āœ… Completed
    - Tasks: āœ… Completed`;
    }
  • Tool registration object including name, description, and JSON input schema for MCP tool listing and validation.
      name: 'spec_coding_tasks_confirmed',
      description: 'Confirm the completion of task planning and proceed to the execution phase',
      inputSchema: {
        type: 'object',
        properties: {
          session_id: { 
            type: 'string', 
            description: 'Session identifier' 
          },
          feature_name: { 
            type: 'string', 
            description: 'Feature name' 
          }
        },
        required: ['session_id', 'feature_name']
      }
    },
  • src/server.ts:235-237 (registration)
    Switch case in the MCP CallToolRequestSchema handler that dispatches tool calls to the tasksConfirmed implementation.
    case 'spec_coding_tasks_confirmed':
      result = await tasksConfirmed(args as any);
      break;
  • src/server.ts:13-13 (registration)
    Import statement for the tasksConfirmed handler function.
    import { tasksConfirmed } from './tools/tasks_confirmed.js';
  • TypeScript type definition for the tool's input parameters, matching the JSON schema.
    export interface TasksConfirmedParams {
      session_id: string;
      feature_name: string;
    }
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions confirming completion and proceeding to execution, which implies a state transition, but doesn't disclose what happens upon invocation (e.g., whether it triggers side effects, updates a system state, requires specific permissions, or has rate limits). For a tool with no annotation coverage, this is a significant gap in transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that directly states the tool's purpose without unnecessary words. It is front-loaded with the core action, making it easy to parse. However, it could be slightly more structured by explicitly separating the confirmation and transition aspects, but overall it earns its place with minimal waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (involving workflow state transitions), lack of annotations, and no output schema, the description is incomplete. It doesn't explain what 'confirming' entails (e.g., validation, logging), what 'proceeding' triggers, or what the expected outcome is. For a tool with no structured behavioral data, more detail is needed to adequately guide an AI agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% description coverage, with clear documentation for both parameters (session_id and feature_name). The description adds no additional meaning beyond what the schema provides, such as explaining how these parameters relate to the confirmation process. With high schema coverage, the baseline score of 3 is appropriate, as the description doesn't compensate but also doesn't detract.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a clear action ('Confirm the completion of task planning and proceed to the execution phase'), which provides a specific verb and indicates a transition between phases. However, it doesn't clearly distinguish this tool from its siblings (e.g., spec_coding_tasks_start, spec_coding_execute_start) in terms of what exactly is being confirmed or how it differs from other confirmation tools in the workflow.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage context ('proceed to the execution phase'), suggesting this tool is used after task planning is complete. However, it provides no explicit guidance on when to use this tool versus alternatives (e.g., spec_coding_tasks_start for starting tasks, spec_coding_execute_start for execution), nor does it mention prerequisites or exclusions, leaving gaps in actionable guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

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/kevinlin/spec-coding-mcp'

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