Skip to main content
Glama
PhilippMT

Software Planning Tool

by PhilippMT

get_todos

Retrieve all tasks in the current software development plan to track progress and manage implementation.

Instructions

Get all todos in the current plan

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • MCP CallToolRequest handler case for 'get_todos': validates current goal exists, fetches todos from storage using the current goal ID, and returns them serialized as JSON in a text content response.
    case 'get_todos': { if (!this.currentGoal) { throw new McpError( ErrorCode.InvalidRequest, 'No active goal. Start a new planning session first.' ); } const todos = await storage.getTodos(this.currentGoal.id); return { content: [ { type: 'text', text: JSON.stringify(todos, null, 2), }, ], }; }
  • src/index.ts:183-190 (registration)
    Tool registration in ListToolsRequestSchema response: defines name 'get_todos', description, and empty input schema (no parameters required).
    { name: 'get_todos', description: 'Get all todos in the current plan', inputSchema: { type: 'object', properties: {}, }, },
  • TypeScript interface defining the structure of Todo objects returned by the get_todos tool.
    export interface Todo { id: string; title: string; description: string; complexity: number; codeExample?: string; isComplete: boolean; createdAt: string; updatedAt: string; }
  • Storage helper method getTodos that retrieves the list of todos from the implementation plan associated with the given goal ID.
    async getTodos(goalId: string): Promise<Todo[]> { const plan = await this.getPlan(goalId); return plan?.todos || []; }

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/PhilippMT/Software-planning-mcp'

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