Skip to main content
Glama
cheezcake

Aidderall MCP Server

by cheezcake

get_current_task

Retrieve your active task from Aidderall MCP Server, ensuring focus remains on current objectives. Automatically identifies or manually sets the task, returning a zen state message if no tasks are active.

Instructions

Get the task with CURRENT status (your active focus). May be manually set via switch_focus, or automatically determined. In zen state (no tasks OR all tasks completed), returns appropriate message.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that executes the tool logic, fetching current task details from TaskManager including zen state handling, focus path, siblings, and breadcrumb trail.
    async def handle_get_current_task(self) -> Dict[str, Any]: current = self.task_manager.current_task if self.task_manager.is_zen_state: if not current: return {"message": "No tasks (zen state)", "zen_state": True} else: return {"message": "All tasks completed (zen state)", "zen_state": True} if not current: return {"error": "No current task"} siblings_left = self.task_manager.get_siblings_to_left() breadcrumb = self.task_manager.get_breadcrumb_trail() response = { "task_id": current.id, "title": current.title, "body": current.body, "focus_path": self.task_manager.get_focus_path(), "stack_depth": self.task_manager.get_stack_depth(), "siblings_to_left": [{"id": s.id, "title": s.title} for s in siblings_left], "breadcrumb_trail": [{"id": t.id, "title": t.title} for t in breadcrumb], } # Add navigation options response["navigation_hint"] = ( "Use switch_focus to work on any task, or complete_current_task when done" ) return response
  • The Tool definition including input schema (empty object, no parameters) and description for the get_current_task tool.
    Tool( name="get_current_task", description="Get the task with CURRENT status (your active focus). May be manually set via switch_focus, or automatically determined. In zen state (no tasks OR all tasks completed), returns appropriate message.", inputSchema={"type": "object", "properties": {}}, ),
  • src/server.py:55-55 (registration)
    Registration of the get_current_task tool in the MCP server's handler_map, mapping the tool name to its handler function.
    "get_current_task": handlers.handle_get_current_task,
  • src/server.py:40-42 (registration)
    The list_tools handler that provides all tool definitions, including get_current_task via AidderallHandlers.get_tool_definitions().
    @server.list_tools() async def list_tools() -> list[Any]: return handlers.get_tool_definitions()

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/cheezcake/aidderall_mcp'

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