Skip to main content
Glama
taylorleese

mcp-toolz

todo_save

Save a snapshot of todo items with their status and context to persist task progress across development sessions.

Instructions

Save a new todo snapshot

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
todosYesList of todo items
project_pathNoProject path (defaults to current directory)
contextNoDescription of what you're working on
session_context_idNoLink to existing context ID

Implementation Reference

  • Handler logic for todo_save tool: parses input arguments, creates TodoListSnapshot using models.Todo and models.TodoListSnapshot, saves it via storage, and returns confirmation.
    if name == "todo_save":
        from models import Todo, TodoListSnapshot
    
        todos_data = arguments["todos"]
        todos = [Todo(**todo) for todo in todos_data]
        project_path = arguments.get("project_path", os.getcwd())
        context = arguments.get("context")
        session_context_id = arguments.get("session_context_id")
    
        snapshot = TodoListSnapshot(
            project_path=project_path,
            todos=todos,
            context=context,
            session_context_id=session_context_id,
            is_active=True,
        )
    
        self.storage.save_todo_snapshot(snapshot)
        return [TextContent(type="text", text=f"✓ Todo snapshot saved (ID: {snapshot.id})")]
  • Input schema definition for the todo_save tool, specifying required 'todos' array and optional fields.
    Tool(
        name="todo_save",
        description="Save a new todo snapshot",
        inputSchema={
            "type": "object",
            "properties": {
                "todos": {
                    "type": "array",
                    "items": {
                        "type": "object",
                        "properties": {
                            "content": {"type": "string"},
                            "status": {"type": "string", "enum": ["pending", "in_progress", "completed"]},
                            "activeForm": {"type": "string"},
                        },
                        "required": ["content", "status", "activeForm"],
                    },
                    "description": "List of todo items",
                },
                "project_path": {
                    "type": "string",
                    "description": "Project path (defaults to current directory)",
                },
                "context": {
                    "type": "string",
                    "description": "Description of what you're working on",
                },
                "session_context_id": {
                    "type": "string",
                    "description": "Link to existing context ID",
                },
            },
            "required": ["todos"],
        },
    ),
  • Registers the list_tools method which includes the todo_save Tool definition.
    self.server.list_tools()(self.list_tools)  # type: ignore[no-untyped-call]
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states 'save' implies a write operation but doesn't clarify if this is destructive (e.g., overwrites existing data), requires specific permissions, or has side effects like creating new files. The term 'snapshot' hints at a persistent state capture, but this isn't elaborated, leaving gaps in understanding the tool's behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence ('Save a new todo snapshot') that directly conveys the core action without unnecessary words. It's appropriately sized and front-loaded, making it easy for an agent to parse quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of a write operation with 4 parameters, no annotations, and no output schema, the description is incomplete. It lacks details on what 'save' entails (e.g., file creation, database update), error conditions, or return values, which are critical for an agent to use this tool effectively in a todo management context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema fully documents all 4 parameters (todos, project_path, context, session_context_id). The description adds no parameter-specific information beyond the schema, such as explaining the 'snapshot' concept or how parameters interact. This meets the baseline of 3 since the schema handles the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Save a new todo snapshot' clearly states the action (save) and resource (todo snapshot), making the purpose understandable. However, it doesn't distinguish this tool from its sibling 'todo_save' tools like 'todo_list' or 'todo_get' beyond the basic verb, missing specific differentiation about what makes a 'snapshot' unique.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives like 'todo_save' siblings (e.g., 'todo_list', 'todo_delete') or context-related tools (e.g., 'context_save'). There's no mention of prerequisites, use cases, or exclusions, leaving the agent to infer usage from the name alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other 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/taylorleese/mcp-toolz'

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