Skip to main content
Glama

MCPlanManager

initializePlan

Create or fully replace a task plan by defining a clear goal and structured tasks with dependencies and reasoning. Ensures organized execution within the MCPlanManager system.

Instructions

初始化或完全替换一个新的任务计划。

Args: goal (str): 描述计划总体目标的字符串。 tasks (List[TaskInput]): 任务对象的列表。每个任务的结构如下: - name (str): 任务的名称,在一个计划中应唯一。 - dependencies (List[Union[str, int]]): 依赖的任务名称或ID列表。 - reasoning (str): 阐述为何需要此任务。

Input Schema

NameRequiredDescriptionDefault
goalYes
tasksYes

Input Schema (JSON Schema)

{ "$defs": { "TaskInput": { "description": "用于初始化计划时,定义单个任务输入的Pydantic模型。\n这为Agent提供了一个清晰、可验证的数据结构。", "properties": { "dependencies": { "items": { "anyOf": [ { "type": "string" }, { "type": "integer" } ] }, "title": "Dependencies", "type": "array" }, "name": { "title": "Name", "type": "string" }, "reasoning": { "title": "Reasoning", "type": "string" } }, "required": [ "name", "dependencies", "reasoning" ], "title": "TaskInput", "type": "object" } }, "properties": { "goal": { "title": "Goal", "type": "string" }, "tasks": { "items": { "$ref": "#/$defs/TaskInput" }, "title": "Tasks", "type": "array" } }, "required": [ "goal", "tasks" ], "type": "object" }
Install Server

Other Tools from MCPlanManager

Related Tools

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/donway19/MCPlanManager'

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