Skip to main content
Glama
kevinlin

Spec-driven Development MCP Server

by kevinlin

spec_coding_requirements_confirmed

Confirm completion of requirements gathering and transition to the design phase in spec-driven development workflows.

Instructions

Confirm the completion of requirements collection and proceed to the design phase

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYesSession identifier
feature_nameYesFeature name

Implementation Reference

  • The main execution logic for the tool, confirming requirements and returning a markdown progress update with next steps.
    export async function requirementsConfirmed(
      params: RequirementsConfirmedParams
    ): Promise<string> {
      const { session_id, feature_name } = params;
      console.error(`[MCP] Requirements confirmed for feature: ${feature_name}`);
      
      return `# ✅ Requirements Gathering Completed
    
    ## Generated Requirements Document:
    📄 "docs/specs/${feature_name}/requirements.md"
    
    The requirements document contains complete user stories and EARS-format acceptance criteria.
    
    ---
    
    ## Next Stage: Design Document (3/5)
    
    ### Workflow Progress:
    - [x] 1. Goal Collection ✅
    - [x] 2. **Requirements Gathering** ✅
    - [ ] 3. **Design Document** ← Next Stage
    - [ ] 4. Task Planning
    - [ ] 5. Task Execution
    
    Now please call \`spec_coding_design_start\` to begin the technical design stage.
    
    **Session Information**:
    - Session ID: \`${session_id}\`
    - Feature Name: \`${feature_name}\`
    - Requirements: ✅ Completed`;
    }
  • MCP protocol input schema definition for the tool, used for validation and listing.
    {
      name: 'spec_coding_requirements_confirmed',
      description: 'Confirm the completion of requirements collection and proceed to the design 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:219-221 (registration)
    Registration in the tool call handler switch statement, mapping tool name to the handler function.
    case 'spec_coding_requirements_confirmed':
      result = await requirementsConfirmed(args as any);
      break;
  • TypeScript type definition for handler input parameters.
    export interface RequirementsConfirmedParams {
      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 full burden for behavioral disclosure. It mentions 'proceed to the design phase' which implies a state transition, but doesn't describe what this transition entails—whether it's a database update, triggers other processes, or has side effects. For a tool with no annotation coverage, this leaves significant behavioral gaps unaddressed.

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 states the core action. It's appropriately sized for a simple confirmation tool and front-loads the main purpose. While it could potentially be more structured with additional context, there's no wasted verbiage or redundancy.

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 lack of annotations and output schema, the description is incomplete for understanding the tool's full context. It doesn't explain what 'completion of requirements collection' means, what happens after confirmation, or what the tool returns. For a workflow transition tool with no structured metadata, the description should provide more operational context.

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?

Schema description coverage is 100%, with both parameters clearly documented in the schema. The description adds no parameter-specific information beyond what's already in the schema (session_id and feature_name). This meets the baseline score of 3 since the schema adequately covers parameter semantics without requiring description compensation.

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 the tool's purpose as confirming requirements completion and proceeding to design phase, which is clear but somewhat vague. It uses specific verbs ('confirm', 'proceed') but doesn't explicitly distinguish this tool from its siblings like 'spec_coding_requirements_start' or 'spec_coding_design_start'. The purpose is understandable but lacks precise differentiation.

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 provides no guidance on when to use this tool versus alternatives. With siblings like 'spec_coding_requirements_start' and 'spec_coding_design_start', it's unclear what triggers this confirmation step or what prerequisites exist. There's no mention of when-not-to-use scenarios or explicit alternatives, leaving usage context implied at best.

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