Skip to main content
Glama

todo_list

Manage and track tasks efficiently by creating, updating, and monitoring progress with detailed item comments and persistent data storage.

Instructions

Lista todas as listas de tarefas

Input Schema

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

{ "properties": {}, "type": "object" }

Implementation Reference

  • The main execution logic for the 'todo_list' MCP tool. Fetches user's checklists via service and returns JSON summary of each list's title, description, total items, and completed count.
    case "todo_list": { console.error('DEBUG - Processing todo_list'); const allLists = await checklistService.getUserChecklists('current-user'); const listSummary = allLists.map(l => ({ title: l.title, description: l.description, totalItems: l.items.length, completedItems: l.items.filter(i => i.completed).length })); return { content: [{ type: "text", text: JSON.stringify(listSummary, null, 2) }] }; }
  • src/index.ts:126-133 (registration)
    Tool registration in ListTools handler, defining name, description, and input schema (empty object, no parameters).
    { name: "todo_list", description: "Lista todas as listas de tarefas", inputSchema: { type: "object", properties: {}, }, },
  • Supporting method in ChecklistService used by todo_list handler to retrieve all checklists belonging to or shared with the user.
    async getUserChecklists(userId: string): Promise<Checklist[]> { const keys = await this.storage.list('checklist:'); const checklists = await Promise.all( keys.map(key => this.storage.load(key)) ); return checklists.filter(checklist => checklist.owner === userId || checklist.shared?.includes(userId) ); }

Other Tools

Related 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/hevener10/mcp-todo-checklist'

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