Skip to main content
Glama

TodoRead

Retrieve and manage your task list with clarity. Access current todos, their status, and maintain organized workflows within AI-assisted coding environments for efficient project tracking.

Instructions

Read the current task list.

Returns a list of todos with their current state.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The registered MCP tool handler for TodoRead. Wraps the core todo_read function with error handling.
    @mcp.tool async def TodoRead() -> dict[str, Any]: """ Read the current task list. Returns a list of todos with their current state. """ try: return await todo_read() except Exception as e: return { "error": { "code": "READ_ERROR", "message": f"Failed to read todos: {str(e)}", } }
  • Core handler logic for reading the todo list from the store and returning it as TodoReadResponse.
    async def todo_read() -> TodoReadResponse: """ Read the current task list. Returns: TodoReadResponse with list of todos """ # Read todos todos = await store.read_todos() # Return response return {"todos": todos}
  • Helper method in TodoStore that loads and returns the list of todos from persistence.
    async def read_todos(self) -> list[Todo]: """Read all todos from the store""" await self.initialize() store = await self.persistence.load() return store["todos"]

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/joehaddad2000/claude-todo-emulator'

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