Skip to main content
Glama

create_plan

Create structured project plans with phases, tasks, and milestones for AI agents to manage hierarchical planning workflows.

Instructions

Create a new plan

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYesPlan title
descriptionNoPlan description
statusNoPlan statusdraft

Implementation Reference

  • src/tools.js:122-138 (registration)
    Registers the 'create_plan' MCP tool including its input schema, description, and parameters in the tools list returned by listTools.
    name: "create_plan", description: "Create a new plan", inputSchema: { type: "object", properties: { title: { type: "string", description: "Plan title" }, description: { type: "string", description: "Plan description" }, status: { type: "string", description: "Plan status", enum: ["draft", "active", "completed", "archived"], default: "draft" } }, required: ["title"] } },
  • The execution handler for the 'create_plan' tool within the CallToolRequestSchema handler. Forwards arguments to the API client and formats the response for MCP compatibility.
    if (name === "create_plan") { const result = await apiClient.plans.createPlan(args); return formatResponse(result); }
  • API client helper method that performs the HTTP POST request to the backend API endpoint '/plans' to create a new plan.
    createPlan: async (planData) => { const response = await apiClient.post('/plans', planData); return response.data; },
  • Input schema definition for the 'create_plan' tool, specifying parameters, types, descriptions, and validation rules (required fields, enums).
    inputSchema: { type: "object", properties: { title: { type: "string", description: "Plan title" }, description: { type: "string", description: "Plan description" }, status: { type: "string", description: "Plan status", enum: ["draft", "active", "completed", "archived"], default: "draft" } }, required: ["title"] }

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/TAgents/agent-planner-mcp'

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