Skip to main content
Glama
kunwarVivek

mcp-github-project-manager

create_sprint

Create a new development sprint in GitHub Projects by specifying title, description, dates, and associated issues for structured project planning.

Instructions

Create a new development sprint

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYes
descriptionYes
startDateYes
endDateYes
issueIdsYes

Implementation Reference

  • Main handler function for create_sprint tool. Validates input parameters, constructs Sprint data object with PLANNED status, and delegates creation to GitHubSprintRepository.
    async createSprint(data: {
      title: string;
      description: string;
      startDate: string;
      endDate: string;
      issueIds?: string[];
    }): Promise<Sprint> {
      try {
        // Create data object that matches the expected type
        const sprintData: Omit<Sprint, "id" | "createdAt" | "updatedAt"> = {
          title: data.title,
          description: data.description,
          startDate: data.startDate,
          endDate: data.endDate,
          status: ResourceStatus.PLANNED,
          issues: data.issueIds?.map(id => id.toString()) || []
        };
    
        return await this.sprintRepo.create(sprintData);
      } catch (error) {
        throw this.mapErrorToMCPError(error);
      }
    }
  • Zod schema defining input validation for create_sprint tool parameters: title, description, startDate, endDate, and optional issueIds.
    export const createSprintSchema = z.object({
      title: z.string().min(1, "Sprint title is required"),
      description: z.string().min(1, "Sprint description is required"),
      startDate: z.string().datetime("Start date must be a valid ISO date string"),
      endDate: z.string().datetime("End date must be a valid ISO date string"),
      issueIds: z.array(z.string()).default([]),
    });
    
    export type CreateSprintArgs = z.infer<typeof createSprintSchema>;
  • Registration of createSprintTool in the central ToolRegistry singleton instance.
    this.registerTool(createSprintTool);
  • ToolDefinition export for create_sprint including name, description, schema reference, and usage examples.
    export const createSprintTool: ToolDefinition<CreateSprintArgs> = {
      name: "create_sprint",
      description: "Create a new development sprint",
      schema: createSprintSchema as unknown as ToolSchema<CreateSprintArgs>,
      examples: [
        {
          name: "Create two-week sprint",
          description: "Create a two-week sprint with initial issues",
          args: {
            title: "Sprint 1: User Authentication",
            description: "First sprint focused on user authentication features",
            startDate: "2025-06-01T00:00:00Z",
            endDate: "2025-06-15T00:00:00Z",
            issueIds: ["101", "102", "103"]
          }
        }
      ]
    };
  • MCP server dispatcher routes 'create_sprint' tool calls to ProjectManagementService.createSprint method.
    case "create_sprint":
      return await this.service.createSprint(args);
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It states 'Create' which implies a write/mutation operation, but doesn't mention permissions needed, whether sprints can be modified after creation, what happens with invalid dates, or any rate limits. This leaves significant behavioral gaps for a mutation tool.

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

Conciseness5/5

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

The description is a single, efficient sentence that states the core purpose without unnecessary words. It's appropriately sized for a basic tool description and front-loads the essential information.

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?

For a mutation tool with 5 required parameters, 0% schema coverage, and no output schema, the description is insufficient. It doesn't explain what a 'development sprint' entails in this system, what happens after creation, or how to interpret the parameters. The context signals indicate high complexity that the description doesn't address.

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

Parameters2/5

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

With 0% schema description coverage for all 5 required parameters, the description provides no information about what 'title', 'description', 'startDate', 'endDate', or 'issueIds' should contain. The description doesn't compensate for the complete lack of parameter documentation in the schema.

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

Purpose4/5

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

The description clearly states the verb ('Create') and resource ('new development sprint'), making the purpose unambiguous. However, it doesn't differentiate from sibling tools like 'plan_sprint' or 'update_sprint', which reduces clarity about when to choose this specific tool.

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?

No guidance is provided about when to use this tool versus alternatives like 'plan_sprint' or 'update_sprint'. The description only states what it does without context about prerequisites, timing, or relationship to other sprint-related operations.

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/kunwarVivek/mcp-github-project-manager'

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